mattisonchao commented on pull request #11062:
URL: https://github.com/apache/pulsar/pull/11062#issuecomment-867428926


   Firstly, This test validates leader election after the session is recovered.
   I think the leaderElectionEvenets check is unstable here.
   eg:
   1.When the node state is late to update => node state = Leading, 
leaderElectionEvents is empty.
   2.When a node has been elected as the leader => node sate = Leading, 
leaderElectionEvents = [noLeader,Leading/Following].
   3.Leader election may be triggered at any time. (It may be just after the 
election due to network delays).


-- 
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:
us...@infra.apache.org


Reply via email to