From 910341a3125bc514ab37b09b82c37358e1594cde Mon Sep 17 00:00:00 2001 From: Ryan Leung Date: Thu, 14 Sep 2023 13:42:29 +0800 Subject: [PATCH] tiny fix Signed-off-by: Ryan Leung --- pkg/schedulingpb/schedulingpb.pb.go | 136 ++++++++++++++-------------- proto/schedulingpb.proto | 4 +- scripts/proto.lock | 2 +- 3 files changed, 71 insertions(+), 71 deletions(-) diff --git a/pkg/schedulingpb/schedulingpb.pb.go b/pkg/schedulingpb/schedulingpb.pb.go index 0b0b04202..040234d54 100644 --- a/pkg/schedulingpb/schedulingpb.pb.go +++ b/pkg/schedulingpb/schedulingpb.pb.go @@ -440,7 +440,7 @@ type RegionHeartbeatRequest struct { QueryStats *pdpb.QueryStats `protobuf:"bytes,15,opt,name=query_stats,json=queryStats,proto3" json:"query_stats,omitempty"` // 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. - CpuUsage uint64 `protobuf:"varint,17,opt,name=cpu_usage,json=cpuUsage,proto3" json:"cpu_usage,omitempty"` + CpuUsage uint64 `protobuf:"varint,16,opt,name=cpu_usage,json=cpuUsage,proto3" json:"cpu_usage,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -743,71 +743,71 @@ func init() { proto.RegisterFile("schedulingpb.proto", fileDescriptor_b4bfd49510 var fileDescriptor_b4bfd49510230d67 = []byte{ // 1035 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x4f, 0x53, 0x23, 0x45, - 0x14, 0x27, 0x90, 0x84, 0xe4, 0xcd, 0x90, 0x0c, 0x2d, 0xb2, 0x53, 0xa0, 0xc8, 0x66, 0x71, 0x65, - 0xb5, 0x8c, 0x92, 0xdd, 0xb2, 0xbc, 0x78, 0x08, 0x90, 0xaa, 0x8d, 0x40, 0xc0, 0x4e, 0x80, 0xd2, - 0x2a, 0x6b, 0x6a, 0x98, 0x79, 0x26, 0x53, 0x24, 0x33, 0x43, 0x77, 0x87, 0x98, 0xf5, 0x8b, 0x78, - 0xf1, 0xee, 0x47, 0xf1, 0xa8, 0x37, 0x8f, 0x16, 0x7e, 0x03, 0x3f, 0x81, 0x35, 0xdd, 0x9d, 0x90, - 0xc9, 0x52, 0x6a, 0x95, 0x7b, 0xa2, 0xdf, 0xef, 0xf7, 0xeb, 0xf7, 0xf2, 0xfe, 0xf5, 0x00, 0x84, - 0x7b, 0x3d, 0xf4, 0x87, 0xfd, 0x20, 0xec, 0xc6, 0x57, 0xd5, 0x98, 0x45, 0x22, 0x22, 0xe6, 0x2c, - 0xb6, 0x01, 0xb1, 0x3f, 0x61, 0x36, 0xd6, 0xba, 0x51, 0x37, 0x92, 0xc7, 0x4f, 0x92, 0x93, 0x46, - 0xcb, 0x6c, 0xc8, 0x85, 0x3c, 0x6a, 0xc0, 0x1c, 0xa0, 0x70, 0x27, 0x97, 0x2a, 0x47, 0xb0, 0x42, - 0xf1, 0x66, 0x88, 0x5c, 0xbc, 0x44, 0xd7, 0x47, 0x46, 0xde, 0x05, 0xf0, 0xfa, 0x43, 0x2e, 0x90, - 0x39, 0x81, 0x6f, 0x67, 0xb6, 0x33, 0xbb, 0x59, 0x5a, 0xd4, 0x48, 0xd3, 0x27, 0x9b, 0x50, 0xe4, - 0x18, 0xfa, 0x8a, 0x5d, 0x94, 0x6c, 0x41, 0x01, 0x4d, 0xbf, 0xf2, 0x0d, 0x94, 0x28, 0xf2, 0x38, - 0x0a, 0x39, 0xfe, 0x37, 0x6f, 0xcf, 0x20, 0x87, 0x8c, 0x45, 0x4c, 0x7a, 0x32, 0x6a, 0x6f, 0x55, - 0x53, 0x09, 0x37, 0x12, 0x8a, 0x2a, 0x45, 0xa5, 0x05, 0x39, 0x69, 0x93, 0x8f, 0x20, 0x2b, 0xc6, - 0x31, 0x4a, 0x67, 0xa5, 0xda,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f9, 0xbe, 0x72, 0xbe, - 0x24, 0x75, 0xe6, 0x44, 0x77, 0x86, 0x89, 0x37, 0xc5, 0x91, 0x2a, 0x80, 0x1f, 0x8d, 0x42, 0x27, - 0x46, 0x64, 0xdc, 0xce, 0x6e, 0x2f, 0xed, 0x1a, 0xb5, 0xb2, 0xaa, 0x61, 0xa2, 0x53, 0x25, 0x2c, - 0x26, 0x92, 0xc4, 0xe4, 0x64, 0x0f, 0x56, 0x62, 0x0c, 0xfd, 0x20, 0xec, 0xea, 0x2b, 0x39, 0x79, - 0x25, 0xed, 0xdc, 0xd4, 0x12, 0x75, 0xe5, 0x09, 0xac, 0x5c, 0x8d, 0x05, 0x72, 0x67, 0xc4, 0x02, - 0x21, 0x30, 0xb4, 0xf3, 0x72, 0x56, 0x4c, 0x09, 0x5e, 0x2a, 0x2c, 0x59, 0x01, 0x25, 0x62, 0xe8, - 0xfa, 0xf6, 0xb2, 0x5a, 0x01, 0x89, 0x50, 0x74, 0x7d, 0xf2, 0x18, 0xcc, 0x6b, 0x1c, 0xdf, 0xbb, - 0x28, 0x48, 0x81, 0x91, 0x60, 0x13, 0x0f, 0x9b, 0x50, 0x94, 0x12, 0xe9, 0xa0, 0xa8, 0x76, 0x2e, - 0x01, 0xe4, 0xfd, 0x67, 0x60, 0xb9, 0x71, 0xcc, 0xa2, 0xef, 0x83, 0x81, 0x2b, 0xd0, 0xe1, 0xc1, - 0x2b, 0xb4, 0x41, 0x6a, 0xca, 0x33, 0x78, 0x3b, 0x78, 0x85, 0xa4, 0x0a, 0x85, 0x20, 0x14, 0xc8, - 0x6e, 0xdd, 0xbe, 0x6d, 0xca, 0xca, 0x11, 0x55, 0x8f, 0x4e, 0x30, 0xc0, 0xa6, 0x66, 0xe8, 0x54, - 0x33, 0xef, 0x3a, 0x09, 0x69, 0xaf, 0xbc, 0xe6, 0xfa, 0x08, 0xc7, 0x3c, 0x59, 0x1f, 0x81, 0x6c, - 0x60, 0x97, 0x24, 0x2d, 0xcf, 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, 0x61, 0xb1, 0x88, 0x49, 0x69, + 0x16, 0x5b, 0x87, 0x24, 0x98, 0x30, 0xeb, 0xab, 0xbd, 0xb8, 0x17, 0xab, 0xe3, 0x47, 0xf2, 0x64, + 0xd0, 0x0a, 0x1b, 0x71, 0xa1, 0x8e, 0x06, 0x28, 0x0d, 0x51, 0x78, 0x93, 0x4b, 0xd5, 0x43, 0x58, + 0xa1, 0x78, 0x3d, 0x42, 0x2e, 0x5e, 0xa1, 0x17, 0x20, 0x23, 0x6f, 0x03, 0xf8, 0x83, 0x11, 0x17, + 0xc8, 0xdc, 0x30, 0x70, 0x32, 0x5b, 0x99, 0x9d, 0x2c, 0x2d, 0x1a, 0xa4, 0x15, 0x90, 0x0d, 0x28, + 0x72, 0x8c, 0x02, 0xcd, 0x2e, 0x2a, 0xb6, 0xa0, 0x81, 0x56, 0x50, 0xfd, 0x0a, 0xca, 0x14, 0x79, + 0x12, 0x47, 0x1c, 0xff, 0x99, 0xb7, 0xe7, 0x90, 0x43, 0xc6, 0x62, 0xa6, 0x3c, 0x59, 0xf5, 0xff, + 0xd5, 0x52, 0x09, 0x37, 0x25, 0x45, 0xb5, 0xa2, 0xda, 0x86, 0x9c, 0xb2, 0xc9, 0x07, 0x90, 0x15, + 0xe3, 0x04, 0x95, 0xb3, 0x72, 0xfd, 0xf1, 0x03, 0x57, 0xba, 0xe3, 0x04, 0xa9, 0x12, 0x11, 0x07, + 0x96, 0x87, 0xc8, 0xb9, 0xd7, 0x43, 0x15, 0xa2, 0x48, 0x27, 0x66, 0x95, 0x82, 0x75, 0xea, 0x31, + 0x11, 0xfa, 0x61, 0xe2, 0x45, 0x82, 0x10, 0xc8, 0x46, 0xde, 0x50, 0x7b, 0x2d, 0x52, 0x75, 0x26, + 0x65, 0x58, 0x9c, 0x26, 0xb9, 0x18, 0x06, 0xe4, 0x1d, 0xb0, 0x06, 0x21, 0x17, 0x18, 0xb9, 0x23, + 0x36, 0xe0, 0xce, 0xd2, 0xd6, 0xd2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02, 0xb9, 0x7b, 0xcb, + 0x42, 0x21, 0x30, 0x72, 0xf2, 0x6a, 0x56, 0x4a, 0x0a, 0xbc, 0xd0, 0x98, 0x5c, 0x01, 0x2d, 0x62, + 0xe8, 0x05, 0xce, 0xb2, 0x5e, 0x01, 0x85, 0x50, 0xf4, 0x02, 0xf2, 0x04, 0x4a, 0x57, 0x38, 0xbe, + 0x77, 0x51, 0x50, 0x02, 0x4b, 0x62, 0x13, 0x0f, 0x1b, 0x50, 0x54, 0x12, 0xe5, 0xa0, 0xa8, 0x77, + 0x4e, 0x02, 0xea, 0xfe, 0x73, 0xb0, 0xbd, 0x24, 0x61, 0xf1, 0xb7, 0xe1, 0xd0, 0x13, 0xe8, 0xf2, + 0xf0, 0x35, 0x3a, 0xa0, 0x34, 0x95, 0x19, 0xbc, 0x13, 0xbe, 0x46, 0x52, 0x83, 0x42, 0x18, 0x09, + 0x64, 0x37, 0xde, 0xc0, 0x29, 0xa9, 0xca, 0x11, 0x5d, 0x8f, 0x6e, 0x38, 0xc4, 0x96, 0x61, 0xe8, + 0x54, 0x33, 0xef, 0x5a, 0x86, 0x74, 0x56, 0xde, 0x70, 0x7d, 0x88, 0x63, 0x2e, 0xd7, 0x47, 0x20, + 0x1b, 0x3a, 0x65, 0x45, 0xab, 0x33, 0xd9, 0x05, 0xeb, 0x7a, 0x84, 0x6c, 0xec, 0xea, 0x29, 0xae, + 0xcc, 0x4e, 0xf1, 0x17, 0x92, 0xd0, 0x2d, 0x80, 0xeb, 0xe9, 0x59, 0x66, 0xea, 0x27, 0x23, 0x77, + 0xa4, 0x16, 0xd6, 0xd6, 0x99, 0xfa, 0xc9, 0xe8, 0x4c, 0xda, 0x9f, 0x67, 0x0b, 0x96, 0x5d, 0xaa, + 0xfe, 0x90, 0x85, 0xc7, 0x6f, 0x0c, 0xdd, 0xbf, 0x9a, 0xf7, 0x5d, 0xb0, 0xfc, 0xbe, 0x17, 0xf5, + 0x50, 0xf5, 0x3d, 0xbd, 0x6d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0xff, 0xff, 0xbe, 0x2b, 0xd5, 0xd8, 0xb5, 0x08, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1253,7 +1253,7 @@ func (m *RegionHeartbeatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) i-- dAtA[i] = 0x1 i-- - dAtA[i] = 0x88 + dAtA[i] = 0x80 } if m.QueryStats != nil { { @@ -2861,7 +2861,7 @@ func (m *RegionHeartbeatRequest) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 17: + case 16: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field CpuUsage", wireType) } diff --git a/proto/schedulingpb.proto b/proto/schedulingpb.proto index d22343db0..076dfd373 100644 --- a/proto/schedulingpb.proto +++ b/proto/schedulingpb.proto @@ -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; } @@ -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; } diff --git a/scripts/proto.lock b/scripts/proto.lock index a5eafbdf7..3aea96dcf 100644 --- a/scripts/proto.lock +++ b/scripts/proto.lock @@ -18971,7 +18971,7 @@ "type": "pdpb.QueryStats" }, { - "id": 17, + "id": 16, "name": "cpu_usage", "type": "uint64" }