Skip to content

Conversation

@XiaoyiPeng
Copy link
Contributor

@XiaoyiPeng XiaoyiPeng commented Feb 23, 2022

For issue #111

  • In method DLedgerServer#checkPreferredLeader(), The first peer in the list preferredLeaderIds that meets the condition is determined to be the leader transferee
  • I think, the peer with the smallest lag(fall behind index) be the transferee, which may be better.

@RongtongJin
Copy link
Contributor

LGTM~ @Git-Yang Could you help to review this pr?

@Git-Yang
Copy link
Contributor

LGTM~ @Git-Yang Could you help to review this pr?

👌

@RongtongJin RongtongJin merged commit 5c24c84 into openmessaging:master Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants