Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3449

TBaseAsyncProcessor fb.responseReady() never called for oneway functions

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.3
    • 0.10.0
    • Java - Library
    • java libthrift-0.9.3

    • Patch Available

    Description

      For regular service functions, fb.responseReady() is called from generated AsyncProcessFunction's sendResponse(...). Precisely in its result handler's AsyncMethodCallback onComplete or onError implementations. Because oneway methods have void result handler's onComplete and onError implementations, responseReady is not called and frame buffer never goes back to reading state.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            nsuke Nobuaki Sukegawa
            jan.sileny@gmail.com Jan Sileny
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment