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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org
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)