You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexander Lapin (JIRA)" <ji...@apache.org> on 2019/01/11 11:35:00 UTC

[jira] [Created] (IGNITE-10893) ClientListenerResponse.status uses codes both from IgniteQueryErrorCode and ClientListenerResponse itself.

Alexander Lapin created IGNITE-10893:
----------------------------------------

             Summary: 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
             Fix For: 2.8


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
(v7.6.3#76005)