NealSun96 opened a new issue #801: Fix ZkDistributedLeaderElection that causes 
follower NullPointerException
URL: https://github.com/apache/helix/issues/801
 
 
   With the current `ZkDistributedLeaderElection` code, if it is created for a 
follower, `_currentLeaderInfo` will not be correctly initialized. Calling 
`getCurrentLeaderInfo()` returns `null` as a result and all operations that 
depend on leader info will raise `NullPointerException`s. Initialize the field 
properly fixes the issue. 

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to