devinbost commented on issue #6151: Producers stopped producing, intermittent 
500's from Admin CLI and Zookeeper exceptions in broker logs
URL: https://github.com/apache/pulsar/issues/6151#issuecomment-579083776
 
 
   What would cause a broker to end up with a znode that's owned by a different 
Zookeeper session?
   
   Is it something like this?
   
   > Added in 3.2.0 -- SessionMovedException. There is an internal exception 
that is generally not seen by clients called the SessionMovedException. This 
exception occurs because a request was received on a connection for a session 
which has be reestablished on a different server. The normal cause of this 
error is a client that sends a request to a server, but the network packet gets 
delayed, so the client times out and connects to a new server. When the delayed 
packet arrives at the first server, the old server detects that the session has 
moved, and closes the client connection. Clients normally do not see this error 
since they do not read from those old connections. (Old connections are usually 
closed.) One situation in which this condition can be seen is when two clients 
try to reestablish the same connection using a saved session id and password. 
One of the clients will reestablish the connection and the second client will 
be disconnected (causing the pair to attempt to re-establish it's 
connection/session indefinitely).
   
   
(https://zookeeper.apache.org/doc/r3.3.5/zookeeperProgrammers.html#ch_zkSessions)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to