-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: migrate region failover implementation to region migration (#…
…4172) * refactor: migrate region failover implementation to region migration * fix: use HEARTBEAT_INTERVAL_MILLIS as lease secs * fix: return false if leader is downgraded * fix: only remove failure detector after submitting procedure successfully * feat: ignore dropped region * refactor: retrieve table routes in batches * refactor: disable region failover on local WAL implementation * fix: move the guard into procedure * feat: use real peer addr * feat: use interval instead of sleep * chore: rename `HeartbeatSender` to `HeartbeatAcceptor` * chore: apply suggestions from CR * chore: reduce duplicate code * chore: apply suggestions from CR * feat: lookup peer addr * chore: add comments * chore: apply suggestions from CR * chore: apply suggestions from CR
- Loading branch information
Showing
19 changed files
with
963 additions
and
628 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.