You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/11/05 05:49:08 UTC

[jira] [Commented] (THRIFT-2664) Python tornado generated oneway client functions crash on server error

    [ https://issues.apache.org/jira/browse/THRIFT-2664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14197557#comment-14197557 ] 

Hudson commented on THRIFT-2664:
--------------------------------

SUCCESS: Integrated in Thrift #1331 (See [https://builds.apache.org/job/Thrift/1331/])
THRIFT-2664: py - fixed errors on calling oneway functions (hcorg: rev 485d71acd10b543890ea3114fda5be8cb88a2f0e)
* compiler/cpp/src/generate/t_py_generator.cc


> Python tornado generated oneway client functions crash on server error
> ----------------------------------------------------------------------
>
>                 Key: THRIFT-2664
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2664
>             Project: Thrift
>          Issue Type: Bug
>          Components: Python - Compiler
>    Affects Versions: 0.9.1
>            Reporter: Dustin Spicuzza
>            Assignee: Dustin Spicuzza
>             Fix For: 0.9.2
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)