You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maxim Muzafarov (Jira)" <ji...@apache.org> on 2019/10/02 15:47:02 UTC
[jira] [Updated] (IGNITE-10893) ClientListenerResponse.status uses
codes both from IgniteQueryErrorCode and ClientListenerResponse itself.
[ https://issues.apache.org/jira/browse/IGNITE-10893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maxim Muzafarov updated IGNITE-10893:
-------------------------------------
Fix Version/s: (was: 2.8)
> ClientListenerResponse.status uses codes both from IgniteQueryErrorCode and ClientListenerResponse itself.
> -----------------------------------------------------------------------------------------------------------
>
> Key: IGNITE-10893
> URL: https://issues.apache.org/jira/browse/IGNITE-10893
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Reporter: Alexander Lapin
> Priority: Minor
>
> ClientListenerResponse.status might be set as one of IgniteQueryErrorCode constants. Besides that, ClientListenerResponse has few codes as constants itself. These codes may intersect, in particular, ClientListenerResponse.STATUS_FAILED == IgniteQueryErrorCode.UNKNOWN. Seems that it works fine at the moment, however it looks unsafe.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)