Ben Bangert created ZOOKEEPER-1543:
--------------------------------------

             Summary: Bad sessionId/password combo should return auth failure
                 Key: ZOOKEEPER-1543
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1543
             Project: ZooKeeper
          Issue Type: Improvement
          Components: server
    Affects Versions: 3.3.6, 3.4.3, 3.5.0
         Environment: All
            Reporter: Ben Bangert


When connecting to a server with a valid session id, but invalid password, 
Zookeeper disconnects with a SESSION_EXPIRED error. This is blatantly false, 
its actually the wrong password. Returning a SESSION_EXPIRED in this case is 
also not documented anywhere.

This makes debugging this issue an absolute nightmare, since the server has 
already lead you down the wrong track (trying to figure out why the session is 
expired, but it isn't).

There's already an AUTH_FAILURE error, why not return that?

--
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

Reply via email to