kaijchen commented on PR #808: URL: https://github.com/apache/ratis/pull/808#issuecomment-1429844030
> * The new `election transferLeader` command, since it won't change priorities, actually is yielding the leadership. How about we call it `election yield`? I'm OK to call it `election yield`, but since raft paper call it transfer leadership, users may get confused. > * The existing `election transfer` command is still useful since it can transfer the leader to a lower priority peer. How about we don't deprecate it? The existing `election transfer` is equal to `peer setPriority` plus `election transferLeader`. User can still achieve the same functionality, and the priority will be set by user explicitly (so the user knows exactly what is going on). Based on these reasons, I chose to deprecate the old command. How do you think? -- 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]
