feat: rename replay_timeout_secs to timeout_secs (#191)

* feat: add `flush_timeout_secs` to `MigrateRegionRequest`

* chore: use `timeout_secs`

* feat: introduce `DowngradingLeader`
This commit is contained in:
Weny Xu
2024-10-17 13:13:26 +08:00
committed by GitHub
parent 796ce9b003
commit b4d301184e
10 changed files with 191 additions and 156 deletions
+4
View File
@@ -54,6 +54,10 @@ enum RegionRole {
Leader = 0;
// Readonly region.
Follower = 1;
// A downgrading region, which is in the process of downgrading from Leader to Follower.
//
// This role is used to prevent the region from being written during the downgrade process.
DowngradingLeader = 2;
}
message NodeInfo {