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

Python tornado generated oneway client functions crash on server error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.1
    • Fix Version/s: 0.9.2
    • Component/s: Python - Compiler
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      When an exception is thrown on the java server during oneway function processing, it appears to send a message back to the client. The java client disregards the incoming recv_ call from the server. The tornado bindings should do the same thing.

      Without this patch, the incoming response from the server hits the getattr() and it crashes because the function does not exist. With this patch, it gets discarded correctly, as there isn't a future registered by oneway functions.

        Attachments

          Activity

            People

            • Assignee:
              virtuald Dustin Spicuzza
              Reporter:
              virtuald Dustin Spicuzza
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: