Skip to content

It is better for the peer with the smallest lag(fall behind index) to become the transferee. #111

Closed
@XiaoyiPeng

Description

Hi, @RongtongJin

In method DLedgerServer#checkPreferredLeader(), The first peer in the list preferredLeaderIds that meets the condition is determined to be the leader transferee, as show below:
image

I think, the peer with the smallest lag(fall behind index) be the transferee, which may be better.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions