You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2013/06/15 03:07:21 UTC
[jira] [Resolved] (THRIFT-2030) Thrift allows for inconsistent use
of "oneway"
[ https://issues.apache.org/jira/browse/THRIFT-2030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer resolved THRIFT-2030.
--------------------------------
Resolution: Fixed
Assignee: Jens Geyer
Committed
> Thrift allows for inconsistent use of "oneway"
> ----------------------------------------------
>
> Key: THRIFT-2030
> URL: https://issues.apache.org/jira/browse/THRIFT-2030
> Project: Thrift
> Issue Type: Bug
> Reporter: Jens Geyer
> Assignee: Jens Geyer
> Labels: oneway
> Attachments: THRIFT-2030-inconsistent-use-of-oneway.patch
>
>
> From my understanding, a oneway is intended to return no value at all, allowing for optimizations like async execution within the service, etc. But both IDL Syntax and the Thrift Compiler allow for oneway functions having a return type other than void, which in my opinion is inconsistent.
> At the very least a warning would be appropriate here.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira