Skip to content

Commit

Permalink
add flag to pause region split (#899)
Browse files Browse the repository at this point in the history
Signed-off-by: disksing <i@disksing.com>
  • Loading branch information
disksing committed Apr 29, 2022
1 parent e33ae92 commit 2839fa5
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 32 deletions.
108 changes: 76 additions & 32 deletions pkg/replication_modepb/replication_modepb.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions proto/replication_modepb.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ message DRAutoSync {
int32 wait_sync_timeout_hint = 4;
// Stores should only sync messages with available stores when state is ASYNC or ASYNC_WAIT.
repeated uint64 available_stores = 5;
// Stores should forbid region split.
bool pause_region_split = 6;
}

enum RegionReplicationState {
Expand Down

0 comments on commit 2839fa5

Please sign in to comment.