Skip to content

Commit

Permalink
tiny fix
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <[email protected]>
  • Loading branch information
rleungx committed Sep 14, 2023
1 parent ab96d0c commit 910341a
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 71 deletions.
136 changes: 68 additions & 68 deletions pkg/schedulingpb/schedulingpb.pb.go

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

4 changes: 2 additions & 2 deletions proto/schedulingpb.proto
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ message RegionHeartbeatRequest {
pdpb.QueryStats query_stats = 15;
// cpu_usage is the CPU time usage of the leader region since the last heartbeat,
// which is calculated by cpu_time_delta/heartbeat_reported_interval.
uint64 cpu_usage = 17;
uint64 cpu_usage = 16;
}


Expand Down Expand Up @@ -135,6 +135,6 @@ message RegionHeartbeatResponse {
// Now, PD use ChangePeerV2 in following scenarios:
// 1. replacing peers
// 2. demoting voter directly
pdpb. ChangePeerV2 change_peer_v2 = 9;
pdpb.ChangePeerV2 change_peer_v2 = 9;
pdpb.BatchSwitchWitness switch_witnesses = 10;
}
2 changes: 1 addition & 1 deletion scripts/proto.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18971,7 +18971,7 @@
"type": "pdpb.QueryStats"
},
{
"id": 17,
"id": 16,
"name": "cpu_usage",
"type": "uint64"
}
Expand Down

0 comments on commit 910341a

Please sign in to comment.