SzyWilliam opened a new pull request, #11785:
URL: https://github.com/apache/iotdb/pull/11785

   After https://github.com/apache/ratis/pull/807 is introduced, now we can 
transfer leadership between nodes with same priorities. 
   In this PR, I refactored the transferLeader implementation, remove the step 
where we first need to change the priority.
   It brings a new benefit: since the priority is not changed, the original 
leader will not step down. If the transfership fails, the original leader can 
still be the leader and not affect the normal operations.


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