Watches get triggered during client's reconnection
--------------------------------------------------
Key: ZOOKEEPER-791
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-791
Project: Zookeeper
Issue Type: Bug
Reporter: Sergey Doroshenko
Priority: Minor
Attachments: incorrectly_triggered_watches.log
I start 2 of 3 servers of an ensemble, connect to it with zkCli.sh, do "ls / 1"
which registers a watch.
Then I kill one of 2 servers which makes alive one to lose a quorum and forces
client to reconnect.
And when the client connects to this alive server (but gets quickly dropped by
the server afterwards), watch is triggered:
WatchedEvent state:SyncConnected type:NodeChildrenChanged path:/
I can reproduce it only with command-line client, and quite rarely. I tried to
write unit test, but id didn't catch this.
Has anybody seen this before?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.