feat: add staging leader (#313)

Signed-off-by: WenyXu <wenymedia@gmail.com>
This commit is contained in:
Weny Xu
2026-04-13 16:10:25 +08:00
committed by GitHub
parent 32d60146e5
commit 26a50f4069
7 changed files with 79 additions and 47 deletions
+2
View File
@@ -84,6 +84,8 @@ enum RegionRole {
// This role is used to prevent the region from being written during the
// downgrade process.
DowngradingLeader = 2;
// A leader under staging mode.
StagingLeader = 3;
}
message NodeInfo {