Xushaohong commented on pull request #560:
URL: https://github.com/apache/ratis/pull/560#issuecomment-989665984


   @szetszwo Actually, I am not sure whether we should make a specific check 
for each getPriority() use. Right now, I just prevent the NPE from the source. 
Currently, conf.getPeer().getPriority() only exists in leader election and 
leader state.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to