Skip to content

Commit

Permalink
[4.0] Add leader field for region syncer (#639) (#643)
Browse files Browse the repository at this point in the history
Signed-off-by: JmPotato <[email protected]>
JmPotato authored Aug 13, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent b37d46e commit 87df1b9
Showing 2 changed files with 316 additions and 257 deletions.
572 changes: 315 additions & 257 deletions pkg/pdpb/pdpb.pb.go

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions proto/pdpb.proto
Original file line number Diff line number Diff line change
@@ -542,6 +542,7 @@ message SyncRegionResponse{
repeated metapb.Region regions = 2;
uint64 start_index = 3;
repeated RegionStat region_stats = 4;
repeated metapb.Peer region_leaders = 5;
}

message GetOperatorRequest {

0 comments on commit 87df1b9

Please sign in to comment.