diff --git a/pkg/pdpb/pdpb.pb.go b/pkg/pdpb/pdpb.pb.go index fac1cee37..7e7b884e5 100644 --- a/pkg/pdpb/pdpb.pb.go +++ b/pkg/pdpb/pdpb.pb.go @@ -5579,16 +5579,68 @@ func (m *GetGCSafePointResponse) GetSafePoint() uint64 { return 0 } +// A wrapper over keyspace_id. +// When a field is not specified in proto3, its value will be regarded as 0; however, keyspace_id = 0 is regarded as a valid keyspace (which +// is the "DEFAULT" keyspace). To distinguish unspecified keyspace (NullKeyspace, 0xffffffff) and the default keyspace in some APIs as well +// as preventing potential misuse, we wrap the keyspace_id into a message type which is nullable. +type KeyspaceScope struct { + KeyspaceId uint32 `protobuf:"varint,1,opt,name=keyspace_id,json=keyspaceId,proto3" json:"keyspace_id,omitempty"` +} + +func (m *KeyspaceScope) Reset() { *m = KeyspaceScope{} } +func (m *KeyspaceScope) String() string { return proto.CompactTextString(m) } +func (*KeyspaceScope) ProtoMessage() {} +func (*KeyspaceScope) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{83} +} +func (m *KeyspaceScope) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *KeyspaceScope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_KeyspaceScope.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *KeyspaceScope) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyspaceScope.Merge(m, src) +} +func (m *KeyspaceScope) XXX_Size() int { + return m.Size() +} +func (m *KeyspaceScope) XXX_DiscardUnknown() { + xxx_messageInfo_KeyspaceScope.DiscardUnknown(m) +} + +var xxx_messageInfo_KeyspaceScope proto.InternalMessageInfo + +func (m *KeyspaceScope) GetKeyspaceId() uint32 { + if m != nil { + return m.KeyspaceId + } + return 0 +} + type UpdateGCSafePointRequest struct { - Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - SafePoint uint64 `protobuf:"varint,2,opt,name=safe_point,json=safePoint,proto3" json:"safe_point,omitempty"` + Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + Target uint64 `protobuf:"varint,2,opt,name=target,proto3" json:"target,omitempty"` + // The UpdateGCSafePoint API will be in the set of both legacy API and new API, but its behavior will be the same so we don't need to + // avoid the collision on the method name. When it's used as a member of the new API set, the keyspace_id field can be used to specify + // a keyspace. + KeyspaceScope *KeyspaceScope `protobuf:"bytes,3,opt,name=keyspace_scope,json=keyspaceScope,proto3" json:"keyspace_scope,omitempty"` } func (m *UpdateGCSafePointRequest) Reset() { *m = UpdateGCSafePointRequest{} } func (m *UpdateGCSafePointRequest) String() string { return proto.CompactTextString(m) } func (*UpdateGCSafePointRequest) ProtoMessage() {} func (*UpdateGCSafePointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{83} + return fileDescriptor_78b27e6f04f44c6e, []int{84} } func (m *UpdateGCSafePointRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5624,23 +5676,30 @@ func (m *UpdateGCSafePointRequest) GetHeader() *RequestHeader { return nil } -func (m *UpdateGCSafePointRequest) GetSafePoint() uint64 { +func (m *UpdateGCSafePointRequest) GetTarget() uint64 { if m != nil { - return m.SafePoint + return m.Target } return 0 } +func (m *UpdateGCSafePointRequest) GetKeyspaceScope() *KeyspaceScope { + if m != nil { + return m.KeyspaceScope + } + return nil +} + type UpdateGCSafePointResponse struct { - Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - NewSafePoint uint64 `protobuf:"varint,2,opt,name=new_safe_point,json=newSafePoint,proto3" json:"new_safe_point,omitempty"` + Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + NewGcSafePoint uint64 `protobuf:"varint,2,opt,name=new_gc_safe_point,json=newGcSafePoint,proto3" json:"new_gc_safe_point,omitempty"` } func (m *UpdateGCSafePointResponse) Reset() { *m = UpdateGCSafePointResponse{} } func (m *UpdateGCSafePointResponse) String() string { return proto.CompactTextString(m) } func (*UpdateGCSafePointResponse) ProtoMessage() {} func (*UpdateGCSafePointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{84} + return fileDescriptor_78b27e6f04f44c6e, []int{85} } func (m *UpdateGCSafePointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5676,9 +5735,9 @@ func (m *UpdateGCSafePointResponse) GetHeader() *ResponseHeader { return nil } -func (m *UpdateGCSafePointResponse) GetNewSafePoint() uint64 { +func (m *UpdateGCSafePointResponse) GetNewGcSafePoint() uint64 { if m != nil { - return m.NewSafePoint + return m.NewGcSafePoint } return 0 } @@ -5694,7 +5753,7 @@ func (m *UpdateServiceGCSafePointRequest) Reset() { *m = UpdateServiceGC func (m *UpdateServiceGCSafePointRequest) String() string { return proto.CompactTextString(m) } func (*UpdateServiceGCSafePointRequest) ProtoMessage() {} func (*UpdateServiceGCSafePointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{85} + return fileDescriptor_78b27e6f04f44c6e, []int{86} } func (m *UpdateServiceGCSafePointRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5762,7 +5821,7 @@ func (m *UpdateServiceGCSafePointResponse) Reset() { *m = UpdateServiceG func (m *UpdateServiceGCSafePointResponse) String() string { return proto.CompactTextString(m) } func (*UpdateServiceGCSafePointResponse) ProtoMessage() {} func (*UpdateServiceGCSafePointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{86} + return fileDescriptor_78b27e6f04f44c6e, []int{87} } func (m *UpdateServiceGCSafePointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5828,7 +5887,7 @@ func (m *GetGCSafePointV2Request) Reset() { *m = GetGCSafePointV2Request func (m *GetGCSafePointV2Request) String() string { return proto.CompactTextString(m) } func (*GetGCSafePointV2Request) ProtoMessage() {} func (*GetGCSafePointV2Request) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{87} + return fileDescriptor_78b27e6f04f44c6e, []int{88} } func (m *GetGCSafePointV2Request) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5880,7 +5939,7 @@ func (m *GetGCSafePointV2Response) Reset() { *m = GetGCSafePointV2Respon func (m *GetGCSafePointV2Response) String() string { return proto.CompactTextString(m) } func (*GetGCSafePointV2Response) ProtoMessage() {} func (*GetGCSafePointV2Response) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{88} + return fileDescriptor_78b27e6f04f44c6e, []int{89} } func (m *GetGCSafePointV2Response) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5932,7 +5991,7 @@ func (m *WatchGCSafePointV2Request) Reset() { *m = WatchGCSafePointV2Req func (m *WatchGCSafePointV2Request) String() string { return proto.CompactTextString(m) } func (*WatchGCSafePointV2Request) ProtoMessage() {} func (*WatchGCSafePointV2Request) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{89} + return fileDescriptor_78b27e6f04f44c6e, []int{90} } func (m *WatchGCSafePointV2Request) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5986,7 +6045,7 @@ func (m *SafePointEvent) Reset() { *m = SafePointEvent{} } func (m *SafePointEvent) String() string { return proto.CompactTextString(m) } func (*SafePointEvent) ProtoMessage() {} func (*SafePointEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{90} + return fileDescriptor_78b27e6f04f44c6e, []int{91} } func (m *SafePointEvent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6046,7 +6105,7 @@ func (m *WatchGCSafePointV2Response) Reset() { *m = WatchGCSafePointV2Re func (m *WatchGCSafePointV2Response) String() string { return proto.CompactTextString(m) } func (*WatchGCSafePointV2Response) ProtoMessage() {} func (*WatchGCSafePointV2Response) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{91} + return fileDescriptor_78b27e6f04f44c6e, []int{92} } func (m *WatchGCSafePointV2Response) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6106,7 +6165,7 @@ func (m *UpdateGCSafePointV2Request) Reset() { *m = UpdateGCSafePointV2R func (m *UpdateGCSafePointV2Request) String() string { return proto.CompactTextString(m) } func (*UpdateGCSafePointV2Request) ProtoMessage() {} func (*UpdateGCSafePointV2Request) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{92} + return fileDescriptor_78b27e6f04f44c6e, []int{93} } func (m *UpdateGCSafePointV2Request) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6165,7 +6224,7 @@ func (m *UpdateGCSafePointV2Response) Reset() { *m = UpdateGCSafePointV2 func (m *UpdateGCSafePointV2Response) String() string { return proto.CompactTextString(m) } func (*UpdateGCSafePointV2Response) ProtoMessage() {} func (*UpdateGCSafePointV2Response) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{93} + return fileDescriptor_78b27e6f04f44c6e, []int{94} } func (m *UpdateGCSafePointV2Response) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6225,7 +6284,7 @@ func (m *UpdateServiceSafePointV2Request) Reset() { *m = UpdateServiceSa func (m *UpdateServiceSafePointV2Request) String() string { return proto.CompactTextString(m) } func (*UpdateServiceSafePointV2Request) ProtoMessage() {} func (*UpdateServiceSafePointV2Request) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{94} + return fileDescriptor_78b27e6f04f44c6e, []int{95} } func (m *UpdateServiceSafePointV2Request) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6300,7 +6359,7 @@ func (m *UpdateServiceSafePointV2Response) Reset() { *m = UpdateServiceS func (m *UpdateServiceSafePointV2Response) String() string { return proto.CompactTextString(m) } func (*UpdateServiceSafePointV2Response) ProtoMessage() {} func (*UpdateServiceSafePointV2Response) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{95} + return fileDescriptor_78b27e6f04f44c6e, []int{96} } func (m *UpdateServiceSafePointV2Response) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6365,7 +6424,7 @@ func (m *GetAllGCSafePointV2Request) Reset() { *m = GetAllGCSafePointV2R func (m *GetAllGCSafePointV2Request) String() string { return proto.CompactTextString(m) } func (*GetAllGCSafePointV2Request) ProtoMessage() {} func (*GetAllGCSafePointV2Request) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{96} + return fileDescriptor_78b27e6f04f44c6e, []int{97} } func (m *GetAllGCSafePointV2Request) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6410,7 +6469,7 @@ func (m *GCSafePointV2) Reset() { *m = GCSafePointV2{} } func (m *GCSafePointV2) String() string { return proto.CompactTextString(m) } func (*GCSafePointV2) ProtoMessage() {} func (*GCSafePointV2) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{97} + return fileDescriptor_78b27e6f04f44c6e, []int{98} } func (m *GCSafePointV2) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6463,7 +6522,7 @@ func (m *GetAllGCSafePointV2Response) Reset() { *m = GetAllGCSafePointV2 func (m *GetAllGCSafePointV2Response) String() string { return proto.CompactTextString(m) } func (*GetAllGCSafePointV2Response) ProtoMessage() {} func (*GetAllGCSafePointV2Response) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{98} + return fileDescriptor_78b27e6f04f44c6e, []int{99} } func (m *GetAllGCSafePointV2Response) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6513,27 +6572,24 @@ func (m *GetAllGCSafePointV2Response) GetRevision() int64 { return 0 } -type RegionStat struct { - // Bytes read/written during this period. - BytesWritten uint64 `protobuf:"varint,1,opt,name=bytes_written,json=bytesWritten,proto3" json:"bytes_written,omitempty"` - BytesRead uint64 `protobuf:"varint,2,opt,name=bytes_read,json=bytesRead,proto3" json:"bytes_read,omitempty"` - // Keys read/written during this period. - KeysWritten uint64 `protobuf:"varint,3,opt,name=keys_written,json=keysWritten,proto3" json:"keys_written,omitempty"` - KeysRead uint64 `protobuf:"varint,4,opt,name=keys_read,json=keysRead,proto3" json:"keys_read,omitempty"` +type UpdateTxnSafePointRequest struct { + Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + KeyspaceScope *KeyspaceScope `protobuf:"bytes,2,opt,name=keyspace_scope,json=keyspaceScope,proto3" json:"keyspace_scope,omitempty"` + Target uint64 `protobuf:"varint,3,opt,name=target,proto3" json:"target,omitempty"` } -func (m *RegionStat) Reset() { *m = RegionStat{} } -func (m *RegionStat) String() string { return proto.CompactTextString(m) } -func (*RegionStat) ProtoMessage() {} -func (*RegionStat) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{99} +func (m *UpdateTxnSafePointRequest) Reset() { *m = UpdateTxnSafePointRequest{} } +func (m *UpdateTxnSafePointRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateTxnSafePointRequest) ProtoMessage() {} +func (*UpdateTxnSafePointRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{100} } -func (m *RegionStat) XXX_Unmarshal(b []byte) error { +func (m *UpdateTxnSafePointRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *RegionStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *UpdateTxnSafePointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_RegionStat.Marshal(b, m, deterministic) + return xxx_messageInfo_UpdateTxnSafePointRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6543,66 +6599,56 @@ func (m *RegionStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *RegionStat) XXX_Merge(src proto.Message) { - xxx_messageInfo_RegionStat.Merge(m, src) +func (m *UpdateTxnSafePointRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateTxnSafePointRequest.Merge(m, src) } -func (m *RegionStat) XXX_Size() int { +func (m *UpdateTxnSafePointRequest) XXX_Size() int { return m.Size() } -func (m *RegionStat) XXX_DiscardUnknown() { - xxx_messageInfo_RegionStat.DiscardUnknown(m) +func (m *UpdateTxnSafePointRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateTxnSafePointRequest.DiscardUnknown(m) } -var xxx_messageInfo_RegionStat proto.InternalMessageInfo - -func (m *RegionStat) GetBytesWritten() uint64 { - if m != nil { - return m.BytesWritten - } - return 0 -} +var xxx_messageInfo_UpdateTxnSafePointRequest proto.InternalMessageInfo -func (m *RegionStat) GetBytesRead() uint64 { +func (m *UpdateTxnSafePointRequest) GetHeader() *RequestHeader { if m != nil { - return m.BytesRead + return m.Header } - return 0 + return nil } -func (m *RegionStat) GetKeysWritten() uint64 { +func (m *UpdateTxnSafePointRequest) GetKeyspaceScope() *KeyspaceScope { if m != nil { - return m.KeysWritten + return m.KeyspaceScope } - return 0 + return nil } -func (m *RegionStat) GetKeysRead() uint64 { +func (m *UpdateTxnSafePointRequest) GetTarget() uint64 { if m != nil { - return m.KeysRead + return m.Target } return 0 } -type SyncRegionRequest struct { - Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - Member *Member `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"` - // the follower PD will use the start index to locate historical changes - // that require synchronization. - StartIndex uint64 `protobuf:"varint,3,opt,name=start_index,json=startIndex,proto3" json:"start_index,omitempty"` +type UpdateTxnSafePointResponse struct { + Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + NewTxnSafePoint uint64 `protobuf:"varint,2,opt,name=new_txn_safe_point,json=newTxnSafePoint,proto3" json:"new_txn_safe_point,omitempty"` } -func (m *SyncRegionRequest) Reset() { *m = SyncRegionRequest{} } -func (m *SyncRegionRequest) String() string { return proto.CompactTextString(m) } -func (*SyncRegionRequest) ProtoMessage() {} -func (*SyncRegionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{100} +func (m *UpdateTxnSafePointResponse) Reset() { *m = UpdateTxnSafePointResponse{} } +func (m *UpdateTxnSafePointResponse) String() string { return proto.CompactTextString(m) } +func (*UpdateTxnSafePointResponse) ProtoMessage() {} +func (*UpdateTxnSafePointResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{101} } -func (m *SyncRegionRequest) XXX_Unmarshal(b []byte) error { +func (m *UpdateTxnSafePointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SyncRegionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *UpdateTxnSafePointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SyncRegionRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_UpdateTxnSafePointResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6612,55 +6658,52 @@ func (m *SyncRegionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *SyncRegionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SyncRegionRequest.Merge(m, src) +func (m *UpdateTxnSafePointResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateTxnSafePointResponse.Merge(m, src) } -func (m *SyncRegionRequest) XXX_Size() int { +func (m *UpdateTxnSafePointResponse) XXX_Size() int { return m.Size() } -func (m *SyncRegionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SyncRegionRequest.DiscardUnknown(m) +func (m *UpdateTxnSafePointResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateTxnSafePointResponse.DiscardUnknown(m) } -var xxx_messageInfo_SyncRegionRequest proto.InternalMessageInfo +var xxx_messageInfo_UpdateTxnSafePointResponse proto.InternalMessageInfo -func (m *SyncRegionRequest) GetHeader() *RequestHeader { +func (m *UpdateTxnSafePointResponse) GetHeader() *ResponseHeader { if m != nil { return m.Header } return nil } -func (m *SyncRegionRequest) GetMember() *Member { - if m != nil { - return m.Member - } - return nil -} - -func (m *SyncRegionRequest) GetStartIndex() uint64 { +func (m *UpdateTxnSafePointResponse) GetNewTxnSafePoint() uint64 { if m != nil { - return m.StartIndex + return m.NewTxnSafePoint } return 0 } -type PeersStats struct { - Peers []*PeerStats `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` +type SetGCBarrierRequest struct { + Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + KeyspaceScope *KeyspaceScope `protobuf:"bytes,2,opt,name=keyspace_scope,json=keyspaceScope,proto3" json:"keyspace_scope,omitempty"` + BarrierId string `protobuf:"bytes,3,opt,name=barrier_id,json=barrierId,proto3" json:"barrier_id,omitempty"` + BarrierTs uint64 `protobuf:"varint,4,opt,name=barrier_ts,json=barrierTs,proto3" json:"barrier_ts,omitempty"` + TtlSeconds int64 `protobuf:"varint,5,opt,name=ttl_seconds,json=ttlSeconds,proto3" json:"ttl_seconds,omitempty"` } -func (m *PeersStats) Reset() { *m = PeersStats{} } -func (m *PeersStats) String() string { return proto.CompactTextString(m) } -func (*PeersStats) ProtoMessage() {} -func (*PeersStats) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{101} +func (m *SetGCBarrierRequest) Reset() { *m = SetGCBarrierRequest{} } +func (m *SetGCBarrierRequest) String() string { return proto.CompactTextString(m) } +func (*SetGCBarrierRequest) ProtoMessage() {} +func (*SetGCBarrierRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{102} } -func (m *PeersStats) XXX_Unmarshal(b []byte) error { +func (m *SetGCBarrierRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *PeersStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SetGCBarrierRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_PeersStats.Marshal(b, m, deterministic) + return xxx_messageInfo_SetGCBarrierRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6670,41 +6713,71 @@ func (m *PeersStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *PeersStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_PeersStats.Merge(m, src) +func (m *SetGCBarrierRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetGCBarrierRequest.Merge(m, src) } -func (m *PeersStats) XXX_Size() int { +func (m *SetGCBarrierRequest) XXX_Size() int { return m.Size() } -func (m *PeersStats) XXX_DiscardUnknown() { - xxx_messageInfo_PeersStats.DiscardUnknown(m) +func (m *SetGCBarrierRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetGCBarrierRequest.DiscardUnknown(m) } -var xxx_messageInfo_PeersStats proto.InternalMessageInfo +var xxx_messageInfo_SetGCBarrierRequest proto.InternalMessageInfo -func (m *PeersStats) GetPeers() []*PeerStats { +func (m *SetGCBarrierRequest) GetHeader() *RequestHeader { if m != nil { - return m.Peers + return m.Header } return nil } -type Peers struct { - Peers []*metapb.Peer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` +func (m *SetGCBarrierRequest) GetKeyspaceScope() *KeyspaceScope { + if m != nil { + return m.KeyspaceScope + } + return nil } -func (m *Peers) Reset() { *m = Peers{} } -func (m *Peers) String() string { return proto.CompactTextString(m) } -func (*Peers) ProtoMessage() {} -func (*Peers) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{102} +func (m *SetGCBarrierRequest) GetBarrierId() string { + if m != nil { + return m.BarrierId + } + return "" } -func (m *Peers) XXX_Unmarshal(b []byte) error { + +func (m *SetGCBarrierRequest) GetBarrierTs() uint64 { + if m != nil { + return m.BarrierTs + } + return 0 +} + +func (m *SetGCBarrierRequest) GetTtlSeconds() int64 { + if m != nil { + return m.TtlSeconds + } + return 0 +} + +type GCBarrierInfo struct { + BarrierId string `protobuf:"bytes,1,opt,name=barrier_id,json=barrierId,proto3" json:"barrier_id,omitempty"` + BarrierTs uint64 `protobuf:"varint,2,opt,name=barrier_ts,json=barrierTs,proto3" json:"barrier_ts,omitempty"` + TtlSeconds int64 `protobuf:"varint,3,opt,name=ttl_seconds,json=ttlSeconds,proto3" json:"ttl_seconds,omitempty"` +} + +func (m *GCBarrierInfo) Reset() { *m = GCBarrierInfo{} } +func (m *GCBarrierInfo) String() string { return proto.CompactTextString(m) } +func (*GCBarrierInfo) ProtoMessage() {} +func (*GCBarrierInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{103} +} +func (m *GCBarrierInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Peers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GCBarrierInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Peers.Marshal(b, m, deterministic) + return xxx_messageInfo_GCBarrierInfo.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6714,51 +6787,56 @@ func (m *Peers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Peers) XXX_Merge(src proto.Message) { - xxx_messageInfo_Peers.Merge(m, src) +func (m *GCBarrierInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_GCBarrierInfo.Merge(m, src) } -func (m *Peers) XXX_Size() int { +func (m *GCBarrierInfo) XXX_Size() int { return m.Size() } -func (m *Peers) XXX_DiscardUnknown() { - xxx_messageInfo_Peers.DiscardUnknown(m) +func (m *GCBarrierInfo) XXX_DiscardUnknown() { + xxx_messageInfo_GCBarrierInfo.DiscardUnknown(m) } -var xxx_messageInfo_Peers proto.InternalMessageInfo +var xxx_messageInfo_GCBarrierInfo proto.InternalMessageInfo -func (m *Peers) GetPeers() []*metapb.Peer { +func (m *GCBarrierInfo) GetBarrierId() string { if m != nil { - return m.Peers + return m.BarrierId } - return nil + return "" } -type SyncRegionResponse struct { - Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - // the leader PD will send the repsonds include - // changed regions records and the index of the first record. - Regions []*metapb.Region `protobuf:"bytes,2,rep,name=regions,proto3" json:"regions,omitempty"` - StartIndex uint64 `protobuf:"varint,3,opt,name=start_index,json=startIndex,proto3" json:"start_index,omitempty"` - RegionStats []*RegionStat `protobuf:"bytes,4,rep,name=region_stats,json=regionStats,proto3" json:"region_stats,omitempty"` - RegionLeaders []*metapb.Peer `protobuf:"bytes,5,rep,name=region_leaders,json=regionLeaders,proto3" json:"region_leaders,omitempty"` - // the buckets informations without stats. - Buckets []*metapb.Buckets `protobuf:"bytes,6,rep,name=buckets,proto3" json:"buckets,omitempty"` - DownPeers []*PeersStats `protobuf:"bytes,16,rep,name=down_peers,json=downPeers,proto3" json:"down_peers,omitempty"` - PendingPeers []*Peers `protobuf:"bytes,17,rep,name=pending_peers,json=pendingPeers,proto3" json:"pending_peers,omitempty"` +func (m *GCBarrierInfo) GetBarrierTs() uint64 { + if m != nil { + return m.BarrierTs + } + return 0 } -func (m *SyncRegionResponse) Reset() { *m = SyncRegionResponse{} } -func (m *SyncRegionResponse) String() string { return proto.CompactTextString(m) } -func (*SyncRegionResponse) ProtoMessage() {} -func (*SyncRegionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{103} +func (m *GCBarrierInfo) GetTtlSeconds() int64 { + if m != nil { + return m.TtlSeconds + } + return 0 } -func (m *SyncRegionResponse) XXX_Unmarshal(b []byte) error { + +type SetGCBarrierResponse struct { + Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + NewBarrierInfo *GCBarrierInfo `protobuf:"bytes,2,opt,name=new_barrier_info,json=newBarrierInfo,proto3" json:"new_barrier_info,omitempty"` +} + +func (m *SetGCBarrierResponse) Reset() { *m = SetGCBarrierResponse{} } +func (m *SetGCBarrierResponse) String() string { return proto.CompactTextString(m) } +func (*SetGCBarrierResponse) ProtoMessage() {} +func (*SetGCBarrierResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{104} +} +func (m *SetGCBarrierResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SyncRegionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SetGCBarrierResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SyncRegionResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_SetGCBarrierResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6768,91 +6846,109 @@ func (m *SyncRegionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *SyncRegionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SyncRegionResponse.Merge(m, src) +func (m *SetGCBarrierResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetGCBarrierResponse.Merge(m, src) } -func (m *SyncRegionResponse) XXX_Size() int { +func (m *SetGCBarrierResponse) XXX_Size() int { return m.Size() } -func (m *SyncRegionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SyncRegionResponse.DiscardUnknown(m) +func (m *SetGCBarrierResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SetGCBarrierResponse.DiscardUnknown(m) } -var xxx_messageInfo_SyncRegionResponse proto.InternalMessageInfo +var xxx_messageInfo_SetGCBarrierResponse proto.InternalMessageInfo -func (m *SyncRegionResponse) GetHeader() *ResponseHeader { +func (m *SetGCBarrierResponse) GetHeader() *ResponseHeader { if m != nil { return m.Header } return nil } -func (m *SyncRegionResponse) GetRegions() []*metapb.Region { +func (m *SetGCBarrierResponse) GetNewBarrierInfo() *GCBarrierInfo { if m != nil { - return m.Regions + return m.NewBarrierInfo } return nil } -func (m *SyncRegionResponse) GetStartIndex() uint64 { - if m != nil { - return m.StartIndex - } - return 0 +type DeleteGCBarrierRequest struct { + Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + KeyspaceScope *KeyspaceScope `protobuf:"bytes,2,opt,name=keyspace_scope,json=keyspaceScope,proto3" json:"keyspace_scope,omitempty"` + BarrierId string `protobuf:"bytes,3,opt,name=barrier_id,json=barrierId,proto3" json:"barrier_id,omitempty"` } -func (m *SyncRegionResponse) GetRegionStats() []*RegionStat { - if m != nil { - return m.RegionStats - } - return nil +func (m *DeleteGCBarrierRequest) Reset() { *m = DeleteGCBarrierRequest{} } +func (m *DeleteGCBarrierRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteGCBarrierRequest) ProtoMessage() {} +func (*DeleteGCBarrierRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{105} } - -func (m *SyncRegionResponse) GetRegionLeaders() []*metapb.Peer { - if m != nil { - return m.RegionLeaders +func (m *DeleteGCBarrierRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DeleteGCBarrierRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DeleteGCBarrierRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return nil +} +func (m *DeleteGCBarrierRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteGCBarrierRequest.Merge(m, src) +} +func (m *DeleteGCBarrierRequest) XXX_Size() int { + return m.Size() +} +func (m *DeleteGCBarrierRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteGCBarrierRequest.DiscardUnknown(m) } -func (m *SyncRegionResponse) GetBuckets() []*metapb.Buckets { +var xxx_messageInfo_DeleteGCBarrierRequest proto.InternalMessageInfo + +func (m *DeleteGCBarrierRequest) GetHeader() *RequestHeader { if m != nil { - return m.Buckets + return m.Header } return nil } -func (m *SyncRegionResponse) GetDownPeers() []*PeersStats { +func (m *DeleteGCBarrierRequest) GetKeyspaceScope() *KeyspaceScope { if m != nil { - return m.DownPeers + return m.KeyspaceScope } return nil } -func (m *SyncRegionResponse) GetPendingPeers() []*Peers { +func (m *DeleteGCBarrierRequest) GetBarrierId() string { if m != nil { - return m.PendingPeers + return m.BarrierId } - return nil + return "" } -type GetOperatorRequest struct { - Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - RegionId uint64 `protobuf:"varint,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` +type DeleteGCBarrierResponse struct { + Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + DeletedBarrierInfo *GCBarrierInfo `protobuf:"bytes,2,opt,name=deleted_barrier_info,json=deletedBarrierInfo,proto3" json:"deleted_barrier_info,omitempty"` } -func (m *GetOperatorRequest) Reset() { *m = GetOperatorRequest{} } -func (m *GetOperatorRequest) String() string { return proto.CompactTextString(m) } -func (*GetOperatorRequest) ProtoMessage() {} -func (*GetOperatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{104} +func (m *DeleteGCBarrierResponse) Reset() { *m = DeleteGCBarrierResponse{} } +func (m *DeleteGCBarrierResponse) String() string { return proto.CompactTextString(m) } +func (*DeleteGCBarrierResponse) ProtoMessage() {} +func (*DeleteGCBarrierResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{106} } -func (m *GetOperatorRequest) XXX_Unmarshal(b []byte) error { +func (m *DeleteGCBarrierResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetOperatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *DeleteGCBarrierResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetOperatorRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_DeleteGCBarrierResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6862,52 +6958,49 @@ func (m *GetOperatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *GetOperatorRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOperatorRequest.Merge(m, src) +func (m *DeleteGCBarrierResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteGCBarrierResponse.Merge(m, src) } -func (m *GetOperatorRequest) XXX_Size() int { +func (m *DeleteGCBarrierResponse) XXX_Size() int { return m.Size() } -func (m *GetOperatorRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetOperatorRequest.DiscardUnknown(m) +func (m *DeleteGCBarrierResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteGCBarrierResponse.DiscardUnknown(m) } -var xxx_messageInfo_GetOperatorRequest proto.InternalMessageInfo +var xxx_messageInfo_DeleteGCBarrierResponse proto.InternalMessageInfo -func (m *GetOperatorRequest) GetHeader() *RequestHeader { +func (m *DeleteGCBarrierResponse) GetHeader() *ResponseHeader { if m != nil { return m.Header } return nil } -func (m *GetOperatorRequest) GetRegionId() uint64 { +func (m *DeleteGCBarrierResponse) GetDeletedBarrierInfo() *GCBarrierInfo { if m != nil { - return m.RegionId + return m.DeletedBarrierInfo } - return 0 + return nil } -type GetOperatorResponse struct { - Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - RegionId uint64 `protobuf:"varint,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` - Desc []byte `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"` - Status OperatorStatus `protobuf:"varint,4,opt,name=status,proto3,enum=pdpb.OperatorStatus" json:"status,omitempty"` - Kind []byte `protobuf:"bytes,5,opt,name=kind,proto3" json:"kind,omitempty"` +type GetGCStateRequest struct { + Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + KeyspaceScope *KeyspaceScope `protobuf:"bytes,2,opt,name=keyspace_scope,json=keyspaceScope,proto3" json:"keyspace_scope,omitempty"` } -func (m *GetOperatorResponse) Reset() { *m = GetOperatorResponse{} } -func (m *GetOperatorResponse) String() string { return proto.CompactTextString(m) } -func (*GetOperatorResponse) ProtoMessage() {} -func (*GetOperatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{105} +func (m *GetGCStateRequest) Reset() { *m = GetGCStateRequest{} } +func (m *GetGCStateRequest) String() string { return proto.CompactTextString(m) } +func (*GetGCStateRequest) ProtoMessage() {} +func (*GetGCStateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{107} } -func (m *GetOperatorResponse) XXX_Unmarshal(b []byte) error { +func (m *GetGCStateRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetOperatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetGCStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetOperatorResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_GetGCStateRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6917,72 +7010,51 @@ func (m *GetOperatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *GetOperatorResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetOperatorResponse.Merge(m, src) +func (m *GetGCStateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetGCStateRequest.Merge(m, src) } -func (m *GetOperatorResponse) XXX_Size() int { +func (m *GetGCStateRequest) XXX_Size() int { return m.Size() } -func (m *GetOperatorResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetOperatorResponse.DiscardUnknown(m) +func (m *GetGCStateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetGCStateRequest.DiscardUnknown(m) } -var xxx_messageInfo_GetOperatorResponse proto.InternalMessageInfo +var xxx_messageInfo_GetGCStateRequest proto.InternalMessageInfo -func (m *GetOperatorResponse) GetHeader() *ResponseHeader { +func (m *GetGCStateRequest) GetHeader() *RequestHeader { if m != nil { return m.Header } return nil } -func (m *GetOperatorResponse) GetRegionId() uint64 { - if m != nil { - return m.RegionId - } - return 0 -} - -func (m *GetOperatorResponse) GetDesc() []byte { - if m != nil { - return m.Desc - } - return nil -} - -func (m *GetOperatorResponse) GetStatus() OperatorStatus { - if m != nil { - return m.Status - } - return OperatorStatus_SUCCESS -} - -func (m *GetOperatorResponse) GetKind() []byte { +func (m *GetGCStateRequest) GetKeyspaceScope() *KeyspaceScope { if m != nil { - return m.Kind + return m.KeyspaceScope } return nil } -type SyncMaxTSRequest struct { - Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - MaxTs *Timestamp `protobuf:"bytes,2,opt,name=max_ts,json=maxTs,proto3" json:"max_ts,omitempty"` - // If skip_check is true, the sync will try to write the max_ts without checking whether it's bigger. - SkipCheck bool `protobuf:"varint,3,opt,name=skip_check,json=skipCheck,proto3" json:"skip_check,omitempty"` +type GetGCStateResponse struct { + Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + TxnSafePoint uint64 `protobuf:"varint,2,opt,name=txn_safe_point,json=txnSafePoint,proto3" json:"txn_safe_point,omitempty"` + GcSafePoint uint64 `protobuf:"varint,3,opt,name=gc_safe_point,json=gcSafePoint,proto3" json:"gc_safe_point,omitempty"` + GcBarriers []*GCBarrierInfo `protobuf:"bytes,4,rep,name=gc_barriers,json=gcBarriers,proto3" json:"gc_barriers,omitempty"` } -func (m *SyncMaxTSRequest) Reset() { *m = SyncMaxTSRequest{} } -func (m *SyncMaxTSRequest) String() string { return proto.CompactTextString(m) } -func (*SyncMaxTSRequest) ProtoMessage() {} -func (*SyncMaxTSRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{106} +func (m *GetGCStateResponse) Reset() { *m = GetGCStateResponse{} } +func (m *GetGCStateResponse) String() string { return proto.CompactTextString(m) } +func (*GetGCStateResponse) ProtoMessage() {} +func (*GetGCStateResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{108} } -func (m *SyncMaxTSRequest) XXX_Unmarshal(b []byte) error { +func (m *GetGCStateResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SyncMaxTSRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetGCStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SyncMaxTSRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_GetGCStateResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -6992,57 +7064,67 @@ func (m *SyncMaxTSRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *SyncMaxTSRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SyncMaxTSRequest.Merge(m, src) +func (m *GetGCStateResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetGCStateResponse.Merge(m, src) } -func (m *SyncMaxTSRequest) XXX_Size() int { +func (m *GetGCStateResponse) XXX_Size() int { return m.Size() } -func (m *SyncMaxTSRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SyncMaxTSRequest.DiscardUnknown(m) +func (m *GetGCStateResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetGCStateResponse.DiscardUnknown(m) } -var xxx_messageInfo_SyncMaxTSRequest proto.InternalMessageInfo +var xxx_messageInfo_GetGCStateResponse proto.InternalMessageInfo -func (m *SyncMaxTSRequest) GetHeader() *RequestHeader { +func (m *GetGCStateResponse) GetHeader() *ResponseHeader { if m != nil { return m.Header } return nil } -func (m *SyncMaxTSRequest) GetMaxTs() *Timestamp { +func (m *GetGCStateResponse) GetTxnSafePoint() uint64 { if m != nil { - return m.MaxTs + return m.TxnSafePoint } - return nil + return 0 } -func (m *SyncMaxTSRequest) GetSkipCheck() bool { +func (m *GetGCStateResponse) GetGcSafePoint() uint64 { if m != nil { - return m.SkipCheck + return m.GcSafePoint } - return false + return 0 } -type SyncMaxTSResponse struct { - Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - MaxLocalTs *Timestamp `protobuf:"bytes,2,opt,name=max_local_ts,json=maxLocalTs,proto3" json:"max_local_ts,omitempty"` - SyncedDcs []string `protobuf:"bytes,3,rep,name=synced_dcs,json=syncedDcs,proto3" json:"synced_dcs,omitempty"` +func (m *GetGCStateResponse) GetGcBarriers() []*GCBarrierInfo { + if m != nil { + return m.GcBarriers + } + return nil } -func (m *SyncMaxTSResponse) Reset() { *m = SyncMaxTSResponse{} } -func (m *SyncMaxTSResponse) String() string { return proto.CompactTextString(m) } -func (*SyncMaxTSResponse) ProtoMessage() {} -func (*SyncMaxTSResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{107} +type RegionStat struct { + // Bytes read/written during this period. + BytesWritten uint64 `protobuf:"varint,1,opt,name=bytes_written,json=bytesWritten,proto3" json:"bytes_written,omitempty"` + BytesRead uint64 `protobuf:"varint,2,opt,name=bytes_read,json=bytesRead,proto3" json:"bytes_read,omitempty"` + // Keys read/written during this period. + KeysWritten uint64 `protobuf:"varint,3,opt,name=keys_written,json=keysWritten,proto3" json:"keys_written,omitempty"` + KeysRead uint64 `protobuf:"varint,4,opt,name=keys_read,json=keysRead,proto3" json:"keys_read,omitempty"` } -func (m *SyncMaxTSResponse) XXX_Unmarshal(b []byte) error { + +func (m *RegionStat) Reset() { *m = RegionStat{} } +func (m *RegionStat) String() string { return proto.CompactTextString(m) } +func (*RegionStat) ProtoMessage() {} +func (*RegionStat) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{109} +} +func (m *RegionStat) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SyncMaxTSResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *RegionStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SyncMaxTSResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_RegionStat.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7052,57 +7134,66 @@ func (m *SyncMaxTSResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *SyncMaxTSResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SyncMaxTSResponse.Merge(m, src) +func (m *RegionStat) XXX_Merge(src proto.Message) { + xxx_messageInfo_RegionStat.Merge(m, src) } -func (m *SyncMaxTSResponse) XXX_Size() int { +func (m *RegionStat) XXX_Size() int { return m.Size() } -func (m *SyncMaxTSResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SyncMaxTSResponse.DiscardUnknown(m) +func (m *RegionStat) XXX_DiscardUnknown() { + xxx_messageInfo_RegionStat.DiscardUnknown(m) } -var xxx_messageInfo_SyncMaxTSResponse proto.InternalMessageInfo +var xxx_messageInfo_RegionStat proto.InternalMessageInfo -func (m *SyncMaxTSResponse) GetHeader() *ResponseHeader { +func (m *RegionStat) GetBytesWritten() uint64 { if m != nil { - return m.Header + return m.BytesWritten } - return nil + return 0 } -func (m *SyncMaxTSResponse) GetMaxLocalTs() *Timestamp { +func (m *RegionStat) GetBytesRead() uint64 { if m != nil { - return m.MaxLocalTs + return m.BytesRead } - return nil + return 0 } -func (m *SyncMaxTSResponse) GetSyncedDcs() []string { +func (m *RegionStat) GetKeysWritten() uint64 { if m != nil { - return m.SyncedDcs + return m.KeysWritten } - return nil + return 0 } -type SplitRegionsRequest struct { - Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - SplitKeys [][]byte `protobuf:"bytes,2,rep,name=split_keys,json=splitKeys,proto3" json:"split_keys,omitempty"` - RetryLimit uint64 `protobuf:"varint,3,opt,name=retry_limit,json=retryLimit,proto3" json:"retry_limit,omitempty"` +func (m *RegionStat) GetKeysRead() uint64 { + if m != nil { + return m.KeysRead + } + return 0 } -func (m *SplitRegionsRequest) Reset() { *m = SplitRegionsRequest{} } -func (m *SplitRegionsRequest) String() string { return proto.CompactTextString(m) } -func (*SplitRegionsRequest) ProtoMessage() {} -func (*SplitRegionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{108} +type SyncRegionRequest struct { + Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + Member *Member `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"` + // the follower PD will use the start index to locate historical changes + // that require synchronization. + StartIndex uint64 `protobuf:"varint,3,opt,name=start_index,json=startIndex,proto3" json:"start_index,omitempty"` } -func (m *SplitRegionsRequest) XXX_Unmarshal(b []byte) error { + +func (m *SyncRegionRequest) Reset() { *m = SyncRegionRequest{} } +func (m *SyncRegionRequest) String() string { return proto.CompactTextString(m) } +func (*SyncRegionRequest) ProtoMessage() {} +func (*SyncRegionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{110} +} +func (m *SyncRegionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SplitRegionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SyncRegionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SplitRegionsRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_SyncRegionRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7112,57 +7203,55 @@ func (m *SplitRegionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *SplitRegionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SplitRegionsRequest.Merge(m, src) +func (m *SyncRegionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncRegionRequest.Merge(m, src) } -func (m *SplitRegionsRequest) XXX_Size() int { +func (m *SyncRegionRequest) XXX_Size() int { return m.Size() } -func (m *SplitRegionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SplitRegionsRequest.DiscardUnknown(m) +func (m *SyncRegionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SyncRegionRequest.DiscardUnknown(m) } -var xxx_messageInfo_SplitRegionsRequest proto.InternalMessageInfo +var xxx_messageInfo_SyncRegionRequest proto.InternalMessageInfo -func (m *SplitRegionsRequest) GetHeader() *RequestHeader { +func (m *SyncRegionRequest) GetHeader() *RequestHeader { if m != nil { return m.Header } return nil } -func (m *SplitRegionsRequest) GetSplitKeys() [][]byte { +func (m *SyncRegionRequest) GetMember() *Member { if m != nil { - return m.SplitKeys + return m.Member } return nil } -func (m *SplitRegionsRequest) GetRetryLimit() uint64 { +func (m *SyncRegionRequest) GetStartIndex() uint64 { if m != nil { - return m.RetryLimit + return m.StartIndex } return 0 } -type SplitRegionsResponse struct { - Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - FinishedPercentage uint64 `protobuf:"varint,2,opt,name=finished_percentage,json=finishedPercentage,proto3" json:"finished_percentage,omitempty"` - RegionsId []uint64 `protobuf:"varint,3,rep,packed,name=regions_id,json=regionsId,proto3" json:"regions_id,omitempty"` +type PeersStats struct { + Peers []*PeerStats `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` } -func (m *SplitRegionsResponse) Reset() { *m = SplitRegionsResponse{} } -func (m *SplitRegionsResponse) String() string { return proto.CompactTextString(m) } -func (*SplitRegionsResponse) ProtoMessage() {} -func (*SplitRegionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{109} +func (m *PeersStats) Reset() { *m = PeersStats{} } +func (m *PeersStats) String() string { return proto.CompactTextString(m) } +func (*PeersStats) ProtoMessage() {} +func (*PeersStats) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{111} } -func (m *SplitRegionsResponse) XXX_Unmarshal(b []byte) error { +func (m *PeersStats) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SplitRegionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *PeersStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SplitRegionsResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_PeersStats.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7172,58 +7261,41 @@ func (m *SplitRegionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *SplitRegionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SplitRegionsResponse.Merge(m, src) +func (m *PeersStats) XXX_Merge(src proto.Message) { + xxx_messageInfo_PeersStats.Merge(m, src) } -func (m *SplitRegionsResponse) XXX_Size() int { +func (m *PeersStats) XXX_Size() int { return m.Size() } -func (m *SplitRegionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SplitRegionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SplitRegionsResponse proto.InternalMessageInfo - -func (m *SplitRegionsResponse) GetHeader() *ResponseHeader { - if m != nil { - return m.Header - } - return nil +func (m *PeersStats) XXX_DiscardUnknown() { + xxx_messageInfo_PeersStats.DiscardUnknown(m) } -func (m *SplitRegionsResponse) GetFinishedPercentage() uint64 { - if m != nil { - return m.FinishedPercentage - } - return 0 -} +var xxx_messageInfo_PeersStats proto.InternalMessageInfo -func (m *SplitRegionsResponse) GetRegionsId() []uint64 { +func (m *PeersStats) GetPeers() []*PeerStats { if m != nil { - return m.RegionsId + return m.Peers } return nil } -type SplitAndScatterRegionsRequest struct { - Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - SplitKeys [][]byte `protobuf:"bytes,2,rep,name=split_keys,json=splitKeys,proto3" json:"split_keys,omitempty"` - Group string `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"` - RetryLimit uint64 `protobuf:"varint,4,opt,name=retry_limit,json=retryLimit,proto3" json:"retry_limit,omitempty"` +type Peers struct { + Peers []*metapb.Peer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` } -func (m *SplitAndScatterRegionsRequest) Reset() { *m = SplitAndScatterRegionsRequest{} } -func (m *SplitAndScatterRegionsRequest) String() string { return proto.CompactTextString(m) } -func (*SplitAndScatterRegionsRequest) ProtoMessage() {} -func (*SplitAndScatterRegionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{110} +func (m *Peers) Reset() { *m = Peers{} } +func (m *Peers) String() string { return proto.CompactTextString(m) } +func (*Peers) ProtoMessage() {} +func (*Peers) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{112} } -func (m *SplitAndScatterRegionsRequest) XXX_Unmarshal(b []byte) error { +func (m *Peers) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SplitAndScatterRegionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Peers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SplitAndScatterRegionsRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_Peers.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7233,65 +7305,51 @@ func (m *SplitAndScatterRegionsRequest) XXX_Marshal(b []byte, deterministic bool return b[:n], nil } } -func (m *SplitAndScatterRegionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SplitAndScatterRegionsRequest.Merge(m, src) +func (m *Peers) XXX_Merge(src proto.Message) { + xxx_messageInfo_Peers.Merge(m, src) } -func (m *SplitAndScatterRegionsRequest) XXX_Size() int { +func (m *Peers) XXX_Size() int { return m.Size() } -func (m *SplitAndScatterRegionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SplitAndScatterRegionsRequest.DiscardUnknown(m) +func (m *Peers) XXX_DiscardUnknown() { + xxx_messageInfo_Peers.DiscardUnknown(m) } -var xxx_messageInfo_SplitAndScatterRegionsRequest proto.InternalMessageInfo - -func (m *SplitAndScatterRegionsRequest) GetHeader() *RequestHeader { - if m != nil { - return m.Header - } - return nil -} +var xxx_messageInfo_Peers proto.InternalMessageInfo -func (m *SplitAndScatterRegionsRequest) GetSplitKeys() [][]byte { +func (m *Peers) GetPeers() []*metapb.Peer { if m != nil { - return m.SplitKeys + return m.Peers } return nil } -func (m *SplitAndScatterRegionsRequest) GetGroup() string { - if m != nil { - return m.Group - } - return "" -} - -func (m *SplitAndScatterRegionsRequest) GetRetryLimit() uint64 { - if m != nil { - return m.RetryLimit - } - return 0 -} - -type SplitAndScatterRegionsResponse struct { - Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - SplitFinishedPercentage uint64 `protobuf:"varint,2,opt,name=split_finished_percentage,json=splitFinishedPercentage,proto3" json:"split_finished_percentage,omitempty"` - ScatterFinishedPercentage uint64 `protobuf:"varint,3,opt,name=scatter_finished_percentage,json=scatterFinishedPercentage,proto3" json:"scatter_finished_percentage,omitempty"` - RegionsId []uint64 `protobuf:"varint,4,rep,packed,name=regions_id,json=regionsId,proto3" json:"regions_id,omitempty"` +type SyncRegionResponse struct { + Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + // the leader PD will send the repsonds include + // changed regions records and the index of the first record. + Regions []*metapb.Region `protobuf:"bytes,2,rep,name=regions,proto3" json:"regions,omitempty"` + StartIndex uint64 `protobuf:"varint,3,opt,name=start_index,json=startIndex,proto3" json:"start_index,omitempty"` + RegionStats []*RegionStat `protobuf:"bytes,4,rep,name=region_stats,json=regionStats,proto3" json:"region_stats,omitempty"` + RegionLeaders []*metapb.Peer `protobuf:"bytes,5,rep,name=region_leaders,json=regionLeaders,proto3" json:"region_leaders,omitempty"` + // the buckets informations without stats. + Buckets []*metapb.Buckets `protobuf:"bytes,6,rep,name=buckets,proto3" json:"buckets,omitempty"` + DownPeers []*PeersStats `protobuf:"bytes,16,rep,name=down_peers,json=downPeers,proto3" json:"down_peers,omitempty"` + PendingPeers []*Peers `protobuf:"bytes,17,rep,name=pending_peers,json=pendingPeers,proto3" json:"pending_peers,omitempty"` } -func (m *SplitAndScatterRegionsResponse) Reset() { *m = SplitAndScatterRegionsResponse{} } -func (m *SplitAndScatterRegionsResponse) String() string { return proto.CompactTextString(m) } -func (*SplitAndScatterRegionsResponse) ProtoMessage() {} -func (*SplitAndScatterRegionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{111} +func (m *SyncRegionResponse) Reset() { *m = SyncRegionResponse{} } +func (m *SyncRegionResponse) String() string { return proto.CompactTextString(m) } +func (*SyncRegionResponse) ProtoMessage() {} +func (*SyncRegionResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{113} } -func (m *SplitAndScatterRegionsResponse) XXX_Unmarshal(b []byte) error { +func (m *SyncRegionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SplitAndScatterRegionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SyncRegionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SplitAndScatterRegionsResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_SyncRegionResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7301,119 +7359,91 @@ func (m *SplitAndScatterRegionsResponse) XXX_Marshal(b []byte, deterministic boo return b[:n], nil } } -func (m *SplitAndScatterRegionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SplitAndScatterRegionsResponse.Merge(m, src) +func (m *SyncRegionResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncRegionResponse.Merge(m, src) } -func (m *SplitAndScatterRegionsResponse) XXX_Size() int { +func (m *SyncRegionResponse) XXX_Size() int { return m.Size() } -func (m *SplitAndScatterRegionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SplitAndScatterRegionsResponse.DiscardUnknown(m) +func (m *SyncRegionResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SyncRegionResponse.DiscardUnknown(m) } -var xxx_messageInfo_SplitAndScatterRegionsResponse proto.InternalMessageInfo +var xxx_messageInfo_SyncRegionResponse proto.InternalMessageInfo -func (m *SplitAndScatterRegionsResponse) GetHeader() *ResponseHeader { +func (m *SyncRegionResponse) GetHeader() *ResponseHeader { if m != nil { return m.Header } return nil } -func (m *SplitAndScatterRegionsResponse) GetSplitFinishedPercentage() uint64 { +func (m *SyncRegionResponse) GetRegions() []*metapb.Region { if m != nil { - return m.SplitFinishedPercentage + return m.Regions } - return 0 + return nil } -func (m *SplitAndScatterRegionsResponse) GetScatterFinishedPercentage() uint64 { +func (m *SyncRegionResponse) GetStartIndex() uint64 { if m != nil { - return m.ScatterFinishedPercentage + return m.StartIndex } return 0 } -func (m *SplitAndScatterRegionsResponse) GetRegionsId() []uint64 { +func (m *SyncRegionResponse) GetRegionStats() []*RegionStat { if m != nil { - return m.RegionsId + return m.RegionStats } return nil } -type GetDCLocationInfoRequest struct { - Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - DcLocation string `protobuf:"bytes,2,opt,name=dc_location,json=dcLocation,proto3" json:"dc_location,omitempty"` +func (m *SyncRegionResponse) GetRegionLeaders() []*metapb.Peer { + if m != nil { + return m.RegionLeaders + } + return nil } -func (m *GetDCLocationInfoRequest) Reset() { *m = GetDCLocationInfoRequest{} } -func (m *GetDCLocationInfoRequest) String() string { return proto.CompactTextString(m) } -func (*GetDCLocationInfoRequest) ProtoMessage() {} -func (*GetDCLocationInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{112} -} -func (m *GetDCLocationInfoRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetDCLocationInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetDCLocationInfoRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil +func (m *SyncRegionResponse) GetBuckets() []*metapb.Buckets { + if m != nil { + return m.Buckets } + return nil } -func (m *GetDCLocationInfoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDCLocationInfoRequest.Merge(m, src) -} -func (m *GetDCLocationInfoRequest) XXX_Size() int { - return m.Size() -} -func (m *GetDCLocationInfoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetDCLocationInfoRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetDCLocationInfoRequest proto.InternalMessageInfo -func (m *GetDCLocationInfoRequest) GetHeader() *RequestHeader { +func (m *SyncRegionResponse) GetDownPeers() []*PeersStats { if m != nil { - return m.Header + return m.DownPeers } return nil } -func (m *GetDCLocationInfoRequest) GetDcLocation() string { +func (m *SyncRegionResponse) GetPendingPeers() []*Peers { if m != nil { - return m.DcLocation + return m.PendingPeers } - return "" + return nil } -type GetDCLocationInfoResponse struct { - Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - // suffix sign - Suffix int32 `protobuf:"varint,2,opt,name=suffix,proto3" json:"suffix,omitempty"` - // max_ts will be included into this response if PD leader think the receiver needs, - // which it's set when the number of the max suffix bits changes. - MaxTs *Timestamp `protobuf:"bytes,3,opt,name=max_ts,json=maxTs,proto3" json:"max_ts,omitempty"` +type GetOperatorRequest struct { + Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + RegionId uint64 `protobuf:"varint,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` } -func (m *GetDCLocationInfoResponse) Reset() { *m = GetDCLocationInfoResponse{} } -func (m *GetDCLocationInfoResponse) String() string { return proto.CompactTextString(m) } -func (*GetDCLocationInfoResponse) ProtoMessage() {} -func (*GetDCLocationInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{113} +func (m *GetOperatorRequest) Reset() { *m = GetOperatorRequest{} } +func (m *GetOperatorRequest) String() string { return proto.CompactTextString(m) } +func (*GetOperatorRequest) ProtoMessage() {} +func (*GetOperatorRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{114} } -func (m *GetDCLocationInfoResponse) XXX_Unmarshal(b []byte) error { +func (m *GetOperatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetDCLocationInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetOperatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetDCLocationInfoResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_GetOperatorRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7423,65 +7453,52 @@ func (m *GetDCLocationInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *GetDCLocationInfoResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetDCLocationInfoResponse.Merge(m, src) +func (m *GetOperatorRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetOperatorRequest.Merge(m, src) } -func (m *GetDCLocationInfoResponse) XXX_Size() int { +func (m *GetOperatorRequest) XXX_Size() int { return m.Size() } -func (m *GetDCLocationInfoResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetDCLocationInfoResponse.DiscardUnknown(m) +func (m *GetOperatorRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetOperatorRequest.DiscardUnknown(m) } -var xxx_messageInfo_GetDCLocationInfoResponse proto.InternalMessageInfo +var xxx_messageInfo_GetOperatorRequest proto.InternalMessageInfo -func (m *GetDCLocationInfoResponse) GetHeader() *ResponseHeader { +func (m *GetOperatorRequest) GetHeader() *RequestHeader { if m != nil { return m.Header } return nil } -func (m *GetDCLocationInfoResponse) GetSuffix() int32 { +func (m *GetOperatorRequest) GetRegionId() uint64 { if m != nil { - return m.Suffix + return m.RegionId } return 0 } -func (m *GetDCLocationInfoResponse) GetMaxTs() *Timestamp { - if m != nil { - return m.MaxTs - } - return nil -} - -type QueryStats struct { - GC uint64 `protobuf:"varint,1,opt,name=GC,proto3" json:"GC,omitempty"` - Get uint64 `protobuf:"varint,2,opt,name=Get,proto3" json:"Get,omitempty"` - Scan uint64 `protobuf:"varint,3,opt,name=Scan,proto3" json:"Scan,omitempty"` - Coprocessor uint64 `protobuf:"varint,4,opt,name=Coprocessor,proto3" json:"Coprocessor,omitempty"` - Delete uint64 `protobuf:"varint,5,opt,name=Delete,proto3" json:"Delete,omitempty"` - DeleteRange uint64 `protobuf:"varint,6,opt,name=DeleteRange,proto3" json:"DeleteRange,omitempty"` - Put uint64 `protobuf:"varint,7,opt,name=Put,proto3" json:"Put,omitempty"` - Prewrite uint64 `protobuf:"varint,8,opt,name=Prewrite,proto3" json:"Prewrite,omitempty"` - AcquirePessimisticLock uint64 `protobuf:"varint,9,opt,name=AcquirePessimisticLock,proto3" json:"AcquirePessimisticLock,omitempty"` - Commit uint64 `protobuf:"varint,10,opt,name=Commit,proto3" json:"Commit,omitempty"` - Rollback uint64 `protobuf:"varint,11,opt,name=Rollback,proto3" json:"Rollback,omitempty"` +type GetOperatorResponse struct { + Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + RegionId uint64 `protobuf:"varint,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` + Desc []byte `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"` + Status OperatorStatus `protobuf:"varint,4,opt,name=status,proto3,enum=pdpb.OperatorStatus" json:"status,omitempty"` + Kind []byte `protobuf:"bytes,5,opt,name=kind,proto3" json:"kind,omitempty"` } -func (m *QueryStats) Reset() { *m = QueryStats{} } -func (m *QueryStats) String() string { return proto.CompactTextString(m) } -func (*QueryStats) ProtoMessage() {} -func (*QueryStats) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{114} +func (m *GetOperatorResponse) Reset() { *m = GetOperatorResponse{} } +func (m *GetOperatorResponse) String() string { return proto.CompactTextString(m) } +func (*GetOperatorResponse) ProtoMessage() {} +func (*GetOperatorResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{115} } -func (m *QueryStats) XXX_Unmarshal(b []byte) error { +func (m *GetOperatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetOperatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryStats.Marshal(b, m, deterministic) + return xxx_messageInfo_GetOperatorResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7491,113 +7508,132 @@ func (m *QueryStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *QueryStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryStats.Merge(m, src) +func (m *GetOperatorResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetOperatorResponse.Merge(m, src) } -func (m *QueryStats) XXX_Size() int { +func (m *GetOperatorResponse) XXX_Size() int { return m.Size() } -func (m *QueryStats) XXX_DiscardUnknown() { - xxx_messageInfo_QueryStats.DiscardUnknown(m) +func (m *GetOperatorResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetOperatorResponse.DiscardUnknown(m) } -var xxx_messageInfo_QueryStats proto.InternalMessageInfo +var xxx_messageInfo_GetOperatorResponse proto.InternalMessageInfo -func (m *QueryStats) GetGC() uint64 { +func (m *GetOperatorResponse) GetHeader() *ResponseHeader { if m != nil { - return m.GC + return m.Header } - return 0 + return nil } -func (m *QueryStats) GetGet() uint64 { +func (m *GetOperatorResponse) GetRegionId() uint64 { if m != nil { - return m.Get + return m.RegionId } return 0 } -func (m *QueryStats) GetScan() uint64 { +func (m *GetOperatorResponse) GetDesc() []byte { if m != nil { - return m.Scan + return m.Desc } - return 0 + return nil } -func (m *QueryStats) GetCoprocessor() uint64 { +func (m *GetOperatorResponse) GetStatus() OperatorStatus { if m != nil { - return m.Coprocessor + return m.Status } - return 0 + return OperatorStatus_SUCCESS } -func (m *QueryStats) GetDelete() uint64 { +func (m *GetOperatorResponse) GetKind() []byte { if m != nil { - return m.Delete + return m.Kind } - return 0 + return nil } -func (m *QueryStats) GetDeleteRange() uint64 { - if m != nil { - return m.DeleteRange - } - return 0 +type SyncMaxTSRequest struct { + Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + MaxTs *Timestamp `protobuf:"bytes,2,opt,name=max_ts,json=maxTs,proto3" json:"max_ts,omitempty"` + // If skip_check is true, the sync will try to write the max_ts without checking whether it's bigger. + SkipCheck bool `protobuf:"varint,3,opt,name=skip_check,json=skipCheck,proto3" json:"skip_check,omitempty"` } -func (m *QueryStats) GetPut() uint64 { - if m != nil { - return m.Put - } - return 0 +func (m *SyncMaxTSRequest) Reset() { *m = SyncMaxTSRequest{} } +func (m *SyncMaxTSRequest) String() string { return proto.CompactTextString(m) } +func (*SyncMaxTSRequest) ProtoMessage() {} +func (*SyncMaxTSRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{116} } - -func (m *QueryStats) GetPrewrite() uint64 { - if m != nil { - return m.Prewrite +func (m *SyncMaxTSRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SyncMaxTSRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SyncMaxTSRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return 0 +} +func (m *SyncMaxTSRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncMaxTSRequest.Merge(m, src) +} +func (m *SyncMaxTSRequest) XXX_Size() int { + return m.Size() +} +func (m *SyncMaxTSRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SyncMaxTSRequest.DiscardUnknown(m) } -func (m *QueryStats) GetAcquirePessimisticLock() uint64 { +var xxx_messageInfo_SyncMaxTSRequest proto.InternalMessageInfo + +func (m *SyncMaxTSRequest) GetHeader() *RequestHeader { if m != nil { - return m.AcquirePessimisticLock + return m.Header } - return 0 + return nil } -func (m *QueryStats) GetCommit() uint64 { +func (m *SyncMaxTSRequest) GetMaxTs() *Timestamp { if m != nil { - return m.Commit + return m.MaxTs } - return 0 + return nil } -func (m *QueryStats) GetRollback() uint64 { +func (m *SyncMaxTSRequest) GetSkipCheck() bool { if m != nil { - return m.Rollback + return m.SkipCheck } - return 0 + return false } -type ReportBucketsRequest struct { - Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - RegionEpoch *metapb.RegionEpoch `protobuf:"bytes,2,opt,name=region_epoch,json=regionEpoch,proto3" json:"region_epoch,omitempty"` - Buckets *metapb.Buckets `protobuf:"bytes,3,opt,name=buckets,proto3" json:"buckets,omitempty"` +type SyncMaxTSResponse struct { + Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + MaxLocalTs *Timestamp `protobuf:"bytes,2,opt,name=max_local_ts,json=maxLocalTs,proto3" json:"max_local_ts,omitempty"` + SyncedDcs []string `protobuf:"bytes,3,rep,name=synced_dcs,json=syncedDcs,proto3" json:"synced_dcs,omitempty"` } -func (m *ReportBucketsRequest) Reset() { *m = ReportBucketsRequest{} } -func (m *ReportBucketsRequest) String() string { return proto.CompactTextString(m) } -func (*ReportBucketsRequest) ProtoMessage() {} -func (*ReportBucketsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{115} +func (m *SyncMaxTSResponse) Reset() { *m = SyncMaxTSResponse{} } +func (m *SyncMaxTSResponse) String() string { return proto.CompactTextString(m) } +func (*SyncMaxTSResponse) ProtoMessage() {} +func (*SyncMaxTSResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{117} } -func (m *ReportBucketsRequest) XXX_Unmarshal(b []byte) error { +func (m *SyncMaxTSResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ReportBucketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SyncMaxTSResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ReportBucketsRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_SyncMaxTSResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7607,55 +7643,57 @@ func (m *ReportBucketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *ReportBucketsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReportBucketsRequest.Merge(m, src) +func (m *SyncMaxTSResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncMaxTSResponse.Merge(m, src) } -func (m *ReportBucketsRequest) XXX_Size() int { +func (m *SyncMaxTSResponse) XXX_Size() int { return m.Size() } -func (m *ReportBucketsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReportBucketsRequest.DiscardUnknown(m) +func (m *SyncMaxTSResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SyncMaxTSResponse.DiscardUnknown(m) } -var xxx_messageInfo_ReportBucketsRequest proto.InternalMessageInfo +var xxx_messageInfo_SyncMaxTSResponse proto.InternalMessageInfo -func (m *ReportBucketsRequest) GetHeader() *RequestHeader { +func (m *SyncMaxTSResponse) GetHeader() *ResponseHeader { if m != nil { return m.Header } return nil } -func (m *ReportBucketsRequest) GetRegionEpoch() *metapb.RegionEpoch { +func (m *SyncMaxTSResponse) GetMaxLocalTs() *Timestamp { if m != nil { - return m.RegionEpoch + return m.MaxLocalTs } return nil } -func (m *ReportBucketsRequest) GetBuckets() *metapb.Buckets { +func (m *SyncMaxTSResponse) GetSyncedDcs() []string { if m != nil { - return m.Buckets + return m.SyncedDcs } return nil } -type ReportBucketsResponse struct { - Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` +type SplitRegionsRequest struct { + Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + SplitKeys [][]byte `protobuf:"bytes,2,rep,name=split_keys,json=splitKeys,proto3" json:"split_keys,omitempty"` + RetryLimit uint64 `protobuf:"varint,3,opt,name=retry_limit,json=retryLimit,proto3" json:"retry_limit,omitempty"` } -func (m *ReportBucketsResponse) Reset() { *m = ReportBucketsResponse{} } -func (m *ReportBucketsResponse) String() string { return proto.CompactTextString(m) } -func (*ReportBucketsResponse) ProtoMessage() {} -func (*ReportBucketsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{116} +func (m *SplitRegionsRequest) Reset() { *m = SplitRegionsRequest{} } +func (m *SplitRegionsRequest) String() string { return proto.CompactTextString(m) } +func (*SplitRegionsRequest) ProtoMessage() {} +func (*SplitRegionsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{118} } -func (m *ReportBucketsResponse) XXX_Unmarshal(b []byte) error { +func (m *SplitRegionsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ReportBucketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SplitRegionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ReportBucketsResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_SplitRegionsRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7665,43 +7703,57 @@ func (m *ReportBucketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *ReportBucketsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReportBucketsResponse.Merge(m, src) +func (m *SplitRegionsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SplitRegionsRequest.Merge(m, src) } -func (m *ReportBucketsResponse) XXX_Size() int { +func (m *SplitRegionsRequest) XXX_Size() int { return m.Size() } -func (m *ReportBucketsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ReportBucketsResponse.DiscardUnknown(m) +func (m *SplitRegionsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SplitRegionsRequest.DiscardUnknown(m) } -var xxx_messageInfo_ReportBucketsResponse proto.InternalMessageInfo +var xxx_messageInfo_SplitRegionsRequest proto.InternalMessageInfo -func (m *ReportBucketsResponse) GetHeader() *ResponseHeader { +func (m *SplitRegionsRequest) GetHeader() *RequestHeader { if m != nil { return m.Header } return nil } -type ReportMinResolvedTsRequest struct { - Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - StoreId uint64 `protobuf:"varint,2,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"` - MinResolvedTs uint64 `protobuf:"varint,3,opt,name=min_resolved_ts,json=minResolvedTs,proto3" json:"min_resolved_ts,omitempty"` +func (m *SplitRegionsRequest) GetSplitKeys() [][]byte { + if m != nil { + return m.SplitKeys + } + return nil } -func (m *ReportMinResolvedTsRequest) Reset() { *m = ReportMinResolvedTsRequest{} } -func (m *ReportMinResolvedTsRequest) String() string { return proto.CompactTextString(m) } -func (*ReportMinResolvedTsRequest) ProtoMessage() {} -func (*ReportMinResolvedTsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{117} +func (m *SplitRegionsRequest) GetRetryLimit() uint64 { + if m != nil { + return m.RetryLimit + } + return 0 } -func (m *ReportMinResolvedTsRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) + +type SplitRegionsResponse struct { + Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + FinishedPercentage uint64 `protobuf:"varint,2,opt,name=finished_percentage,json=finishedPercentage,proto3" json:"finished_percentage,omitempty"` + RegionsId []uint64 `protobuf:"varint,3,rep,packed,name=regions_id,json=regionsId,proto3" json:"regions_id,omitempty"` } -func (m *ReportMinResolvedTsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + +func (m *SplitRegionsResponse) Reset() { *m = SplitRegionsResponse{} } +func (m *SplitRegionsResponse) String() string { return proto.CompactTextString(m) } +func (*SplitRegionsResponse) ProtoMessage() {} +func (*SplitRegionsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{119} +} +func (m *SplitRegionsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SplitRegionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ReportMinResolvedTsRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_SplitRegionsResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7711,55 +7763,58 @@ func (m *ReportMinResolvedTsRequest) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } -func (m *ReportMinResolvedTsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReportMinResolvedTsRequest.Merge(m, src) +func (m *SplitRegionsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SplitRegionsResponse.Merge(m, src) } -func (m *ReportMinResolvedTsRequest) XXX_Size() int { +func (m *SplitRegionsResponse) XXX_Size() int { return m.Size() } -func (m *ReportMinResolvedTsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReportMinResolvedTsRequest.DiscardUnknown(m) +func (m *SplitRegionsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SplitRegionsResponse.DiscardUnknown(m) } -var xxx_messageInfo_ReportMinResolvedTsRequest proto.InternalMessageInfo +var xxx_messageInfo_SplitRegionsResponse proto.InternalMessageInfo -func (m *ReportMinResolvedTsRequest) GetHeader() *RequestHeader { +func (m *SplitRegionsResponse) GetHeader() *ResponseHeader { if m != nil { return m.Header } return nil } -func (m *ReportMinResolvedTsRequest) GetStoreId() uint64 { +func (m *SplitRegionsResponse) GetFinishedPercentage() uint64 { if m != nil { - return m.StoreId + return m.FinishedPercentage } return 0 } -func (m *ReportMinResolvedTsRequest) GetMinResolvedTs() uint64 { +func (m *SplitRegionsResponse) GetRegionsId() []uint64 { if m != nil { - return m.MinResolvedTs + return m.RegionsId } - return 0 + return nil } -type ReportMinResolvedTsResponse struct { - Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` +type SplitAndScatterRegionsRequest struct { + Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + SplitKeys [][]byte `protobuf:"bytes,2,rep,name=split_keys,json=splitKeys,proto3" json:"split_keys,omitempty"` + Group string `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"` + RetryLimit uint64 `protobuf:"varint,4,opt,name=retry_limit,json=retryLimit,proto3" json:"retry_limit,omitempty"` } -func (m *ReportMinResolvedTsResponse) Reset() { *m = ReportMinResolvedTsResponse{} } -func (m *ReportMinResolvedTsResponse) String() string { return proto.CompactTextString(m) } -func (*ReportMinResolvedTsResponse) ProtoMessage() {} -func (*ReportMinResolvedTsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{118} +func (m *SplitAndScatterRegionsRequest) Reset() { *m = SplitAndScatterRegionsRequest{} } +func (m *SplitAndScatterRegionsRequest) String() string { return proto.CompactTextString(m) } +func (*SplitAndScatterRegionsRequest) ProtoMessage() {} +func (*SplitAndScatterRegionsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{120} } -func (m *ReportMinResolvedTsResponse) XXX_Unmarshal(b []byte) error { +func (m *SplitAndScatterRegionsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *ReportMinResolvedTsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SplitAndScatterRegionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_ReportMinResolvedTsResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_SplitAndScatterRegionsRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7769,42 +7824,65 @@ func (m *ReportMinResolvedTsResponse) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } -func (m *ReportMinResolvedTsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReportMinResolvedTsResponse.Merge(m, src) +func (m *SplitAndScatterRegionsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SplitAndScatterRegionsRequest.Merge(m, src) } -func (m *ReportMinResolvedTsResponse) XXX_Size() int { +func (m *SplitAndScatterRegionsRequest) XXX_Size() int { return m.Size() } -func (m *ReportMinResolvedTsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ReportMinResolvedTsResponse.DiscardUnknown(m) +func (m *SplitAndScatterRegionsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SplitAndScatterRegionsRequest.DiscardUnknown(m) } -var xxx_messageInfo_ReportMinResolvedTsResponse proto.InternalMessageInfo +var xxx_messageInfo_SplitAndScatterRegionsRequest proto.InternalMessageInfo -func (m *ReportMinResolvedTsResponse) GetHeader() *ResponseHeader { +func (m *SplitAndScatterRegionsRequest) GetHeader() *RequestHeader { if m != nil { return m.Header } return nil } -type SetExternalTimestampRequest struct { - Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +func (m *SplitAndScatterRegionsRequest) GetSplitKeys() [][]byte { + if m != nil { + return m.SplitKeys + } + return nil } -func (m *SetExternalTimestampRequest) Reset() { *m = SetExternalTimestampRequest{} } -func (m *SetExternalTimestampRequest) String() string { return proto.CompactTextString(m) } -func (*SetExternalTimestampRequest) ProtoMessage() {} -func (*SetExternalTimestampRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{119} +func (m *SplitAndScatterRegionsRequest) GetGroup() string { + if m != nil { + return m.Group + } + return "" } -func (m *SetExternalTimestampRequest) XXX_Unmarshal(b []byte) error { + +func (m *SplitAndScatterRegionsRequest) GetRetryLimit() uint64 { + if m != nil { + return m.RetryLimit + } + return 0 +} + +type SplitAndScatterRegionsResponse struct { + Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + SplitFinishedPercentage uint64 `protobuf:"varint,2,opt,name=split_finished_percentage,json=splitFinishedPercentage,proto3" json:"split_finished_percentage,omitempty"` + ScatterFinishedPercentage uint64 `protobuf:"varint,3,opt,name=scatter_finished_percentage,json=scatterFinishedPercentage,proto3" json:"scatter_finished_percentage,omitempty"` + RegionsId []uint64 `protobuf:"varint,4,rep,packed,name=regions_id,json=regionsId,proto3" json:"regions_id,omitempty"` +} + +func (m *SplitAndScatterRegionsResponse) Reset() { *m = SplitAndScatterRegionsResponse{} } +func (m *SplitAndScatterRegionsResponse) String() string { return proto.CompactTextString(m) } +func (*SplitAndScatterRegionsResponse) ProtoMessage() {} +func (*SplitAndScatterRegionsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{121} +} +func (m *SplitAndScatterRegionsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SetExternalTimestampRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *SplitAndScatterRegionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SetExternalTimestampRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_SplitAndScatterRegionsResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7814,48 +7892,63 @@ func (m *SetExternalTimestampRequest) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } -func (m *SetExternalTimestampRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetExternalTimestampRequest.Merge(m, src) +func (m *SplitAndScatterRegionsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SplitAndScatterRegionsResponse.Merge(m, src) } -func (m *SetExternalTimestampRequest) XXX_Size() int { +func (m *SplitAndScatterRegionsResponse) XXX_Size() int { return m.Size() } -func (m *SetExternalTimestampRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetExternalTimestampRequest.DiscardUnknown(m) +func (m *SplitAndScatterRegionsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SplitAndScatterRegionsResponse.DiscardUnknown(m) } -var xxx_messageInfo_SetExternalTimestampRequest proto.InternalMessageInfo +var xxx_messageInfo_SplitAndScatterRegionsResponse proto.InternalMessageInfo -func (m *SetExternalTimestampRequest) GetHeader() *RequestHeader { +func (m *SplitAndScatterRegionsResponse) GetHeader() *ResponseHeader { if m != nil { return m.Header } return nil } -func (m *SetExternalTimestampRequest) GetTimestamp() uint64 { +func (m *SplitAndScatterRegionsResponse) GetSplitFinishedPercentage() uint64 { if m != nil { - return m.Timestamp + return m.SplitFinishedPercentage } return 0 } -type SetExternalTimestampResponse struct { - Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` +func (m *SplitAndScatterRegionsResponse) GetScatterFinishedPercentage() uint64 { + if m != nil { + return m.ScatterFinishedPercentage + } + return 0 } -func (m *SetExternalTimestampResponse) Reset() { *m = SetExternalTimestampResponse{} } -func (m *SetExternalTimestampResponse) String() string { return proto.CompactTextString(m) } -func (*SetExternalTimestampResponse) ProtoMessage() {} -func (*SetExternalTimestampResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{120} +func (m *SplitAndScatterRegionsResponse) GetRegionsId() []uint64 { + if m != nil { + return m.RegionsId + } + return nil } -func (m *SetExternalTimestampResponse) XXX_Unmarshal(b []byte) error { + +type GetDCLocationInfoRequest struct { + Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + DcLocation string `protobuf:"bytes,2,opt,name=dc_location,json=dcLocation,proto3" json:"dc_location,omitempty"` +} + +func (m *GetDCLocationInfoRequest) Reset() { *m = GetDCLocationInfoRequest{} } +func (m *GetDCLocationInfoRequest) String() string { return proto.CompactTextString(m) } +func (*GetDCLocationInfoRequest) ProtoMessage() {} +func (*GetDCLocationInfoRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{122} +} +func (m *GetDCLocationInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *SetExternalTimestampResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetDCLocationInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_SetExternalTimestampResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_GetDCLocationInfoRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7865,41 +7958,53 @@ func (m *SetExternalTimestampResponse) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } -func (m *SetExternalTimestampResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetExternalTimestampResponse.Merge(m, src) +func (m *GetDCLocationInfoRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetDCLocationInfoRequest.Merge(m, src) } -func (m *SetExternalTimestampResponse) XXX_Size() int { +func (m *GetDCLocationInfoRequest) XXX_Size() int { return m.Size() } -func (m *SetExternalTimestampResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SetExternalTimestampResponse.DiscardUnknown(m) +func (m *GetDCLocationInfoRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetDCLocationInfoRequest.DiscardUnknown(m) } -var xxx_messageInfo_SetExternalTimestampResponse proto.InternalMessageInfo +var xxx_messageInfo_GetDCLocationInfoRequest proto.InternalMessageInfo -func (m *SetExternalTimestampResponse) GetHeader() *ResponseHeader { +func (m *GetDCLocationInfoRequest) GetHeader() *RequestHeader { if m != nil { return m.Header } return nil } -type GetExternalTimestampRequest struct { - Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` +func (m *GetDCLocationInfoRequest) GetDcLocation() string { + if m != nil { + return m.DcLocation + } + return "" } -func (m *GetExternalTimestampRequest) Reset() { *m = GetExternalTimestampRequest{} } -func (m *GetExternalTimestampRequest) String() string { return proto.CompactTextString(m) } -func (*GetExternalTimestampRequest) ProtoMessage() {} -func (*GetExternalTimestampRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{121} +type GetDCLocationInfoResponse struct { + Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + // suffix sign + Suffix int32 `protobuf:"varint,2,opt,name=suffix,proto3" json:"suffix,omitempty"` + // max_ts will be included into this response if PD leader think the receiver needs, + // which it's set when the number of the max suffix bits changes. + MaxTs *Timestamp `protobuf:"bytes,3,opt,name=max_ts,json=maxTs,proto3" json:"max_ts,omitempty"` } -func (m *GetExternalTimestampRequest) XXX_Unmarshal(b []byte) error { + +func (m *GetDCLocationInfoResponse) Reset() { *m = GetDCLocationInfoResponse{} } +func (m *GetDCLocationInfoResponse) String() string { return proto.CompactTextString(m) } +func (*GetDCLocationInfoResponse) ProtoMessage() {} +func (*GetDCLocationInfoResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{123} +} +func (m *GetDCLocationInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetExternalTimestampRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetDCLocationInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetExternalTimestampRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_GetDCLocationInfoResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7909,42 +8014,65 @@ func (m *GetExternalTimestampRequest) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } -func (m *GetExternalTimestampRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetExternalTimestampRequest.Merge(m, src) +func (m *GetDCLocationInfoResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetDCLocationInfoResponse.Merge(m, src) } -func (m *GetExternalTimestampRequest) XXX_Size() int { +func (m *GetDCLocationInfoResponse) XXX_Size() int { return m.Size() } -func (m *GetExternalTimestampRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetExternalTimestampRequest.DiscardUnknown(m) +func (m *GetDCLocationInfoResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetDCLocationInfoResponse.DiscardUnknown(m) } -var xxx_messageInfo_GetExternalTimestampRequest proto.InternalMessageInfo +var xxx_messageInfo_GetDCLocationInfoResponse proto.InternalMessageInfo -func (m *GetExternalTimestampRequest) GetHeader() *RequestHeader { +func (m *GetDCLocationInfoResponse) GetHeader() *ResponseHeader { if m != nil { return m.Header } return nil } -type GetExternalTimestampResponse struct { - Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +func (m *GetDCLocationInfoResponse) GetSuffix() int32 { + if m != nil { + return m.Suffix + } + return 0 } -func (m *GetExternalTimestampResponse) Reset() { *m = GetExternalTimestampResponse{} } -func (m *GetExternalTimestampResponse) String() string { return proto.CompactTextString(m) } -func (*GetExternalTimestampResponse) ProtoMessage() {} -func (*GetExternalTimestampResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{122} +func (m *GetDCLocationInfoResponse) GetMaxTs() *Timestamp { + if m != nil { + return m.MaxTs + } + return nil } -func (m *GetExternalTimestampResponse) XXX_Unmarshal(b []byte) error { + +type QueryStats struct { + GC uint64 `protobuf:"varint,1,opt,name=GC,proto3" json:"GC,omitempty"` + Get uint64 `protobuf:"varint,2,opt,name=Get,proto3" json:"Get,omitempty"` + Scan uint64 `protobuf:"varint,3,opt,name=Scan,proto3" json:"Scan,omitempty"` + Coprocessor uint64 `protobuf:"varint,4,opt,name=Coprocessor,proto3" json:"Coprocessor,omitempty"` + Delete uint64 `protobuf:"varint,5,opt,name=Delete,proto3" json:"Delete,omitempty"` + DeleteRange uint64 `protobuf:"varint,6,opt,name=DeleteRange,proto3" json:"DeleteRange,omitempty"` + Put uint64 `protobuf:"varint,7,opt,name=Put,proto3" json:"Put,omitempty"` + Prewrite uint64 `protobuf:"varint,8,opt,name=Prewrite,proto3" json:"Prewrite,omitempty"` + AcquirePessimisticLock uint64 `protobuf:"varint,9,opt,name=AcquirePessimisticLock,proto3" json:"AcquirePessimisticLock,omitempty"` + Commit uint64 `protobuf:"varint,10,opt,name=Commit,proto3" json:"Commit,omitempty"` + Rollback uint64 `protobuf:"varint,11,opt,name=Rollback,proto3" json:"Rollback,omitempty"` +} + +func (m *QueryStats) Reset() { *m = QueryStats{} } +func (m *QueryStats) String() string { return proto.CompactTextString(m) } +func (*QueryStats) ProtoMessage() {} +func (*QueryStats) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{124} +} +func (m *QueryStats) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetExternalTimestampResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetExternalTimestampResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryStats.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -7954,48 +8082,113 @@ func (m *GetExternalTimestampResponse) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } -func (m *GetExternalTimestampResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetExternalTimestampResponse.Merge(m, src) +func (m *QueryStats) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryStats.Merge(m, src) } -func (m *GetExternalTimestampResponse) XXX_Size() int { +func (m *QueryStats) XXX_Size() int { return m.Size() } -func (m *GetExternalTimestampResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetExternalTimestampResponse.DiscardUnknown(m) +func (m *QueryStats) XXX_DiscardUnknown() { + xxx_messageInfo_QueryStats.DiscardUnknown(m) } -var xxx_messageInfo_GetExternalTimestampResponse proto.InternalMessageInfo +var xxx_messageInfo_QueryStats proto.InternalMessageInfo -func (m *GetExternalTimestampResponse) GetHeader() *ResponseHeader { +func (m *QueryStats) GetGC() uint64 { if m != nil { - return m.Header + return m.GC } - return nil + return 0 } -func (m *GetExternalTimestampResponse) GetTimestamp() uint64 { +func (m *QueryStats) GetGet() uint64 { if m != nil { - return m.Timestamp + return m.Get } return 0 } -type GetMinTSRequest struct { - Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` +func (m *QueryStats) GetScan() uint64 { + if m != nil { + return m.Scan + } + return 0 } -func (m *GetMinTSRequest) Reset() { *m = GetMinTSRequest{} } -func (m *GetMinTSRequest) String() string { return proto.CompactTextString(m) } -func (*GetMinTSRequest) ProtoMessage() {} -func (*GetMinTSRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{123} +func (m *QueryStats) GetCoprocessor() uint64 { + if m != nil { + return m.Coprocessor + } + return 0 } -func (m *GetMinTSRequest) XXX_Unmarshal(b []byte) error { + +func (m *QueryStats) GetDelete() uint64 { + if m != nil { + return m.Delete + } + return 0 +} + +func (m *QueryStats) GetDeleteRange() uint64 { + if m != nil { + return m.DeleteRange + } + return 0 +} + +func (m *QueryStats) GetPut() uint64 { + if m != nil { + return m.Put + } + return 0 +} + +func (m *QueryStats) GetPrewrite() uint64 { + if m != nil { + return m.Prewrite + } + return 0 +} + +func (m *QueryStats) GetAcquirePessimisticLock() uint64 { + if m != nil { + return m.AcquirePessimisticLock + } + return 0 +} + +func (m *QueryStats) GetCommit() uint64 { + if m != nil { + return m.Commit + } + return 0 +} + +func (m *QueryStats) GetRollback() uint64 { + if m != nil { + return m.Rollback + } + return 0 +} + +type ReportBucketsRequest struct { + Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + RegionEpoch *metapb.RegionEpoch `protobuf:"bytes,2,opt,name=region_epoch,json=regionEpoch,proto3" json:"region_epoch,omitempty"` + Buckets *metapb.Buckets `protobuf:"bytes,3,opt,name=buckets,proto3" json:"buckets,omitempty"` +} + +func (m *ReportBucketsRequest) Reset() { *m = ReportBucketsRequest{} } +func (m *ReportBucketsRequest) String() string { return proto.CompactTextString(m) } +func (*ReportBucketsRequest) ProtoMessage() {} +func (*ReportBucketsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{125} +} +func (m *ReportBucketsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetMinTSRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ReportBucketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetMinTSRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_ReportBucketsRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -8005,42 +8198,55 @@ func (m *GetMinTSRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } -func (m *GetMinTSRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMinTSRequest.Merge(m, src) +func (m *ReportBucketsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReportBucketsRequest.Merge(m, src) } -func (m *GetMinTSRequest) XXX_Size() int { +func (m *ReportBucketsRequest) XXX_Size() int { return m.Size() } -func (m *GetMinTSRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetMinTSRequest.DiscardUnknown(m) +func (m *ReportBucketsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ReportBucketsRequest.DiscardUnknown(m) } -var xxx_messageInfo_GetMinTSRequest proto.InternalMessageInfo +var xxx_messageInfo_ReportBucketsRequest proto.InternalMessageInfo -func (m *GetMinTSRequest) GetHeader() *RequestHeader { +func (m *ReportBucketsRequest) GetHeader() *RequestHeader { if m != nil { return m.Header } return nil } -type GetMinTSResponse struct { - Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - Timestamp *Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +func (m *ReportBucketsRequest) GetRegionEpoch() *metapb.RegionEpoch { + if m != nil { + return m.RegionEpoch + } + return nil } -func (m *GetMinTSResponse) Reset() { *m = GetMinTSResponse{} } -func (m *GetMinTSResponse) String() string { return proto.CompactTextString(m) } -func (*GetMinTSResponse) ProtoMessage() {} -func (*GetMinTSResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_78b27e6f04f44c6e, []int{124} +func (m *ReportBucketsRequest) GetBuckets() *metapb.Buckets { + if m != nil { + return m.Buckets + } + return nil } -func (m *GetMinTSResponse) XXX_Unmarshal(b []byte) error { + +type ReportBucketsResponse struct { + Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` +} + +func (m *ReportBucketsResponse) Reset() { *m = ReportBucketsResponse{} } +func (m *ReportBucketsResponse) String() string { return proto.CompactTextString(m) } +func (*ReportBucketsResponse) ProtoMessage() {} +func (*ReportBucketsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{126} +} +func (m *ReportBucketsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetMinTSResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *ReportBucketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetMinTSResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_ReportBucketsResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -8050,51 +8256,436 @@ func (m *GetMinTSResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *GetMinTSResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMinTSResponse.Merge(m, src) +func (m *ReportBucketsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReportBucketsResponse.Merge(m, src) } -func (m *GetMinTSResponse) XXX_Size() int { +func (m *ReportBucketsResponse) XXX_Size() int { return m.Size() } -func (m *GetMinTSResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetMinTSResponse.DiscardUnknown(m) +func (m *ReportBucketsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ReportBucketsResponse.DiscardUnknown(m) } -var xxx_messageInfo_GetMinTSResponse proto.InternalMessageInfo +var xxx_messageInfo_ReportBucketsResponse proto.InternalMessageInfo -func (m *GetMinTSResponse) GetHeader() *ResponseHeader { +func (m *ReportBucketsResponse) GetHeader() *ResponseHeader { if m != nil { return m.Header } return nil } -func (m *GetMinTSResponse) GetTimestamp() *Timestamp { +type ReportMinResolvedTsRequest struct { + Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + StoreId uint64 `protobuf:"varint,2,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"` + MinResolvedTs uint64 `protobuf:"varint,3,opt,name=min_resolved_ts,json=minResolvedTs,proto3" json:"min_resolved_ts,omitempty"` +} + +func (m *ReportMinResolvedTsRequest) Reset() { *m = ReportMinResolvedTsRequest{} } +func (m *ReportMinResolvedTsRequest) String() string { return proto.CompactTextString(m) } +func (*ReportMinResolvedTsRequest) ProtoMessage() {} +func (*ReportMinResolvedTsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{127} +} +func (m *ReportMinResolvedTsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ReportMinResolvedTsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ReportMinResolvedTsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ReportMinResolvedTsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReportMinResolvedTsRequest.Merge(m, src) +} +func (m *ReportMinResolvedTsRequest) XXX_Size() int { + return m.Size() +} +func (m *ReportMinResolvedTsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ReportMinResolvedTsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ReportMinResolvedTsRequest proto.InternalMessageInfo + +func (m *ReportMinResolvedTsRequest) GetHeader() *RequestHeader { if m != nil { - return m.Timestamp + return m.Header } return nil } -func init() { - proto.RegisterEnum("pdpb.EventType", EventType_name, EventType_value) - proto.RegisterEnum("pdpb.ErrorType", ErrorType_name, ErrorType_value) - proto.RegisterEnum("pdpb.ServiceMode", ServiceMode_name, ServiceMode_value) - proto.RegisterEnum("pdpb.CheckPolicy", CheckPolicy_name, CheckPolicy_value) - proto.RegisterEnum("pdpb.ControlGrpcEvent", ControlGrpcEvent_name, ControlGrpcEvent_value) - proto.RegisterEnum("pdpb.OperatorStatus", OperatorStatus_name, OperatorStatus_value) - proto.RegisterEnum("pdpb.QueryKind", QueryKind_name, QueryKind_value) - proto.RegisterType((*WatchGlobalConfigRequest)(nil), "pdpb.WatchGlobalConfigRequest") - proto.RegisterType((*WatchGlobalConfigResponse)(nil), "pdpb.WatchGlobalConfigResponse") - proto.RegisterType((*StoreGlobalConfigRequest)(nil), "pdpb.StoreGlobalConfigRequest") - proto.RegisterType((*StoreGlobalConfigResponse)(nil), "pdpb.StoreGlobalConfigResponse") - proto.RegisterType((*LoadGlobalConfigRequest)(nil), "pdpb.LoadGlobalConfigRequest") - proto.RegisterType((*LoadGlobalConfigResponse)(nil), "pdpb.LoadGlobalConfigResponse") - proto.RegisterType((*GlobalConfigItem)(nil), "pdpb.GlobalConfigItem") - proto.RegisterType((*RequestHeader)(nil), "pdpb.RequestHeader") - proto.RegisterType((*ResponseHeader)(nil), "pdpb.ResponseHeader") - proto.RegisterType((*Error)(nil), "pdpb.Error") - proto.RegisterType((*TsoRequest)(nil), "pdpb.TsoRequest") +func (m *ReportMinResolvedTsRequest) GetStoreId() uint64 { + if m != nil { + return m.StoreId + } + return 0 +} + +func (m *ReportMinResolvedTsRequest) GetMinResolvedTs() uint64 { + if m != nil { + return m.MinResolvedTs + } + return 0 +} + +type ReportMinResolvedTsResponse struct { + Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` +} + +func (m *ReportMinResolvedTsResponse) Reset() { *m = ReportMinResolvedTsResponse{} } +func (m *ReportMinResolvedTsResponse) String() string { return proto.CompactTextString(m) } +func (*ReportMinResolvedTsResponse) ProtoMessage() {} +func (*ReportMinResolvedTsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{128} +} +func (m *ReportMinResolvedTsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ReportMinResolvedTsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ReportMinResolvedTsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ReportMinResolvedTsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReportMinResolvedTsResponse.Merge(m, src) +} +func (m *ReportMinResolvedTsResponse) XXX_Size() int { + return m.Size() +} +func (m *ReportMinResolvedTsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ReportMinResolvedTsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ReportMinResolvedTsResponse proto.InternalMessageInfo + +func (m *ReportMinResolvedTsResponse) GetHeader() *ResponseHeader { + if m != nil { + return m.Header + } + return nil +} + +type SetExternalTimestampRequest struct { + Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (m *SetExternalTimestampRequest) Reset() { *m = SetExternalTimestampRequest{} } +func (m *SetExternalTimestampRequest) String() string { return proto.CompactTextString(m) } +func (*SetExternalTimestampRequest) ProtoMessage() {} +func (*SetExternalTimestampRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{129} +} +func (m *SetExternalTimestampRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SetExternalTimestampRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SetExternalTimestampRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SetExternalTimestampRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetExternalTimestampRequest.Merge(m, src) +} +func (m *SetExternalTimestampRequest) XXX_Size() int { + return m.Size() +} +func (m *SetExternalTimestampRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetExternalTimestampRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SetExternalTimestampRequest proto.InternalMessageInfo + +func (m *SetExternalTimestampRequest) GetHeader() *RequestHeader { + if m != nil { + return m.Header + } + return nil +} + +func (m *SetExternalTimestampRequest) GetTimestamp() uint64 { + if m != nil { + return m.Timestamp + } + return 0 +} + +type SetExternalTimestampResponse struct { + Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` +} + +func (m *SetExternalTimestampResponse) Reset() { *m = SetExternalTimestampResponse{} } +func (m *SetExternalTimestampResponse) String() string { return proto.CompactTextString(m) } +func (*SetExternalTimestampResponse) ProtoMessage() {} +func (*SetExternalTimestampResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{130} +} +func (m *SetExternalTimestampResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SetExternalTimestampResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SetExternalTimestampResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SetExternalTimestampResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetExternalTimestampResponse.Merge(m, src) +} +func (m *SetExternalTimestampResponse) XXX_Size() int { + return m.Size() +} +func (m *SetExternalTimestampResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SetExternalTimestampResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SetExternalTimestampResponse proto.InternalMessageInfo + +func (m *SetExternalTimestampResponse) GetHeader() *ResponseHeader { + if m != nil { + return m.Header + } + return nil +} + +type GetExternalTimestampRequest struct { + Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` +} + +func (m *GetExternalTimestampRequest) Reset() { *m = GetExternalTimestampRequest{} } +func (m *GetExternalTimestampRequest) String() string { return proto.CompactTextString(m) } +func (*GetExternalTimestampRequest) ProtoMessage() {} +func (*GetExternalTimestampRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{131} +} +func (m *GetExternalTimestampRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetExternalTimestampRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetExternalTimestampRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetExternalTimestampRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetExternalTimestampRequest.Merge(m, src) +} +func (m *GetExternalTimestampRequest) XXX_Size() int { + return m.Size() +} +func (m *GetExternalTimestampRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetExternalTimestampRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetExternalTimestampRequest proto.InternalMessageInfo + +func (m *GetExternalTimestampRequest) GetHeader() *RequestHeader { + if m != nil { + return m.Header + } + return nil +} + +type GetExternalTimestampResponse struct { + Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (m *GetExternalTimestampResponse) Reset() { *m = GetExternalTimestampResponse{} } +func (m *GetExternalTimestampResponse) String() string { return proto.CompactTextString(m) } +func (*GetExternalTimestampResponse) ProtoMessage() {} +func (*GetExternalTimestampResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{132} +} +func (m *GetExternalTimestampResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetExternalTimestampResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetExternalTimestampResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetExternalTimestampResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetExternalTimestampResponse.Merge(m, src) +} +func (m *GetExternalTimestampResponse) XXX_Size() int { + return m.Size() +} +func (m *GetExternalTimestampResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetExternalTimestampResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetExternalTimestampResponse proto.InternalMessageInfo + +func (m *GetExternalTimestampResponse) GetHeader() *ResponseHeader { + if m != nil { + return m.Header + } + return nil +} + +func (m *GetExternalTimestampResponse) GetTimestamp() uint64 { + if m != nil { + return m.Timestamp + } + return 0 +} + +type GetMinTSRequest struct { + Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` +} + +func (m *GetMinTSRequest) Reset() { *m = GetMinTSRequest{} } +func (m *GetMinTSRequest) String() string { return proto.CompactTextString(m) } +func (*GetMinTSRequest) ProtoMessage() {} +func (*GetMinTSRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{133} +} +func (m *GetMinTSRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetMinTSRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetMinTSRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetMinTSRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetMinTSRequest.Merge(m, src) +} +func (m *GetMinTSRequest) XXX_Size() int { + return m.Size() +} +func (m *GetMinTSRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetMinTSRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetMinTSRequest proto.InternalMessageInfo + +func (m *GetMinTSRequest) GetHeader() *RequestHeader { + if m != nil { + return m.Header + } + return nil +} + +type GetMinTSResponse struct { + Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` + Timestamp *Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (m *GetMinTSResponse) Reset() { *m = GetMinTSResponse{} } +func (m *GetMinTSResponse) String() string { return proto.CompactTextString(m) } +func (*GetMinTSResponse) ProtoMessage() {} +func (*GetMinTSResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_78b27e6f04f44c6e, []int{134} +} +func (m *GetMinTSResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetMinTSResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetMinTSResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetMinTSResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetMinTSResponse.Merge(m, src) +} +func (m *GetMinTSResponse) XXX_Size() int { + return m.Size() +} +func (m *GetMinTSResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetMinTSResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetMinTSResponse proto.InternalMessageInfo + +func (m *GetMinTSResponse) GetHeader() *ResponseHeader { + if m != nil { + return m.Header + } + return nil +} + +func (m *GetMinTSResponse) GetTimestamp() *Timestamp { + if m != nil { + return m.Timestamp + } + return nil +} + +func init() { + proto.RegisterEnum("pdpb.EventType", EventType_name, EventType_value) + proto.RegisterEnum("pdpb.ErrorType", ErrorType_name, ErrorType_value) + proto.RegisterEnum("pdpb.ServiceMode", ServiceMode_name, ServiceMode_value) + proto.RegisterEnum("pdpb.CheckPolicy", CheckPolicy_name, CheckPolicy_value) + proto.RegisterEnum("pdpb.ControlGrpcEvent", ControlGrpcEvent_name, ControlGrpcEvent_value) + proto.RegisterEnum("pdpb.OperatorStatus", OperatorStatus_name, OperatorStatus_value) + proto.RegisterEnum("pdpb.QueryKind", QueryKind_name, QueryKind_value) + proto.RegisterType((*WatchGlobalConfigRequest)(nil), "pdpb.WatchGlobalConfigRequest") + proto.RegisterType((*WatchGlobalConfigResponse)(nil), "pdpb.WatchGlobalConfigResponse") + proto.RegisterType((*StoreGlobalConfigRequest)(nil), "pdpb.StoreGlobalConfigRequest") + proto.RegisterType((*StoreGlobalConfigResponse)(nil), "pdpb.StoreGlobalConfigResponse") + proto.RegisterType((*LoadGlobalConfigRequest)(nil), "pdpb.LoadGlobalConfigRequest") + proto.RegisterType((*LoadGlobalConfigResponse)(nil), "pdpb.LoadGlobalConfigResponse") + proto.RegisterType((*GlobalConfigItem)(nil), "pdpb.GlobalConfigItem") + proto.RegisterType((*RequestHeader)(nil), "pdpb.RequestHeader") + proto.RegisterType((*ResponseHeader)(nil), "pdpb.ResponseHeader") + proto.RegisterType((*Error)(nil), "pdpb.Error") + proto.RegisterType((*TsoRequest)(nil), "pdpb.TsoRequest") proto.RegisterType((*Timestamp)(nil), "pdpb.Timestamp") proto.RegisterType((*TsoResponse)(nil), "pdpb.TsoResponse") proto.RegisterType((*BootstrapRequest)(nil), "pdpb.BootstrapRequest") @@ -8168,6 +8759,7 @@ func init() { proto.RegisterType((*ScatterRegionResponse)(nil), "pdpb.ScatterRegionResponse") proto.RegisterType((*GetGCSafePointRequest)(nil), "pdpb.GetGCSafePointRequest") proto.RegisterType((*GetGCSafePointResponse)(nil), "pdpb.GetGCSafePointResponse") + proto.RegisterType((*KeyspaceScope)(nil), "pdpb.KeyspaceScope") proto.RegisterType((*UpdateGCSafePointRequest)(nil), "pdpb.UpdateGCSafePointRequest") proto.RegisterType((*UpdateGCSafePointResponse)(nil), "pdpb.UpdateGCSafePointResponse") proto.RegisterType((*UpdateServiceGCSafePointRequest)(nil), "pdpb.UpdateServiceGCSafePointRequest") @@ -8184,6 +8776,15 @@ func init() { proto.RegisterType((*GetAllGCSafePointV2Request)(nil), "pdpb.GetAllGCSafePointV2Request") proto.RegisterType((*GCSafePointV2)(nil), "pdpb.GCSafePointV2") proto.RegisterType((*GetAllGCSafePointV2Response)(nil), "pdpb.GetAllGCSafePointV2Response") + proto.RegisterType((*UpdateTxnSafePointRequest)(nil), "pdpb.UpdateTxnSafePointRequest") + proto.RegisterType((*UpdateTxnSafePointResponse)(nil), "pdpb.UpdateTxnSafePointResponse") + proto.RegisterType((*SetGCBarrierRequest)(nil), "pdpb.SetGCBarrierRequest") + proto.RegisterType((*GCBarrierInfo)(nil), "pdpb.GCBarrierInfo") + proto.RegisterType((*SetGCBarrierResponse)(nil), "pdpb.SetGCBarrierResponse") + proto.RegisterType((*DeleteGCBarrierRequest)(nil), "pdpb.DeleteGCBarrierRequest") + proto.RegisterType((*DeleteGCBarrierResponse)(nil), "pdpb.DeleteGCBarrierResponse") + proto.RegisterType((*GetGCStateRequest)(nil), "pdpb.GetGCStateRequest") + proto.RegisterType((*GetGCStateResponse)(nil), "pdpb.GetGCStateResponse") proto.RegisterType((*RegionStat)(nil), "pdpb.RegionStat") proto.RegisterType((*SyncRegionRequest)(nil), "pdpb.SyncRegionRequest") proto.RegisterType((*PeersStats)(nil), "pdpb.PeersStats") @@ -8215,406 +8816,429 @@ func init() { func init() { proto.RegisterFile("pdpb.proto", fileDescriptor_78b27e6f04f44c6e) } var fileDescriptor_78b27e6f04f44c6e = []byte{ - // 6377 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x7c, 0x4b, 0x73, 0xe4, 0xc8, - 0x71, 0x30, 0xd1, 0x0f, 0xb2, 0x3b, 0xfb, 0x41, 0xb0, 0xc8, 0x19, 0xf6, 0xf4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17, 0x6a, 0xb1, 0x72, 0x97, 0x58, 0x17, 0xd2, 0x6a, 0x75, 0x62, 0x5d, 0x48, 0xad, 0x8f, 0x11, - 0x23, 0x27, 0x13, 0x71, 0xba, 0xcc, 0xd4, 0x13, 0x13, 0x71, 0x76, 0x3d, 0x4c, 0x4c, 0xc4, 0x39, - 0x35, 0x2a, 0x16, 0xc7, 0xa7, 0x55, 0x83, 0x44, 0x1c, 0x3f, 0xa7, 0x26, 0x25, 0xe2, 0xf8, 0x79, - 0xc5, 0x24, 0xd6, 0xc0, 0xce, 0x9c, 0x06, 0x76, 0x2e, 0x6e, 0x60, 0x67, 0x7e, 0x03, 0x2c, 0x51, - 0xa0, 0x95, 0x98, 0x48, 0xa2, 0x10, 0xad, 0xec, 0x44, 0x12, 0x85, 0x58, 0xc1, 0x46, 0x59, 0xd8, - 0xdc, 0xf8, 0xe9, 0x5f, 0x97, 0xa4, 0x7f, 0xf9, 0xf9, 0x0d, 0xe9, 0x27, 0x3f, 0xbf, 0x21, 0xfd, - 0xec, 0xe7, 0x37, 0xa4, 0x1f, 0x7c, 0x7e, 0x63, 0xe1, 0x47, 0x9f, 0xdf, 0x58, 0xf8, 0xc9, 0xe7, - 0x37, 0x16, 0x7e, 0xfa, 0xf9, 0x8d, 0x05, 0x90, 0x5d, 0xef, 0xe4, 0x61, 0x60, 0x9d, 0x9d, 0x3f, - 0x3c, 0x3b, 0xa7, 0xdf, 0x7b, 0x3e, 0x5a, 0xa4, 0x3f, 0xef, 0xfe, 0x4f, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xf8, 0xa5, 0x22, 0x72, 0x7d, 0x5a, 0x00, 0x00, + // 6745 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x3d, 0x4d, 0x93, 0x24, 0xc7, + 0x55, 0x53, 0xdd, 0x3d, 0x1f, 0xfd, 0xfa, 0x63, 0x7a, 0x72, 0x66,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0x6d, 0x90, 0x40, 0x12, 0x3a, 0x56, 0x6c, 0xd2, + 0x70, 0x2e, 0x09, 0xe5, 0x29, 0x90, 0xea, 0x97, 0x60, 0xe9, 0x21, 0x1e, 0x6b, 0x64, 0xcb, 0x1a, + 0xb5, 0x03, 0x25, 0x66, 0x07, 0x52, 0x8f, 0xe7, 0x22, 0x3d, 0xfe, 0xef, 0x0a, 0xac, 0x6f, 0x90, + 0xfd, 0xfc, 0xb3, 0x9a, 0x61, 0xdc, 0xda, 0x73, 0x09, 0x6b, 0xa7, 0x26, 0xc5, 0x36, 0xe1, 0x79, + 0xae, 0x2a, 0xca, 0x4f, 0xb4, 0x40, 0xe3, 0xd8, 0x89, 0xd1, 0x16, 0x64, 0xa3, 0x7d, 0x03, 0x2e, + 0x99, 0xae, 0x13, 0x18, 0xb6, 0xa3, 0x1b, 0xfd, 0x3e, 0x69, 0x8a, 0x4e, 0xe9, 0x69, 0x6f, 0x2f, + 0x69, 0x88, 0x23, 0x9b, 0xfd, 0xbe, 0x60, 0xa8, 0x0e, 0xa1, 0x9e, 0x6c, 0x5b, 0x46, 0x87, 0x18, + 0x76, 0x48, 0x6e, 0x56, 0x87, 0x3c, 0x80, 0xf5, 0x6d, 0x1c, 0x6c, 0xb2, 0x5d, 0x5c, 0x74, 0x57, + 0xff, 0x54, 0x4b, 0x30, 0x1f, 0xea, 0x49, 0x3e, 0x99, 0x24, 0x7f, 0x09, 0x16, 0xf9, 0xa6, 0x92, + 0x0f, 0xd0, 0x70, 0x58, 0x70, 0xee, 0x9a, 0xc0, 0xab, 0x1f, 0xc1, 0x7a, 0x67, 0xf4, 0xec, 0xc2, + 0x3f, 0x4d, 0x95, 0xef, 0x41, 0x3d, 0x59, 0x65, 0x96, 0x76, 0xaa, 0x7f, 0x99, 0x83, 0x85, 0x5d, + 0x3c, 0x38, 0xc0, 0x5e, 0x6a, 0x34, 0xe2, 0x2a, 0x14, 0x07, 0x14, 0x2b, 0x79, 0x6a, 0x06, 0x60, +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34, 0xa3, 0xa4, + 0x5d, 0x1c, 0xc2, 0x72, 0xd3, 0x3f, 0xe1, 0xd2, 0x7d, 0x7a, 0x93, 0xa4, 0xfa, 0x1b, 0x0a, 0xd4, + 0x26, 0x15, 0x65, 0x0c, 0xd4, 0x57, 0x1c, 0x7c, 0xa6, 0xc7, 0x43, 0x30, 0x25, 0x07, 0x9f, 0x69, + 0xc2, 0x1a, 0x6e, 0x91, 0x7d, 0xe9, 0x99, 0xce, 0x07, 0x1e, 0x5b, 0x6c, 0x14, 0x34, 0x70, 0xf0, + 0x59, 0x87, 0x0e, 0x3e, 0x5f, 0xfd, 0x6d, 0x05, 0x90, 0x86, 0x87, 0xae, 0x17, 0x64, 0x6f, 0xb4, + 0x0a, 0x85, 0x3e, 0x3e, 0x0c, 0xa6, 0x34, 0x99, 0xe2, 0xd0, 0xf3, 0x30, 0xef, 0xd9, 0x47, 0xc7, + 0xc1, 0x94, 0x53, 0x1a, 0x86, 0x54, 0x37, 0x61, 0x35, 0x22, 0x4c, 0xa6, 0xcd, 0xd0, 0xb7, 0x15, + 0x58, 0x6b, 0xfa, 0x27, 0xac, 0xbb, 0x3f, 0xed, 0x9e, 0xa4, 0x47, 0x71, 0xd4, 0xcc, 0xd9, 0x89, + 0x99, 0x38, 0x8a, 0x23, 0xa0, 0x4d, 0x02, 0x51, 0xf7, 0x61, 0x91, 0x4a, 0xd1, 0xde, 0x4a, 0x76, + 0x99, 0x72, 0x7e, 0x97, 0xe5, 0x12, 0x5d, 0x76, 0x08, 0x97, 0x62, 0xcd, 0xcb, 0x64, 0x3f, 0x37, + 0x21, 0x2f, 0xf8, 0x97, 0xee, 0x57, 0xa4, 0x61, 0xd9, 0xde, 0xd2, 0x08, 0x46, 0x1d, 0x12, 0x17, + 0x49, 0x3a, 0xe3, 0x19, 0x35, 0x79, 0x27, 0x1e, 0x3e, 0x88, 0xab, 0x32, 0x0c, 0x20, 0xbc, 0x07, + 0xf5, 0x64, 0x8d, 0x99, 0x6c, 0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, 0xb8, 0x92, 0xac, 0xda, 0x8d, 0x03, 0xc7, + 0xf5, 0x06, 0x46, 0x3f, 0xaa, 0xee, 0xaa, 0x00, 0xf3, 0x3c, 0x97, 0x2d, 0x28, 0x6d, 0xba, 0x4e, + 0xe0, 0xb9, 0x7d, 0x32, 0x6d, 0xa0, 0xcf, 0x01, 0x98, 0x81, 0xd7, 0xd7, 0xf1, 0x29, 0x76, 0x02, + 0x1e, 0xbf, 0xe2, 0x59, 0xbf, 0x12, 0x19, 0xcd, 0xaa, 0xd5, 0x8a, 0x84, 0x92, 0xfe, 0x54, 0xff, + 0x2e, 0x0f, 0x97, 0xe3, 0xc3, 0xe9, 0xa7, 0x27, 0x95, 0x88, 0x68, 0x43, 0xe4, 0xcc, 0x8a, 0x13, + 0x32, 0x96, 0x5c, 0x5a, 0xe5, 0x60, 0x71, 0x44, 0xf6, 0x0e, 0xac, 0x7b, 0xf8, 0xa3, 0x91, 0xed, + 0x61, 0xdd, 0xc2, 0x01, 0xb3, 0x56, 0x3e, 0x64, 0xa9, 0x13, 0xa3, 0x36, 0x71, 0x89, 0x93, 0x6c, + 0x71, 0x0a, 0x3e, 0x5a, 0x7f, 0x96, 0x2c, 0xb9, 0x98, 0x25, 0xea, 0xc3, 0xbe, 0xe1, 0xf0, 0xee, + 0x44, 0x93, 0x55, 0x90, 0x30, 0x52, 0xad, 0xec, 0xc9, 0x26, 0xfb, 0x0e, 0x54, 0x0d, 0xda, 0x79, + 0x62, 0x19, 0xc2, 0x63, 0x48, 0xdc, 0xf3, 0x44, 0x3a, 0x56, 0xab, 0x18, 0x91, 0x7e, 0x7e, 0x0b, + 0xca, 0x26, 0xeb, 0x17, 0xba, 0x16, 0xe0, 0x41, 0xa5, 0x95, 0x44, 0x8f, 0x69, 0x25, 0x73, 0xf2, + 0xa1, 0xfe, 0x43, 0x0e, 0xd6, 0xba, 0xa6, 0x11, 0x04, 0xc4, 0x49, 0x66, 0xce, 0x39, 0xba, 0x99, + 0xc8, 0x62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x10, 0x76, 0xda, 0xd3, 0xf6, 0x8d, 0x9b, 0x53, 0xf1, 0x92, 0xfb, 0xdc, + 0x81, 0x4a, 0x24, 0x4e, 0x28, 0x26, 0xd4, 0xb4, 0x20, 0xa7, 0x98, 0x50, 0x53, 0x03, 0x8b, 0xc4, + 0xc8, 0x89, 0x07, 0x4b, 0xc6, 0xe7, 0xba, 0xc2, 0x83, 0x4d, 0x0f, 0x24, 0x0a, 0x0f, 0x36, 0x23, + 0xb8, 0xc7, 0x36, 0x40, 0x69, 0x61, 0x34, 0xb1, 0x01, 0x9a, 0x11, 0xcc, 0x13, 0x1b, 0xa0, 0x59, + 0x51, 0x38, 0x56, 0xc1, 0xf6, 0x8c, 0x0a, 0xb6, 0xcf, 0xaf, 0x60, 0x7b, 0x76, 0x05, 0x6c, 0x87, + 0x45, 0x43, 0x58, 0xd2, 0x0e, 0x4b, 0x0e, 0x89, 0x49, 0x3b, 0xac, 0x48, 0xa4, 0x4b, 0x9d, 0xdb, + 0xb8, 0xff, 0xa3, 0xbf, 0x59, 0x52, 0xfe, 0xed, 0x27, 0x37, 0x94, 0x1f, 0xfe, 0xe4, 0x86, 0xf2, + 0xe3, 0x9f, 0xdc, 0x50, 0xbe, 0xfb, 0xf1, 0x8d, 0xb9, 0xef, 0x7f, 0x7c, 0x63, 0xee, 0x87, 0x1f, + 0xdf, 0x98, 0xfb, 0xd1, 0xc7, 0x37, 0xe6, 0xa0, 0xe6, 0x7a, 0x47, 0xf7, 0x02, 0xfb, 0xe4, 0xf4, + 0xde, 0xc9, 0x29, 0xfd, 0xd7, 0x07, 0x07, 0x0b, 0xf4, 0xcf, 0x9b, 0xff, 0x1f, 0x00, 0x00, 0xff, + 0xff, 0xa2, 0x8f, 0x02, 0xea, 0x88, 0x61, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -8666,6 +9290,10 @@ type PDClient interface { UpdateGCSafePointV2(ctx context.Context, in *UpdateGCSafePointV2Request, opts ...grpc.CallOption) (*UpdateGCSafePointV2Response, error) UpdateServiceSafePointV2(ctx context.Context, in *UpdateServiceSafePointV2Request, opts ...grpc.CallOption) (*UpdateServiceSafePointV2Response, error) GetAllGCSafePointV2(ctx context.Context, in *GetAllGCSafePointV2Request, opts ...grpc.CallOption) (*GetAllGCSafePointV2Response, error) + UpdateTxnSafePoint(ctx context.Context, in *UpdateTxnSafePointRequest, opts ...grpc.CallOption) (*UpdateTxnSafePointResponse, error) + SetGCBarrier(ctx context.Context, in *SetGCBarrierRequest, opts ...grpc.CallOption) (*SetGCBarrierResponse, error) + DeleteGCBarrier(ctx context.Context, in *DeleteGCBarrierRequest, opts ...grpc.CallOption) (*DeleteGCBarrierResponse, error) + GetGCState(ctx context.Context, in *GetGCStateRequest, opts ...grpc.CallOption) (*GetGCStateResponse, error) SyncRegions(ctx context.Context, opts ...grpc.CallOption) (PD_SyncRegionsClient, error) GetOperator(ctx context.Context, in *GetOperatorRequest, opts ...grpc.CallOption) (*GetOperatorResponse, error) SyncMaxTS(ctx context.Context, in *SyncMaxTSRequest, opts ...grpc.CallOption) (*SyncMaxTSResponse, error) @@ -9050,6 +9678,42 @@ func (c *pDClient) GetAllGCSafePointV2(ctx context.Context, in *GetAllGCSafePoin return out, nil } +func (c *pDClient) UpdateTxnSafePoint(ctx context.Context, in *UpdateTxnSafePointRequest, opts ...grpc.CallOption) (*UpdateTxnSafePointResponse, error) { + out := new(UpdateTxnSafePointResponse) + err := c.cc.Invoke(ctx, "/pdpb.PD/UpdateTxnSafePoint", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *pDClient) SetGCBarrier(ctx context.Context, in *SetGCBarrierRequest, opts ...grpc.CallOption) (*SetGCBarrierResponse, error) { + out := new(SetGCBarrierResponse) + err := c.cc.Invoke(ctx, "/pdpb.PD/SetGCBarrier", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *pDClient) DeleteGCBarrier(ctx context.Context, in *DeleteGCBarrierRequest, opts ...grpc.CallOption) (*DeleteGCBarrierResponse, error) { + out := new(DeleteGCBarrierResponse) + err := c.cc.Invoke(ctx, "/pdpb.PD/DeleteGCBarrier", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *pDClient) GetGCState(ctx context.Context, in *GetGCStateRequest, opts ...grpc.CallOption) (*GetGCStateResponse, error) { + out := new(GetGCStateResponse) + err := c.cc.Invoke(ctx, "/pdpb.PD/GetGCState", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *pDClient) SyncRegions(ctx context.Context, opts ...grpc.CallOption) (PD_SyncRegionsClient, error) { stream, err := c.cc.NewStream(ctx, &_PD_serviceDesc.Streams[3], "/pdpb.PD/SyncRegions", opts...) if err != nil { @@ -9285,6 +9949,10 @@ type PDServer interface { UpdateGCSafePointV2(context.Context, *UpdateGCSafePointV2Request) (*UpdateGCSafePointV2Response, error) UpdateServiceSafePointV2(context.Context, *UpdateServiceSafePointV2Request) (*UpdateServiceSafePointV2Response, error) GetAllGCSafePointV2(context.Context, *GetAllGCSafePointV2Request) (*GetAllGCSafePointV2Response, error) + UpdateTxnSafePoint(context.Context, *UpdateTxnSafePointRequest) (*UpdateTxnSafePointResponse, error) + SetGCBarrier(context.Context, *SetGCBarrierRequest) (*SetGCBarrierResponse, error) + DeleteGCBarrier(context.Context, *DeleteGCBarrierRequest) (*DeleteGCBarrierResponse, error) + GetGCState(context.Context, *GetGCStateRequest) (*GetGCStateResponse, error) SyncRegions(PD_SyncRegionsServer) error GetOperator(context.Context, *GetOperatorRequest) (*GetOperatorResponse, error) SyncMaxTS(context.Context, *SyncMaxTSRequest) (*SyncMaxTSResponse, error) @@ -9404,6 +10072,18 @@ func (*UnimplementedPDServer) UpdateServiceSafePointV2(ctx context.Context, req func (*UnimplementedPDServer) GetAllGCSafePointV2(ctx context.Context, req *GetAllGCSafePointV2Request) (*GetAllGCSafePointV2Response, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAllGCSafePointV2 not implemented") } +func (*UnimplementedPDServer) UpdateTxnSafePoint(ctx context.Context, req *UpdateTxnSafePointRequest) (*UpdateTxnSafePointResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateTxnSafePoint not implemented") +} +func (*UnimplementedPDServer) SetGCBarrier(ctx context.Context, req *SetGCBarrierRequest) (*SetGCBarrierResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetGCBarrier not implemented") +} +func (*UnimplementedPDServer) DeleteGCBarrier(ctx context.Context, req *DeleteGCBarrierRequest) (*DeleteGCBarrierResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteGCBarrier not implemented") +} +func (*UnimplementedPDServer) GetGCState(ctx context.Context, req *GetGCStateRequest) (*GetGCStateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetGCState not implemented") +} func (*UnimplementedPDServer) SyncRegions(srv PD_SyncRegionsServer) error { return status.Errorf(codes.Unimplemented, "method SyncRegions not implemented") } @@ -9992,56 +10672,128 @@ func (x *pDWatchGCSafePointV2Server) Send(m *WatchGCSafePointV2Response) error { return x.ServerStream.SendMsg(m) } -func _PD_UpdateGCSafePointV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateGCSafePointV2Request) +func _PD_UpdateGCSafePointV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateGCSafePointV2Request) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(PDServer).UpdateGCSafePointV2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pdpb.PD/UpdateGCSafePointV2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(PDServer).UpdateGCSafePointV2(ctx, req.(*UpdateGCSafePointV2Request)) + } + return interceptor(ctx, in, info, handler) +} + +func _PD_UpdateServiceSafePointV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateServiceSafePointV2Request) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(PDServer).UpdateServiceSafePointV2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pdpb.PD/UpdateServiceSafePointV2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(PDServer).UpdateServiceSafePointV2(ctx, req.(*UpdateServiceSafePointV2Request)) + } + return interceptor(ctx, in, info, handler) +} + +func _PD_GetAllGCSafePointV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAllGCSafePointV2Request) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(PDServer).GetAllGCSafePointV2(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pdpb.PD/GetAllGCSafePointV2", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(PDServer).GetAllGCSafePointV2(ctx, req.(*GetAllGCSafePointV2Request)) + } + return interceptor(ctx, in, info, handler) +} + +func _PD_UpdateTxnSafePoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateTxnSafePointRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(PDServer).UpdateTxnSafePoint(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/pdpb.PD/UpdateTxnSafePoint", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(PDServer).UpdateTxnSafePoint(ctx, req.(*UpdateTxnSafePointRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _PD_SetGCBarrier_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetGCBarrierRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(PDServer).UpdateGCSafePointV2(ctx, in) + return srv.(PDServer).SetGCBarrier(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pdpb.PD/UpdateGCSafePointV2", + FullMethod: "/pdpb.PD/SetGCBarrier", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PDServer).UpdateGCSafePointV2(ctx, req.(*UpdateGCSafePointV2Request)) + return srv.(PDServer).SetGCBarrier(ctx, req.(*SetGCBarrierRequest)) } return interceptor(ctx, in, info, handler) } -func _PD_UpdateServiceSafePointV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UpdateServiceSafePointV2Request) +func _PD_DeleteGCBarrier_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteGCBarrierRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(PDServer).UpdateServiceSafePointV2(ctx, in) + return srv.(PDServer).DeleteGCBarrier(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pdpb.PD/UpdateServiceSafePointV2", + FullMethod: "/pdpb.PD/DeleteGCBarrier", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PDServer).UpdateServiceSafePointV2(ctx, req.(*UpdateServiceSafePointV2Request)) + return srv.(PDServer).DeleteGCBarrier(ctx, req.(*DeleteGCBarrierRequest)) } return interceptor(ctx, in, info, handler) } -func _PD_GetAllGCSafePointV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetAllGCSafePointV2Request) +func _PD_GetGCState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetGCStateRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(PDServer).GetAllGCSafePointV2(ctx, in) + return srv.(PDServer).GetGCState(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pdpb.PD/GetAllGCSafePointV2", + FullMethod: "/pdpb.PD/GetGCState", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PDServer).GetAllGCSafePointV2(ctx, req.(*GetAllGCSafePointV2Request)) + return srv.(PDServer).GetGCState(ctx, req.(*GetGCStateRequest)) } return interceptor(ctx, in, info, handler) } @@ -10437,6 +11189,22 @@ var _PD_serviceDesc = grpc.ServiceDesc{ MethodName: "GetAllGCSafePointV2", Handler: _PD_GetAllGCSafePointV2_Handler, }, + { + MethodName: "UpdateTxnSafePoint", + Handler: _PD_UpdateTxnSafePoint_Handler, + }, + { + MethodName: "SetGCBarrier", + Handler: _PD_SetGCBarrier_Handler, + }, + { + MethodName: "DeleteGCBarrier", + Handler: _PD_DeleteGCBarrier_Handler, + }, + { + MethodName: "GetGCState", + Handler: _PD_GetGCState_Handler, + }, { MethodName: "GetOperator", Handler: _PD_GetOperator_Handler, @@ -10587,29 +11355,250 @@ func (m *WatchGlobalConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, erro i-- dAtA[i] = 0x1a } - if m.Revision != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.Revision)) + if m.Revision != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Revision)) + i-- + dAtA[i] = 0x10 + } + if len(m.Changes) > 0 { + for iNdEx := len(m.Changes) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Changes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *StoreGlobalConfigRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StoreGlobalConfigRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *StoreGlobalConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ConfigPath) > 0 { + i -= len(m.ConfigPath) + copy(dAtA[i:], m.ConfigPath) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.ConfigPath))) + i-- + dAtA[i] = 0x12 + } + if len(m.Changes) > 0 { + for iNdEx := len(m.Changes) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Changes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *StoreGlobalConfigResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StoreGlobalConfigResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *StoreGlobalConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Error != nil { + { + size, err := m.Error.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *LoadGlobalConfigRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *LoadGlobalConfigRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *LoadGlobalConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ConfigPath) > 0 { + i -= len(m.ConfigPath) + copy(dAtA[i:], m.ConfigPath) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.ConfigPath))) + i-- + dAtA[i] = 0x12 + } + if len(m.Names) > 0 { + for iNdEx := len(m.Names) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Names[iNdEx]) + copy(dAtA[i:], m.Names[iNdEx]) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.Names[iNdEx]))) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *LoadGlobalConfigResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *LoadGlobalConfigResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *LoadGlobalConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Revision != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Revision)) + i-- + dAtA[i] = 0x10 + } + if len(m.Items) > 0 { + for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GlobalConfigItem) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GlobalConfigItem) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GlobalConfigItem) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Payload) > 0 { + i -= len(m.Payload) + copy(dAtA[i:], m.Payload) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.Payload))) + i-- + dAtA[i] = 0x2a + } + if m.Kind != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Kind)) + i-- + dAtA[i] = 0x20 + } + if m.Error != nil { + { + size, err := m.Error.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Value) > 0 { + i -= len(m.Value) + copy(dAtA[i:], m.Value) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.Value))) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if len(m.Changes) > 0 { - for iNdEx := len(m.Changes) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Changes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *StoreGlobalConfigRequest) Marshal() (dAtA []byte, err error) { +func (m *RequestHeader) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -10619,41 +11608,44 @@ func (m *StoreGlobalConfigRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *StoreGlobalConfigRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *RequestHeader) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *StoreGlobalConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *RequestHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.ConfigPath) > 0 { - i -= len(m.ConfigPath) - copy(dAtA[i:], m.ConfigPath) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.ConfigPath))) + if len(m.CallerComponent) > 0 { + i -= len(m.CallerComponent) + copy(dAtA[i:], m.CallerComponent) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.CallerComponent))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x22 } - if len(m.Changes) > 0 { - for iNdEx := len(m.Changes) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Changes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } + if len(m.CallerId) > 0 { + i -= len(m.CallerId) + copy(dAtA[i:], m.CallerId) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.CallerId))) + i-- + dAtA[i] = 0x1a + } + if m.SenderId != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.SenderId)) + i-- + dAtA[i] = 0x10 + } + if m.ClusterId != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.ClusterId)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *StoreGlobalConfigResponse) Marshal() (dAtA []byte, err error) { +func (m *ResponseHeader) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -10663,12 +11655,12 @@ func (m *StoreGlobalConfigResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *StoreGlobalConfigResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *ResponseHeader) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *StoreGlobalConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ResponseHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -10683,12 +11675,17 @@ func (m *StoreGlobalConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, erro i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 + } + if m.ClusterId != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.ClusterId)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *LoadGlobalConfigRequest) Marshal() (dAtA []byte, err error) { +func (m *Error) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -10698,36 +11695,32 @@ func (m *LoadGlobalConfigRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *LoadGlobalConfigRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *Error) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *LoadGlobalConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Error) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.ConfigPath) > 0 { - i -= len(m.ConfigPath) - copy(dAtA[i:], m.ConfigPath) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.ConfigPath))) + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.Message))) i-- dAtA[i] = 0x12 } - if len(m.Names) > 0 { - for iNdEx := len(m.Names) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Names[iNdEx]) - copy(dAtA[i:], m.Names[iNdEx]) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.Names[iNdEx]))) - i-- - dAtA[i] = 0xa - } + if m.Type != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Type)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *LoadGlobalConfigResponse) Marshal() (dAtA []byte, err error) { +func (m *TsoRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -10737,39 +11730,44 @@ func (m *LoadGlobalConfigResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *LoadGlobalConfigResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *TsoRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *LoadGlobalConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *TsoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Revision != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.Revision)) + if len(m.DcLocation) > 0 { + i -= len(m.DcLocation) + copy(dAtA[i:], m.DcLocation) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.DcLocation))) + i-- + dAtA[i] = 0x1a + } + if m.Count != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Count)) i-- dAtA[i] = 0x10 } - if len(m.Items) > 0 { - for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0xa + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *GlobalConfigItem) Marshal() (dAtA []byte, err error) { +func (m *Timestamp) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -10779,31 +11777,57 @@ func (m *GlobalConfigItem) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GlobalConfigItem) MarshalTo(dAtA []byte) (int, error) { +func (m *Timestamp) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GlobalConfigItem) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Timestamp) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Payload) > 0 { - i -= len(m.Payload) - copy(dAtA[i:], m.Payload) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.Payload))) + if m.SuffixBits != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.SuffixBits)) i-- - dAtA[i] = 0x2a + dAtA[i] = 0x18 } - if m.Kind != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.Kind)) + if m.Logical != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Logical)) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x10 } - if m.Error != nil { + if m.Physical != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Physical)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *TsoResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TsoResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TsoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Timestamp != nil { { - size, err := m.Error.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Timestamp.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -10813,24 +11837,27 @@ func (m *GlobalConfigItem) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1a } - if len(m.Value) > 0 { - i -= len(m.Value) - copy(dAtA[i:], m.Value) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.Value))) + if m.Count != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Count)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x10 } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.Name))) + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *RequestHeader) Marshal() (dAtA []byte, err error) { +func (m *BootstrapRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -10840,44 +11867,56 @@ func (m *RequestHeader) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *RequestHeader) MarshalTo(dAtA []byte) (int, error) { +func (m *BootstrapRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *RequestHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *BootstrapRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.CallerComponent) > 0 { - i -= len(m.CallerComponent) - copy(dAtA[i:], m.CallerComponent) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.CallerComponent))) - i-- - dAtA[i] = 0x22 - } - if len(m.CallerId) > 0 { - i -= len(m.CallerId) - copy(dAtA[i:], m.CallerId) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.CallerId))) + if m.Region != nil { + { + size, err := m.Region.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0x1a } - if m.SenderId != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.SenderId)) + if m.Store != nil { + { + size, err := m.Store.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if m.ClusterId != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.ClusterId)) + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ResponseHeader) Marshal() (dAtA []byte, err error) { +func (m *BootstrapResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -10887,19 +11926,19 @@ func (m *ResponseHeader) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ResponseHeader) MarshalTo(dAtA []byte) (int, error) { +func (m *BootstrapResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ResponseHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *BootstrapResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Error != nil { + if m.ReplicationStatus != nil { { - size, err := m.Error.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.ReplicationStatus.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -10909,15 +11948,22 @@ func (m *ResponseHeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if m.ClusterId != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.ClusterId)) + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *Error) Marshal() (dAtA []byte, err error) { +func (m *IsBootstrappedRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -10927,32 +11973,32 @@ func (m *Error) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Error) MarshalTo(dAtA []byte) (int, error) { +func (m *IsBootstrappedRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Error) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *IsBootstrappedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.Message))) - i-- - dAtA[i] = 0x12 - } - if m.Type != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.Type)) + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *TsoRequest) Marshal() (dAtA []byte, err error) { +func (m *IsBootstrappedResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -10962,25 +12008,23 @@ func (m *TsoRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *TsoRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *IsBootstrappedResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *TsoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *IsBootstrappedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.DcLocation) > 0 { - i -= len(m.DcLocation) - copy(dAtA[i:], m.DcLocation) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.DcLocation))) + if m.Bootstrapped { i-- - dAtA[i] = 0x1a - } - if m.Count != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.Count)) + if m.Bootstrapped { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } i-- dAtA[i] = 0x10 } @@ -10999,7 +12043,7 @@ func (m *TsoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Timestamp) Marshal() (dAtA []byte, err error) { +func (m *AllocIDRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -11009,35 +12053,32 @@ func (m *Timestamp) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Timestamp) MarshalTo(dAtA []byte) (int, error) { +func (m *AllocIDRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Timestamp) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *AllocIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.SuffixBits != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.SuffixBits)) - i-- - dAtA[i] = 0x18 - } - if m.Logical != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.Logical)) - i-- - dAtA[i] = 0x10 - } - if m.Physical != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.Physical)) + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *TsoResponse) Marshal() (dAtA []byte, err error) { +func (m *AllocIDResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -11047,30 +12088,18 @@ func (m *TsoResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *TsoResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *AllocIDResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *TsoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *AllocIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Timestamp != nil { - { - size, err := m.Timestamp.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Count != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.Count)) + if m.Id != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Id)) i-- dAtA[i] = 0x10 } @@ -11089,7 +12118,7 @@ func (m *TsoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *BootstrapRequest) Marshal() (dAtA []byte, err error) { +func (m *IsSnapshotRecoveringRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -11099,19 +12128,19 @@ func (m *BootstrapRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *BootstrapRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *IsSnapshotRecoveringRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *BootstrapRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *IsSnapshotRecoveringRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Region != nil { + if m.Header != nil { { - size, err := m.Region.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -11119,19 +12148,40 @@ func (m *BootstrapRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1a + dAtA[i] = 0xa } - if m.Store != nil { - { - size, err := m.Store.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) + return len(dAtA) - i, nil +} + +func (m *IsSnapshotRecoveringResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *IsSnapshotRecoveringResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *IsSnapshotRecoveringResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Marked { + i-- + if m.Marked { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x10 } if m.Header != nil { { @@ -11148,7 +12198,7 @@ func (m *BootstrapRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *BootstrapResponse) Marshal() (dAtA []byte, err error) { +func (m *GetStoreRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -11158,27 +12208,20 @@ func (m *BootstrapResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *BootstrapResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *GetStoreRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *BootstrapResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetStoreRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.ReplicationStatus != nil { - { - size, err := m.ReplicationStatus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } + if m.StoreId != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.StoreId)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x10 } if m.Header != nil { { @@ -11195,7 +12238,7 @@ func (m *BootstrapResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *IsBootstrappedRequest) Marshal() (dAtA []byte, err error) { +func (m *GetStoreResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -11205,16 +12248,40 @@ func (m *IsBootstrappedRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *IsBootstrappedRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *GetStoreResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *IsBootstrappedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetStoreResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.Stats != nil { + { + size, err := m.Stats.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Store != nil { + { + size, err := m.Store.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } if m.Header != nil { { size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) @@ -11230,7 +12297,7 @@ func (m *IsBootstrappedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *IsBootstrappedResponse) Marshal() (dAtA []byte, err error) { +func (m *PutStoreRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -11240,25 +12307,27 @@ func (m *IsBootstrappedResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *IsBootstrappedResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *PutStoreRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *IsBootstrappedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PutStoreRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Bootstrapped { - i-- - if m.Bootstrapped { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + if m.Store != nil { + { + size, err := m.Store.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } if m.Header != nil { { @@ -11275,7 +12344,7 @@ func (m *IsBootstrappedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *AllocIDRequest) Marshal() (dAtA []byte, err error) { +func (m *PutStoreResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -11285,16 +12354,28 @@ func (m *AllocIDRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *AllocIDRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *PutStoreResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *AllocIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PutStoreResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.ReplicationStatus != nil { + { + size, err := m.ReplicationStatus.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } if m.Header != nil { { size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) @@ -11310,7 +12391,7 @@ func (m *AllocIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *AllocIDResponse) Marshal() (dAtA []byte, err error) { +func (m *GetAllStoresRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -11320,18 +12401,23 @@ func (m *AllocIDResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *AllocIDResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *GetAllStoresRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *AllocIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetAllStoresRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Id != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.Id)) + if m.ExcludeTombstoneStores { + i-- + if m.ExcludeTombstoneStores { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } i-- dAtA[i] = 0x10 } @@ -11350,7 +12436,7 @@ func (m *AllocIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *IsSnapshotRecoveringRequest) Marshal() (dAtA []byte, err error) { +func (m *GetAllStoresResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -11360,16 +12446,30 @@ func (m *IsSnapshotRecoveringRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *IsSnapshotRecoveringRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *GetAllStoresResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *IsSnapshotRecoveringRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetAllStoresResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if len(m.Stores) > 0 { + for iNdEx := len(m.Stores) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Stores[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } if m.Header != nil { { size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) @@ -11385,7 +12485,7 @@ func (m *IsSnapshotRecoveringRequest) MarshalToSizedBuffer(dAtA []byte) (int, er return len(dAtA) - i, nil } -func (m *IsSnapshotRecoveringResponse) Marshal() (dAtA []byte, err error) { +func (m *GetRegionRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -11395,25 +12495,32 @@ func (m *IsSnapshotRecoveringResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *IsSnapshotRecoveringResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *GetRegionRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *IsSnapshotRecoveringResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetRegionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Marked { + if m.NeedBuckets { i-- - if m.Marked { + if m.NeedBuckets { dAtA[i] = 1 } else { dAtA[i] = 0 } i-- - dAtA[i] = 0x10 + dAtA[i] = 0x18 + } + if len(m.RegionKey) > 0 { + i -= len(m.RegionKey) + copy(dAtA[i:], m.RegionKey) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.RegionKey))) + i-- + dAtA[i] = 0x12 } if m.Header != nil { { @@ -11430,7 +12537,7 @@ func (m *IsSnapshotRecoveringResponse) MarshalToSizedBuffer(dAtA []byte) (int, e return len(dAtA) - i, nil } -func (m *GetStoreRequest) Marshal() (dAtA []byte, err error) { +func (m *GetRegionResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -11440,20 +12547,79 @@ func (m *GetStoreRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetStoreRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *GetRegionResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetStoreRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetRegionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.StoreId != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.StoreId)) + if m.Buckets != nil { + { + size, err := m.Buckets.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x10 + dAtA[i] = 0x3a + } + if len(m.PendingPeers) > 0 { + for iNdEx := len(m.PendingPeers) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.PendingPeers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + } + if len(m.DownPeers) > 0 { + for iNdEx := len(m.DownPeers) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.DownPeers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + } + if m.Leader != nil { + { + size, err := m.Leader.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Region != nil { + { + size, err := m.Region.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } if m.Header != nil { { @@ -11470,7 +12636,7 @@ func (m *GetStoreRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetStoreResponse) Marshal() (dAtA []byte, err error) { +func (m *GetRegionByIDRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -11480,39 +12646,30 @@ func (m *GetStoreResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetStoreResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *GetRegionByIDRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetStoreResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetRegionByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Stats != nil { - { - size, err := m.Stats.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) + if m.NeedBuckets { + i-- + if m.NeedBuckets { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } - if m.Store != nil { - { - size, err := m.Store.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } + if m.RegionId != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.RegionId)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x10 } if m.Header != nil { { @@ -11529,7 +12686,7 @@ func (m *GetStoreResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *PutStoreRequest) Marshal() (dAtA []byte, err error) { +func (m *ScanRegionsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -11539,25 +12696,32 @@ func (m *PutStoreRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PutStoreRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *ScanRegionsRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PutStoreRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ScanRegionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Store != nil { - { - size, err := m.Store.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } + if len(m.EndKey) > 0 { + i -= len(m.EndKey) + copy(dAtA[i:], m.EndKey) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.EndKey))) + i-- + dAtA[i] = 0x22 + } + if m.Limit != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Limit)) + i-- + dAtA[i] = 0x18 + } + if len(m.StartKey) > 0 { + i -= len(m.StartKey) + copy(dAtA[i:], m.StartKey) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.StartKey))) i-- dAtA[i] = 0x12 } @@ -11576,7 +12740,7 @@ func (m *PutStoreRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *PutStoreResponse) Marshal() (dAtA []byte, err error) { +func (m *Region) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -11586,19 +12750,59 @@ func (m *PutStoreResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PutStoreResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *Region) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PutStoreResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Region) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.ReplicationStatus != nil { + if m.Buckets != nil { + { + size, err := m.Buckets.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if len(m.PendingPeers) > 0 { + for iNdEx := len(m.PendingPeers) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.PendingPeers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + } + if len(m.DownPeers) > 0 { + for iNdEx := len(m.DownPeers) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.DownPeers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + } + if m.Leader != nil { { - size, err := m.ReplicationStatus.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Leader.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -11608,9 +12812,9 @@ func (m *PutStoreResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if m.Header != nil { + if m.Region != nil { { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Region.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -11623,7 +12827,7 @@ func (m *PutStoreResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetAllStoresRequest) Marshal() (dAtA []byte, err error) { +func (m *ScanRegionsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -11633,25 +12837,57 @@ func (m *GetAllStoresRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetAllStoresRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *ScanRegionsResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetAllStoresRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ScanRegionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.ExcludeTombstoneStores { - i-- - if m.ExcludeTombstoneStores { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + if len(m.Regions) > 0 { + for iNdEx := len(m.Regions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Regions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + } + if len(m.Leaders) > 0 { + for iNdEx := len(m.Leaders) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Leaders[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + } + if len(m.RegionMetas) > 0 { + for iNdEx := len(m.RegionMetas) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.RegionMetas[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - i-- - dAtA[i] = 0x10 } if m.Header != nil { { @@ -11668,7 +12904,7 @@ func (m *GetAllStoresRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetAllStoresResponse) Marshal() (dAtA []byte, err error) { +func (m *KeyRange) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -11678,46 +12914,34 @@ func (m *GetAllStoresResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetAllStoresResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyRange) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetAllStoresResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyRange) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Stores) > 0 { - for iNdEx := len(m.Stores) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Stores[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } + if len(m.EndKey) > 0 { + i -= len(m.EndKey) + copy(dAtA[i:], m.EndKey) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.EndKey))) + i-- + dAtA[i] = 0x12 } - if m.Header != nil { - { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } + if len(m.StartKey) > 0 { + i -= len(m.StartKey) + copy(dAtA[i:], m.StartKey) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.StartKey))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *GetRegionRequest) Marshal() (dAtA []byte, err error) { +func (m *BatchScanRegionsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -11727,32 +12951,54 @@ func (m *GetRegionRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetRegionRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *BatchScanRegionsRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetRegionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *BatchScanRegionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.NeedBuckets { + if m.ContainAllKeyRange { i-- - if m.NeedBuckets { + if m.ContainAllKeyRange { dAtA[i] = 1 } else { dAtA[i] = 0 } i-- - dAtA[i] = 0x18 + dAtA[i] = 0x28 } - if len(m.RegionKey) > 0 { - i -= len(m.RegionKey) - copy(dAtA[i:], m.RegionKey) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.RegionKey))) + if m.Limit != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Limit)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x20 + } + if len(m.Ranges) > 0 { + for iNdEx := len(m.Ranges) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Ranges[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + } + if m.NeedBuckets { + i-- + if m.NeedBuckets { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 } if m.Header != nil { { @@ -11769,7 +13015,7 @@ func (m *GetRegionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetRegionResponse) Marshal() (dAtA []byte, err error) { +func (m *BatchScanRegionsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -11779,46 +13025,20 @@ func (m *GetRegionResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetRegionResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *BatchScanRegionsResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetRegionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *BatchScanRegionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Buckets != nil { - { - size, err := m.Buckets.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if len(m.PendingPeers) > 0 { - for iNdEx := len(m.PendingPeers) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.PendingPeers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - } - if len(m.DownPeers) > 0 { - for iNdEx := len(m.DownPeers) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Regions) > 0 { + for iNdEx := len(m.Regions) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.DownPeers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Regions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -11826,32 +13046,8 @@ func (m *GetRegionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x2a - } - } - if m.Leader != nil { - { - size, err := m.Leader.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Region != nil { - { - size, err := m.Region.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) + dAtA[i] = 0x12 } - i-- - dAtA[i] = 0x12 } if m.Header != nil { { @@ -11868,7 +13064,7 @@ func (m *GetRegionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetRegionByIDRequest) Marshal() (dAtA []byte, err error) { +func (m *GetClusterConfigRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -11878,31 +13074,16 @@ func (m *GetRegionByIDRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetRegionByIDRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *GetClusterConfigRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetRegionByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetClusterConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.NeedBuckets { - i-- - if m.NeedBuckets { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 - } - if m.RegionId != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.RegionId)) - i-- - dAtA[i] = 0x10 - } if m.Header != nil { { size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) @@ -11918,7 +13099,7 @@ func (m *GetRegionByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *ScanRegionsRequest) Marshal() (dAtA []byte, err error) { +func (m *GetClusterConfigResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -11928,32 +13109,25 @@ func (m *ScanRegionsRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ScanRegionsRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *GetClusterConfigResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ScanRegionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.EndKey) > 0 { - i -= len(m.EndKey) - copy(dAtA[i:], m.EndKey) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.EndKey))) - i-- - dAtA[i] = 0x22 - } - if m.Limit != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.Limit)) - i-- - dAtA[i] = 0x18 - } - if len(m.StartKey) > 0 { - i -= len(m.StartKey) - copy(dAtA[i:], m.StartKey) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.StartKey))) +func (m *GetClusterConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Cluster != nil { + { + size, err := m.Cluster.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0x12 } @@ -11972,7 +13146,7 @@ func (m *ScanRegionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Region) Marshal() (dAtA []byte, err error) { +func (m *PutClusterConfigRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -11982,19 +13156,19 @@ func (m *Region) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Region) MarshalTo(dAtA []byte) (int, error) { +func (m *PutClusterConfigRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Region) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PutClusterConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Buckets != nil { + if m.Cluster != nil { { - size, err := m.Buckets.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Cluster.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -12002,39 +13176,11 @@ func (m *Region) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x2a - } - if len(m.PendingPeers) > 0 { - for iNdEx := len(m.PendingPeers) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.PendingPeers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - } - if len(m.DownPeers) > 0 { - for iNdEx := len(m.DownPeers) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.DownPeers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } + dAtA[i] = 0x12 } - if m.Leader != nil { + if m.Header != nil { { - size, err := m.Leader.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -12042,11 +13188,34 @@ func (m *Region) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0xa } - if m.Region != nil { + return len(dAtA) - i, nil +} + +func (m *PutClusterConfigResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PutClusterConfigResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PutClusterConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Header != nil { { - size, err := m.Region.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -12059,7 +13228,7 @@ func (m *Region) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *ScanRegionsResponse) Marshal() (dAtA []byte, err error) { +func (m *Member) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -12069,74 +13238,83 @@ func (m *ScanRegionsResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ScanRegionsResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *Member) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ScanRegionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Member) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Regions) > 0 { - for iNdEx := len(m.Regions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Regions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } + if len(m.DcLocation) > 0 { + i -= len(m.DcLocation) + copy(dAtA[i:], m.DcLocation) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.DcLocation))) + i-- + dAtA[i] = 0x4a + } + if len(m.GitHash) > 0 { + i -= len(m.GitHash) + copy(dAtA[i:], m.GitHash) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.GitHash))) + i-- + dAtA[i] = 0x42 + } + if len(m.BinaryVersion) > 0 { + i -= len(m.BinaryVersion) + copy(dAtA[i:], m.BinaryVersion) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.BinaryVersion))) + i-- + dAtA[i] = 0x3a + } + if len(m.DeployPath) > 0 { + i -= len(m.DeployPath) + copy(dAtA[i:], m.DeployPath) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.DeployPath))) + i-- + dAtA[i] = 0x32 + } + if m.LeaderPriority != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.LeaderPriority)) + i-- + dAtA[i] = 0x28 + } + if len(m.ClientUrls) > 0 { + for iNdEx := len(m.ClientUrls) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ClientUrls[iNdEx]) + copy(dAtA[i:], m.ClientUrls[iNdEx]) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.ClientUrls[iNdEx]))) i-- dAtA[i] = 0x22 } } - if len(m.Leaders) > 0 { - for iNdEx := len(m.Leaders) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Leaders[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } + if len(m.PeerUrls) > 0 { + for iNdEx := len(m.PeerUrls) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.PeerUrls[iNdEx]) + copy(dAtA[i:], m.PeerUrls[iNdEx]) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.PeerUrls[iNdEx]))) i-- dAtA[i] = 0x1a } } - if len(m.RegionMetas) > 0 { - for iNdEx := len(m.RegionMetas) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.RegionMetas[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } + if m.MemberId != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.MemberId)) + i-- + dAtA[i] = 0x10 } - if m.Header != nil { - { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *KeyRange) Marshal() (dAtA []byte, err error) { +func (m *GetMembersRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -12146,34 +13324,32 @@ func (m *KeyRange) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *KeyRange) MarshalTo(dAtA []byte) (int, error) { +func (m *GetMembersRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *KeyRange) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetMembersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.EndKey) > 0 { - i -= len(m.EndKey) - copy(dAtA[i:], m.EndKey) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.EndKey))) - i-- - dAtA[i] = 0x12 - } - if len(m.StartKey) > 0 { - i -= len(m.StartKey) - copy(dAtA[i:], m.StartKey) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.StartKey))) + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *BatchScanRegionsRequest) Marshal() (dAtA []byte, err error) { +func (m *GetMembersResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -12183,35 +13359,70 @@ func (m *BatchScanRegionsRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *BatchScanRegionsRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *GetMembersResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *BatchScanRegionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetMembersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.ContainAllKeyRange { - i-- - if m.ContainAllKeyRange { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + if len(m.TsoAllocatorLeaders) > 0 { + for k := range m.TsoAllocatorLeaders { + v := m.TsoAllocatorLeaders[k] + baseI := i + if v != nil { + { + size, err := v.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintPdpb(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintPdpb(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x2a + } + } + if m.EtcdLeader != nil { + { + size, err := m.EtcdLeader.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x28 + dAtA[i] = 0x22 } - if m.Limit != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.Limit)) + if m.Leader != nil { + { + size, err := m.Leader.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x20 + dAtA[i] = 0x1a } - if len(m.Ranges) > 0 { - for iNdEx := len(m.Ranges) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Members) > 0 { + for iNdEx := len(m.Members) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Ranges[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Members[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -12219,18 +13430,8 @@ func (m *BatchScanRegionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1a - } - } - if m.NeedBuckets { - i-- - if m.NeedBuckets { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + dAtA[i] = 0x12 } - i-- - dAtA[i] = 0x10 } if m.Header != nil { { @@ -12247,7 +13448,7 @@ func (m *BatchScanRegionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *BatchScanRegionsResponse) Marshal() (dAtA []byte, err error) { +func (m *GetClusterInfoRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -12257,30 +13458,16 @@ func (m *BatchScanRegionsResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *BatchScanRegionsResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *GetClusterInfoRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *BatchScanRegionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetClusterInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Regions) > 0 { - for iNdEx := len(m.Regions) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Regions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } if m.Header != nil { { size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) @@ -12296,7 +13483,7 @@ func (m *BatchScanRegionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error return len(dAtA) - i, nil } -func (m *GetClusterConfigRequest) Marshal() (dAtA []byte, err error) { +func (m *GetClusterInfoResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -12306,16 +13493,43 @@ func (m *GetClusterConfigRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetClusterConfigRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *GetClusterInfoResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetClusterConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetClusterInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if len(m.TsoUrls) > 0 { + for iNdEx := len(m.TsoUrls) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.TsoUrls[iNdEx]) + copy(dAtA[i:], m.TsoUrls[iNdEx]) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.TsoUrls[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.ServiceModes) > 0 { + dAtA55 := make([]byte, len(m.ServiceModes)*10) + var j54 int + for _, num := range m.ServiceModes { + for num >= 1<<7 { + dAtA55[j54] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j54++ + } + dAtA55[j54] = uint8(num) + j54++ + } + i -= j54 + copy(dAtA[i:], dAtA55[:j54]) + i = encodeVarintPdpb(dAtA, i, uint64(j54)) + i-- + dAtA[i] = 0x12 + } if m.Header != nil { { size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) @@ -12331,7 +13545,7 @@ func (m *GetClusterConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *GetClusterConfigResponse) Marshal() (dAtA []byte, err error) { +func (m *PeerStats) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -12341,31 +13555,24 @@ func (m *GetClusterConfigResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetClusterConfigResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *PeerStats) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetClusterConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PeerStats) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Cluster != nil { - { - size, err := m.Cluster.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } + if m.DownSeconds != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.DownSeconds)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x10 } - if m.Header != nil { + if m.Peer != nil { { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Peer.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -12378,7 +13585,7 @@ func (m *GetClusterConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error return len(dAtA) - i, nil } -func (m *PutClusterConfigRequest) Marshal() (dAtA []byte, err error) { +func (m *RegionHeartbeatRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -12388,19 +13595,33 @@ func (m *PutClusterConfigRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PutClusterConfigRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *RegionHeartbeatRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PutClusterConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *RegionHeartbeatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Cluster != nil { + if m.ApproximateKvSize != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.ApproximateKvSize)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x90 + } + if m.CpuUsage != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.CpuUsage)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x88 + } + if m.QueryStats != nil { { - size, err := m.Cluster.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.QueryStats.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -12408,11 +13629,13 @@ func (m *PutClusterConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 } - if m.Header != nil { + if m.ReplicationStatus != nil { { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.ReplicationStatus.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -12420,34 +13643,21 @@ func (m *PutClusterConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x7a } - return len(dAtA) - i, nil -} - -func (m *PutClusterConfigResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if m.Term != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Term)) + i-- + dAtA[i] = 0x70 } - return dAtA[:n], nil -} - -func (m *PutClusterConfigResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PutClusterConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Header != nil { + if m.ApproximateKeys != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.ApproximateKeys)) + i-- + dAtA[i] = 0x68 + } + if m.Interval != nil { { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Interval.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -12455,98 +13665,101 @@ func (m *PutClusterConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Member) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + dAtA[i] = 0x62 } - return dAtA[:n], nil -} - -func (m *Member) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Member) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.DcLocation) > 0 { - i -= len(m.DcLocation) - copy(dAtA[i:], m.DcLocation) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.DcLocation))) + if m.ApproximateSize != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.ApproximateSize)) i-- - dAtA[i] = 0x4a + dAtA[i] = 0x50 } - if len(m.GitHash) > 0 { - i -= len(m.GitHash) - copy(dAtA[i:], m.GitHash) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.GitHash))) + if m.KeysRead != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.KeysRead)) i-- - dAtA[i] = 0x42 + dAtA[i] = 0x48 } - if len(m.BinaryVersion) > 0 { - i -= len(m.BinaryVersion) - copy(dAtA[i:], m.BinaryVersion) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.BinaryVersion))) + if m.KeysWritten != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.KeysWritten)) i-- - dAtA[i] = 0x3a + dAtA[i] = 0x40 } - if len(m.DeployPath) > 0 { - i -= len(m.DeployPath) - copy(dAtA[i:], m.DeployPath) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.DeployPath))) + if m.BytesRead != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.BytesRead)) i-- - dAtA[i] = 0x32 + dAtA[i] = 0x38 } - if m.LeaderPriority != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.LeaderPriority)) + if m.BytesWritten != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.BytesWritten)) i-- - dAtA[i] = 0x28 + dAtA[i] = 0x30 + } + if len(m.PendingPeers) > 0 { + for iNdEx := len(m.PendingPeers) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.PendingPeers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } } - if len(m.ClientUrls) > 0 { - for iNdEx := len(m.ClientUrls) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.ClientUrls[iNdEx]) - copy(dAtA[i:], m.ClientUrls[iNdEx]) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.ClientUrls[iNdEx]))) + if len(m.DownPeers) > 0 { + for iNdEx := len(m.DownPeers) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.DownPeers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0x22 } } - if len(m.PeerUrls) > 0 { - for iNdEx := len(m.PeerUrls) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.PeerUrls[iNdEx]) - copy(dAtA[i:], m.PeerUrls[iNdEx]) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.PeerUrls[iNdEx]))) - i-- - dAtA[i] = 0x1a + if m.Leader != nil { + { + size, err := m.Leader.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x1a } - if m.MemberId != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.MemberId)) + if m.Region != nil { + { + size, err := m.Region.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.Name))) + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *GetMembersRequest) Marshal() (dAtA []byte, err error) { +func (m *ChangePeer) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -12556,19 +13769,24 @@ func (m *GetMembersRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetMembersRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *ChangePeer) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetMembersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ChangePeer) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Header != nil { + if m.ChangeType != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.ChangeType)) + i-- + dAtA[i] = 0x10 + } + if m.Peer != nil { { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Peer.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -12581,7 +13799,7 @@ func (m *GetMembersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetMembersResponse) Marshal() (dAtA []byte, err error) { +func (m *ChangePeerV2) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -12591,70 +13809,57 @@ func (m *GetMembersResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetMembersResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *ChangePeerV2) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetMembersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ChangePeerV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.TsoAllocatorLeaders) > 0 { - for k := range m.TsoAllocatorLeaders { - v := m.TsoAllocatorLeaders[k] - baseI := i - if v != nil { - { - size, err := v.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) + if len(m.Changes) > 0 { + for iNdEx := len(m.Changes) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Changes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x12 + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) } - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintPdpb(dAtA, i, uint64(len(k))) i-- dAtA[i] = 0xa - i = encodeVarintPdpb(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x2a - } - } - if m.EtcdLeader != nil { - { - size, err := m.EtcdLeader.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) } - i-- - dAtA[i] = 0x22 } - if m.Leader != nil { - { - size, err := m.Leader.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a + return len(dAtA) - i, nil +} + +func (m *TransferLeader) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if len(m.Members) > 0 { - for iNdEx := len(m.Members) - 1; iNdEx >= 0; iNdEx-- { + return dAtA[:n], nil +} + +func (m *TransferLeader) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TransferLeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Peers) > 0 { + for iNdEx := len(m.Peers) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Members[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Peers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -12665,9 +13870,9 @@ func (m *GetMembersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x12 } } - if m.Header != nil { + if m.Peer != nil { { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Peer.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -12680,7 +13885,7 @@ func (m *GetMembersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetClusterInfoRequest) Marshal() (dAtA []byte, err error) { +func (m *Merge) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -12690,19 +13895,19 @@ func (m *GetClusterInfoRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetClusterInfoRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *Merge) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetClusterInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Merge) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Header != nil { + if m.Target != nil { { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -12715,7 +13920,7 @@ func (m *GetClusterInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetClusterInfoResponse) Marshal() (dAtA []byte, err error) { +func (m *SplitRegion) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -12725,59 +13930,72 @@ func (m *GetClusterInfoResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetClusterInfoResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *SplitRegion) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetClusterInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SplitRegion) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.TsoUrls) > 0 { - for iNdEx := len(m.TsoUrls) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.TsoUrls[iNdEx]) - copy(dAtA[i:], m.TsoUrls[iNdEx]) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.TsoUrls[iNdEx]))) + if len(m.Keys) > 0 { + for iNdEx := len(m.Keys) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Keys[iNdEx]) + copy(dAtA[i:], m.Keys[iNdEx]) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.Keys[iNdEx]))) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x12 } } - if len(m.ServiceModes) > 0 { - dAtA55 := make([]byte, len(m.ServiceModes)*10) - var j54 int - for _, num := range m.ServiceModes { - for num >= 1<<7 { - dAtA55[j54] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j54++ - } - dAtA55[j54] = uint8(num) - j54++ - } - i -= j54 - copy(dAtA[i:], dAtA55[:j54]) - i = encodeVarintPdpb(dAtA, i, uint64(j54)) + if m.Policy != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Policy)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x8 } - if m.Header != nil { - { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) + return len(dAtA) - i, nil +} + +func (m *SwitchWitness) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SwitchWitness) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SwitchWitness) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.IsWitness { + i-- + if m.IsWitness { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } i-- - dAtA[i] = 0xa + dAtA[i] = 0x10 + } + if m.PeerId != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.PeerId)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *PeerStats) Marshal() (dAtA []byte, err error) { +func (m *BatchSwitchWitness) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -12787,37 +14005,34 @@ func (m *PeerStats) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PeerStats) MarshalTo(dAtA []byte) (int, error) { +func (m *BatchSwitchWitness) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PeerStats) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *BatchSwitchWitness) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.DownSeconds != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.DownSeconds)) - i-- - dAtA[i] = 0x10 - } - if m.Peer != nil { - { - size, err := m.Peer.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.SwitchWitnesses) > 0 { + for iNdEx := len(m.SwitchWitnesses) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.SwitchWitnesses[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa } - i-- - dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *RegionHeartbeatRequest) Marshal() (dAtA []byte, err error) { +func (m *RegionHeartbeatResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -12827,33 +14042,19 @@ func (m *RegionHeartbeatRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *RegionHeartbeatRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *RegionHeartbeatResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *RegionHeartbeatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *RegionHeartbeatResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.ApproximateKvSize != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.ApproximateKvSize)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x90 - } - if m.CpuUsage != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.CpuUsage)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x88 - } - if m.QueryStats != nil { + if m.SwitchWitnesses != nil { { - size, err := m.QueryStats.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.SwitchWitnesses.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -12861,13 +14062,11 @@ func (m *RegionHeartbeatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x82 + dAtA[i] = 0x52 } - if m.ReplicationStatus != nil { + if m.ChangePeerV2 != nil { { - size, err := m.ReplicationStatus.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.ChangePeerV2.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -12875,21 +14074,11 @@ func (m *RegionHeartbeatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x7a - } - if m.Term != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.Term)) - i-- - dAtA[i] = 0x70 - } - if m.ApproximateKeys != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.ApproximateKeys)) - i-- - dAtA[i] = 0x68 + dAtA[i] = 0x4a } - if m.Interval != nil { + if m.SplitRegion != nil { { - size, err := m.Interval.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.SplitRegion.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -12897,64 +14086,52 @@ func (m *RegionHeartbeatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x62 - } - if m.ApproximateSize != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.ApproximateSize)) - i-- - dAtA[i] = 0x50 - } - if m.KeysRead != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.KeysRead)) - i-- - dAtA[i] = 0x48 - } - if m.KeysWritten != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.KeysWritten)) - i-- - dAtA[i] = 0x40 - } - if m.BytesRead != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.BytesRead)) - i-- - dAtA[i] = 0x38 + dAtA[i] = 0x42 } - if m.BytesWritten != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.BytesWritten)) + if m.Merge != nil { + { + size, err := m.Merge.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x30 + dAtA[i] = 0x3a } - if len(m.PendingPeers) > 0 { - for iNdEx := len(m.PendingPeers) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.PendingPeers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) + if m.TargetPeer != nil { + { + size, err := m.TargetPeer.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x2a + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x32 } - if len(m.DownPeers) > 0 { - for iNdEx := len(m.DownPeers) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.DownPeers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) + if m.RegionEpoch != nil { + { + size, err := m.RegionEpoch.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x22 + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x2a } - if m.Leader != nil { + if m.RegionId != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.RegionId)) + i-- + dAtA[i] = 0x20 + } + if m.TransferLeader != nil { { - size, err := m.Leader.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.TransferLeader.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -12964,9 +14141,9 @@ func (m *RegionHeartbeatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) i-- dAtA[i] = 0x1a } - if m.Region != nil { + if m.ChangePeer != nil { { - size, err := m.Region.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.ChangePeer.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -12991,7 +14168,7 @@ func (m *RegionHeartbeatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *ChangePeer) Marshal() (dAtA []byte, err error) { +func (m *AskSplitRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -13001,24 +14178,31 @@ func (m *ChangePeer) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ChangePeer) MarshalTo(dAtA []byte) (int, error) { +func (m *AskSplitRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ChangePeer) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *AskSplitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.ChangeType != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.ChangeType)) + if m.Region != nil { + { + size, err := m.Region.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if m.Peer != nil { + if m.Header != nil { { - size, err := m.Peer.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -13031,7 +14215,7 @@ func (m *ChangePeer) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *ChangePeerV2) Marshal() (dAtA []byte, err error) { +func (m *AskSplitResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -13041,34 +14225,55 @@ func (m *ChangePeerV2) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ChangePeerV2) MarshalTo(dAtA []byte) (int, error) { +func (m *AskSplitResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ChangePeerV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *AskSplitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Changes) > 0 { - for iNdEx := len(m.Changes) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Changes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) + if len(m.NewPeerIds) > 0 { + dAtA79 := make([]byte, len(m.NewPeerIds)*10) + var j78 int + for _, num := range m.NewPeerIds { + for num >= 1<<7 { + dAtA79[j78] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j78++ } - i-- - dAtA[i] = 0xa + dAtA79[j78] = uint8(num) + j78++ + } + i -= j78 + copy(dAtA[i:], dAtA79[:j78]) + i = encodeVarintPdpb(dAtA, i, uint64(j78)) + i-- + dAtA[i] = 0x1a + } + if m.NewRegionId != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.NewRegionId)) + i-- + dAtA[i] = 0x10 + } + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *TransferLeader) Marshal() (dAtA []byte, err error) { +func (m *ReportSplitRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -13078,33 +14283,43 @@ func (m *TransferLeader) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *TransferLeader) MarshalTo(dAtA []byte) (int, error) { +func (m *ReportSplitRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *TransferLeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ReportSplitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Peers) > 0 { - for iNdEx := len(m.Peers) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Peers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) + if m.Right != nil { + { + size, err := m.Right.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x12 + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x1a } - if m.Peer != nil { + if m.Left != nil { { - size, err := m.Peer.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Left.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -13117,7 +14332,7 @@ func (m *TransferLeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Merge) Marshal() (dAtA []byte, err error) { +func (m *ReportSplitResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -13127,19 +14342,19 @@ func (m *Merge) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Merge) MarshalTo(dAtA []byte) (int, error) { +func (m *ReportSplitResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Merge) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ReportSplitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Target != nil { + if m.Header != nil { { - size, err := m.Target.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -13152,7 +14367,7 @@ func (m *Merge) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *SplitRegion) Marshal() (dAtA []byte, err error) { +func (m *AskBatchSplitRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -13162,34 +14377,49 @@ func (m *SplitRegion) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SplitRegion) MarshalTo(dAtA []byte) (int, error) { +func (m *AskBatchSplitRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SplitRegion) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *AskBatchSplitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Keys) > 0 { - for iNdEx := len(m.Keys) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Keys[iNdEx]) - copy(dAtA[i:], m.Keys[iNdEx]) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.Keys[iNdEx]))) - i-- - dAtA[i] = 0x12 + if m.SplitCount != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.SplitCount)) + i-- + dAtA[i] = 0x18 + } + if m.Region != nil { + { + size, err := m.Region.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x12 } - if m.Policy != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.Policy)) + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *SwitchWitness) Marshal() (dAtA []byte, err error) { +func (m *SplitID) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -13199,35 +14429,43 @@ func (m *SwitchWitness) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SwitchWitness) MarshalTo(dAtA []byte) (int, error) { +func (m *SplitID) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SwitchWitness) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SplitID) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.IsWitness { - i-- - if m.IsWitness { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + if len(m.NewPeerIds) > 0 { + dAtA88 := make([]byte, len(m.NewPeerIds)*10) + var j87 int + for _, num := range m.NewPeerIds { + for num >= 1<<7 { + dAtA88[j87] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j87++ + } + dAtA88[j87] = uint8(num) + j87++ } + i -= j87 + copy(dAtA[i:], dAtA88[:j87]) + i = encodeVarintPdpb(dAtA, i, uint64(j87)) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if m.PeerId != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.PeerId)) + if m.NewRegionId != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.NewRegionId)) i-- dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *BatchSwitchWitness) Marshal() (dAtA []byte, err error) { +func (m *AskBatchSplitResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -13237,20 +14475,20 @@ func (m *BatchSwitchWitness) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *BatchSwitchWitness) MarshalTo(dAtA []byte) (int, error) { +func (m *AskBatchSplitResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *BatchSwitchWitness) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *AskBatchSplitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.SwitchWitnesses) > 0 { - for iNdEx := len(m.SwitchWitnesses) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Ids) > 0 { + for iNdEx := len(m.Ids) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.SwitchWitnesses[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Ids[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -13258,132 +14496,8 @@ func (m *BatchSwitchWitness) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *RegionHeartbeatResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *RegionHeartbeatResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RegionHeartbeatResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.SwitchWitnesses != nil { - { - size, err := m.SwitchWitnesses.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x52 - } - if m.ChangePeerV2 != nil { - { - size, err := m.ChangePeerV2.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x4a - } - if m.SplitRegion != nil { - { - size, err := m.SplitRegion.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x42 - } - if m.Merge != nil { - { - size, err := m.Merge.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if m.TargetPeer != nil { - { - size, err := m.TargetPeer.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if m.RegionEpoch != nil { - { - size, err := m.RegionEpoch.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.RegionId != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.RegionId)) - i-- - dAtA[i] = 0x20 - } - if m.TransferLeader != nil { - { - size, err := m.TransferLeader.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.ChangePeer != nil { - { - size, err := m.ChangePeer.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) + dAtA[i] = 0x12 } - i-- - dAtA[i] = 0x12 } if m.Header != nil { { @@ -13400,7 +14514,7 @@ func (m *RegionHeartbeatResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *AskSplitRequest) Marshal() (dAtA []byte, err error) { +func (m *ReportBatchSplitRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -13410,27 +14524,29 @@ func (m *AskSplitRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *AskSplitRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *ReportBatchSplitRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *AskSplitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ReportBatchSplitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Region != nil { - { - size, err := m.Region.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.Regions) > 0 { + for iNdEx := len(m.Regions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Regions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 } - i-- - dAtA[i] = 0x12 } if m.Header != nil { { @@ -13447,7 +14563,7 @@ func (m *AskSplitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *AskSplitResponse) Marshal() (dAtA []byte, err error) { +func (m *ReportBatchSplitResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -13457,39 +14573,16 @@ func (m *AskSplitResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *AskSplitResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *ReportBatchSplitResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *AskSplitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ReportBatchSplitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.NewPeerIds) > 0 { - dAtA79 := make([]byte, len(m.NewPeerIds)*10) - var j78 int - for _, num := range m.NewPeerIds { - for num >= 1<<7 { - dAtA79[j78] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j78++ - } - dAtA79[j78] = uint8(num) - j78++ - } - i -= j78 - copy(dAtA[i:], dAtA79[:j78]) - i = encodeVarintPdpb(dAtA, i, uint64(j78)) - i-- - dAtA[i] = 0x1a - } - if m.NewRegionId != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.NewRegionId)) - i-- - dAtA[i] = 0x10 - } if m.Header != nil { { size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) @@ -13505,7 +14598,7 @@ func (m *AskSplitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *ReportSplitRequest) Marshal() (dAtA []byte, err error) { +func (m *TimeInterval) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -13515,56 +14608,30 @@ func (m *ReportSplitRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ReportSplitRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *TimeInterval) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ReportSplitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *TimeInterval) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Right != nil { - { - size, err := m.Right.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Left != nil { - { - size, err := m.Left.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } + if m.EndTimestamp != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.EndTimestamp)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x10 } - if m.Header != nil { - { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } + if m.StartTimestamp != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.StartTimestamp)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *ReportSplitResponse) Marshal() (dAtA []byte, err error) { +func (m *RecordPair) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -13574,32 +14641,32 @@ func (m *ReportSplitResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ReportSplitResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *RecordPair) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ReportSplitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *RecordPair) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Header != nil { - { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } + if m.Value != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Value)) + i-- + dAtA[i] = 0x10 + } + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.Key))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *AskBatchSplitRequest) Marshal() (dAtA []byte, err error) { +func (m *PeerStat) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -13609,36 +14676,29 @@ func (m *AskBatchSplitRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *AskBatchSplitRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *PeerStat) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *AskBatchSplitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PeerStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.SplitCount != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.SplitCount)) + if m.WrittenBytes != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.WrittenBytes)) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x30 } - if m.Region != nil { - { - size, err := m.Region.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } + if m.WrittenKeys != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.WrittenKeys)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x28 } - if m.Header != nil { + if m.QueryStats != nil { { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.QueryStats.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -13646,12 +14706,27 @@ func (m *AskBatchSplitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x22 + } + if m.ReadBytes != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.ReadBytes)) + i-- + dAtA[i] = 0x18 + } + if m.ReadKeys != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.ReadKeys)) + i-- + dAtA[i] = 0x10 + } + if m.RegionId != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.RegionId)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *SplitID) Marshal() (dAtA []byte, err error) { +func (m *StoreStats) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -13661,66 +14736,145 @@ func (m *SplitID) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SplitID) MarshalTo(dAtA []byte) (int, error) { +func (m *StoreStats) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SplitID) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *StoreStats) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.NewPeerIds) > 0 { - dAtA88 := make([]byte, len(m.NewPeerIds)*10) - var j87 int - for _, num := range m.NewPeerIds { + if m.UsedMemory != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.UsedMemory)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xe8 + } + if m.TotalMemory != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.TotalMemory)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xe0 + } + if m.IsGrpcPaused { + i-- + if m.IsGrpcPaused { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xd8 + } + if m.SlowTrend != nil { + { + size, err := m.SlowTrend.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xd2 + } + if len(m.SnapshotStats) > 0 { + for iNdEx := len(m.SnapshotStats) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.SnapshotStats[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xca + } + } + if m.IsApplyBusy { + i-- + if m.IsApplyBusy { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc0 + } + if len(m.DamagedRegionsId) > 0 { + dAtA95 := make([]byte, len(m.DamagedRegionsId)*10) + var j94 int + for _, num := range m.DamagedRegionsId { for num >= 1<<7 { - dAtA88[j87] = uint8(uint64(num)&0x7f | 0x80) + dAtA95[j94] = uint8(uint64(num)&0x7f | 0x80) num >>= 7 - j87++ + j94++ + } + dAtA95[j94] = uint8(num) + j94++ + } + i -= j94 + copy(dAtA[i:], dAtA95[:j94]) + i = encodeVarintPdpb(dAtA, i, uint64(j94)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xba + } + if m.SlowScore != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.SlowScore)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb0 + } + if m.QueryStats != nil { + { + size, err := m.QueryStats.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - dAtA88[j87] = uint8(num) - j87++ + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) } - i -= j87 - copy(dAtA[i:], dAtA88[:j87]) - i = encodeVarintPdpb(dAtA, i, uint64(j87)) i-- - dAtA[i] = 0x12 - } - if m.NewRegionId != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.NewRegionId)) + dAtA[i] = 0x1 i-- - dAtA[i] = 0x8 + dAtA[i] = 0xaa } - return len(dAtA) - i, nil -} - -func (m *AskBatchSplitResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if len(m.PeerStats) > 0 { + for iNdEx := len(m.PeerStats) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.PeerStats[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa2 + } } - return dAtA[:n], nil -} - -func (m *AskBatchSplitResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AskBatchSplitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Ids) > 0 { - for iNdEx := len(m.Ids) - 1; iNdEx >= 0; iNdEx-- { + if len(m.OpLatencies) > 0 { + for iNdEx := len(m.OpLatencies) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Ids[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.OpLatencies[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -13728,48 +14882,47 @@ func (m *AskBatchSplitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x9a } } - if m.Header != nil { - { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.WriteIoRates) > 0 { + for iNdEx := len(m.WriteIoRates) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.WriteIoRates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 } - i-- - dAtA[i] = 0xa } - return len(dAtA) - i, nil -} - -func (m *ReportBatchSplitRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if len(m.ReadIoRates) > 0 { + for iNdEx := len(m.ReadIoRates) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ReadIoRates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + } } - return dAtA[:n], nil -} - -func (m *ReportBatchSplitRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ReportBatchSplitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Regions) > 0 { - for iNdEx := len(m.Regions) - 1; iNdEx >= 0; iNdEx-- { + if len(m.CpuUsages) > 0 { + for iNdEx := len(m.CpuUsages) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Regions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.CpuUsages[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -13777,12 +14930,14 @@ func (m *ReportBatchSplitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 } } - if m.Header != nil { + if m.Interval != nil { { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Interval.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -13790,80 +14945,87 @@ func (m *ReportBatchSplitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x7a } - return len(dAtA) - i, nil -} - -func (m *ReportBatchSplitResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if m.KeysRead != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.KeysRead)) + i-- + dAtA[i] = 0x70 } - return dAtA[:n], nil -} - -func (m *ReportBatchSplitResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ReportBatchSplitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Header != nil { - { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) + if m.BytesRead != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.BytesRead)) + i-- + dAtA[i] = 0x68 + } + if m.KeysWritten != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.KeysWritten)) + i-- + dAtA[i] = 0x60 + } + if m.BytesWritten != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.BytesWritten)) + i-- + dAtA[i] = 0x58 + } + if m.UsedSize != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.UsedSize)) + i-- + dAtA[i] = 0x50 + } + if m.IsBusy { + i-- + if m.IsBusy { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } i-- - dAtA[i] = 0xa + dAtA[i] = 0x48 } - return len(dAtA) - i, nil -} - -func (m *TimeInterval) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if m.ApplyingSnapCount != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.ApplyingSnapCount)) + i-- + dAtA[i] = 0x40 } - return dAtA[:n], nil -} - -func (m *TimeInterval) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *TimeInterval) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.EndTimestamp != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.EndTimestamp)) + if m.StartTime != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.StartTime)) + i-- + dAtA[i] = 0x38 + } + if m.ReceivingSnapCount != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.ReceivingSnapCount)) + i-- + dAtA[i] = 0x30 + } + if m.SendingSnapCount != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.SendingSnapCount)) + i-- + dAtA[i] = 0x28 + } + if m.RegionCount != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.RegionCount)) + i-- + dAtA[i] = 0x20 + } + if m.Available != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Available)) + i-- + dAtA[i] = 0x18 + } + if m.Capacity != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Capacity)) i-- dAtA[i] = 0x10 } - if m.StartTimestamp != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.StartTimestamp)) + if m.StoreId != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.StoreId)) i-- dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *RecordPair) Marshal() (dAtA []byte, err error) { +func (m *SlowTrend) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -13873,32 +15035,44 @@ func (m *RecordPair) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *RecordPair) MarshalTo(dAtA []byte) (int, error) { +func (m *SlowTrend) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *RecordPair) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SlowTrend) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Value != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.Value)) + if m.ResultRate != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.ResultRate)))) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x21 } - if len(m.Key) > 0 { - i -= len(m.Key) - copy(dAtA[i:], m.Key) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.Key))) + if m.ResultValue != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.ResultValue)))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x19 + } + if m.CauseRate != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.CauseRate)))) + i-- + dAtA[i] = 0x11 + } + if m.CauseValue != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.CauseValue)))) + i-- + dAtA[i] = 0x9 } return len(dAtA) - i, nil } -func (m *PeerStat) Marshal() (dAtA []byte, err error) { +func (m *SnapshotStat) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -13908,45 +15082,33 @@ func (m *PeerStat) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PeerStat) MarshalTo(dAtA []byte) (int, error) { +func (m *SnapshotStat) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PeerStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SnapshotStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.WrittenBytes != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.WrittenBytes)) - i-- - dAtA[i] = 0x30 - } - if m.WrittenKeys != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.WrittenKeys)) + if m.TransportSize != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.TransportSize)) i-- dAtA[i] = 0x28 } - if m.QueryStats != nil { - { - size, err := m.QueryStats.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } + if m.TotalDurationSec != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.TotalDurationSec)) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x20 } - if m.ReadBytes != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.ReadBytes)) + if m.SendDurationSec != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.SendDurationSec)) i-- dAtA[i] = 0x18 } - if m.ReadKeys != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.ReadKeys)) + if m.GenerateDurationSec != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.GenerateDurationSec)) i-- dAtA[i] = 0x10 } @@ -13958,7 +15120,7 @@ func (m *PeerStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *StoreStats) Marshal() (dAtA []byte, err error) { +func (m *PeerReport) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -13968,45 +15130,44 @@ func (m *StoreStats) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *StoreStats) MarshalTo(dAtA []byte) (int, error) { +func (m *PeerReport) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *StoreStats) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PeerReport) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.UsedMemory != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.UsedMemory)) - i-- - dAtA[i] = 0x1 + if m.AppliedIndex != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.AppliedIndex)) i-- - dAtA[i] = 0xe8 + dAtA[i] = 0x28 } - if m.TotalMemory != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.TotalMemory)) + if m.HasCommitMerge { i-- - dAtA[i] = 0x1 + if m.HasCommitMerge { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } i-- - dAtA[i] = 0xe0 + dAtA[i] = 0x20 } - if m.IsGrpcPaused { + if m.IsForceLeader { i-- - if m.IsGrpcPaused { + if m.IsForceLeader { dAtA[i] = 1 } else { dAtA[i] = 0 } i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xd8 + dAtA[i] = 0x18 } - if m.SlowTrend != nil { + if m.RegionState != nil { { - size, err := m.SlowTrend.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.RegionState.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -14014,68 +15175,11 @@ func (m *StoreStats) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xd2 - } - if len(m.SnapshotStats) > 0 { - for iNdEx := len(m.SnapshotStats) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.SnapshotStats[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xca - } - } - if m.IsApplyBusy { - i-- - if m.IsApplyBusy { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xc0 - } - if len(m.DamagedRegionsId) > 0 { - dAtA95 := make([]byte, len(m.DamagedRegionsId)*10) - var j94 int - for _, num := range m.DamagedRegionsId { - for num >= 1<<7 { - dAtA95[j94] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j94++ - } - dAtA95[j94] = uint8(num) - j94++ - } - i -= j94 - copy(dAtA[i:], dAtA95[:j94]) - i = encodeVarintPdpb(dAtA, i, uint64(j94)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xba - } - if m.SlowScore != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.SlowScore)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xb0 + dAtA[i] = 0x12 } - if m.QueryStats != nil { + if m.RaftState != nil { { - size, err := m.QueryStats.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.RaftState.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -14083,62 +15187,40 @@ func (m *StoreStats) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xaa - } - if len(m.PeerStats) > 0 { - for iNdEx := len(m.PeerStats) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.PeerStats[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa2 - } + dAtA[i] = 0xa } - if len(m.OpLatencies) > 0 { - for iNdEx := len(m.OpLatencies) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.OpLatencies[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x9a - } + return len(dAtA) - i, nil +} + +func (m *StoreReport) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if len(m.WriteIoRates) > 0 { - for iNdEx := len(m.WriteIoRates) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.WriteIoRates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x92 - } + return dAtA[:n], nil +} + +func (m *StoreReport) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *StoreReport) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Step != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Step)) + i-- + dAtA[i] = 0x10 } - if len(m.ReadIoRates) > 0 { - for iNdEx := len(m.ReadIoRates) - 1; iNdEx >= 0; iNdEx-- { + if len(m.PeerReports) > 0 { + for iNdEx := len(m.PeerReports) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.ReadIoRates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.PeerReports[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -14146,30 +15228,47 @@ func (m *StoreStats) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x8a + dAtA[i] = 0xa } } - if len(m.CpuUsages) > 0 { - for iNdEx := len(m.CpuUsages) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.CpuUsages[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) + return len(dAtA) - i, nil +} + +func (m *StoreHeartbeatRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StoreHeartbeatRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *StoreHeartbeatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.DrAutosyncStatus != nil { + { + size, err := m.DrAutosyncStatus.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x82 + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x22 } - if m.Interval != nil { + if m.StoreReport != nil { { - size, err := m.Interval.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.StoreReport.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -14177,87 +15276,237 @@ func (m *StoreStats) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x7a + dAtA[i] = 0x1a } - if m.KeysRead != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.KeysRead)) + if m.Stats != nil { + { + size, err := m.Stats.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x70 + dAtA[i] = 0x12 } - if m.BytesRead != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.BytesRead)) + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x68 + dAtA[i] = 0xa } - if m.KeysWritten != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.KeysWritten)) - i-- - dAtA[i] = 0x60 + return len(dAtA) - i, nil +} + +func (m *DemoteFailedVoters) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.BytesWritten != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.BytesWritten)) - i-- - dAtA[i] = 0x58 + return dAtA[:n], nil +} + +func (m *DemoteFailedVoters) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DemoteFailedVoters) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.FailedVoters) > 0 { + for iNdEx := len(m.FailedVoters) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.FailedVoters[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } } - if m.UsedSize != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.UsedSize)) + if m.RegionId != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.RegionId)) i-- - dAtA[i] = 0x50 + dAtA[i] = 0x8 } - if m.IsBusy { - i-- - if m.IsBusy { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + return len(dAtA) - i, nil +} + +func (m *ForceLeader) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ForceLeader) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ForceLeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.EnterForceLeaders) > 0 { + dAtA105 := make([]byte, len(m.EnterForceLeaders)*10) + var j104 int + for _, num := range m.EnterForceLeaders { + for num >= 1<<7 { + dAtA105[j104] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j104++ + } + dAtA105[j104] = uint8(num) + j104++ } + i -= j104 + copy(dAtA[i:], dAtA105[:j104]) + i = encodeVarintPdpb(dAtA, i, uint64(j104)) i-- - dAtA[i] = 0x48 + dAtA[i] = 0x12 } - if m.ApplyingSnapCount != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.ApplyingSnapCount)) + if len(m.FailedStores) > 0 { + dAtA107 := make([]byte, len(m.FailedStores)*10) + var j106 int + for _, num := range m.FailedStores { + for num >= 1<<7 { + dAtA107[j106] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j106++ + } + dAtA107[j106] = uint8(num) + j106++ + } + i -= j106 + copy(dAtA[i:], dAtA107[:j106]) + i = encodeVarintPdpb(dAtA, i, uint64(j106)) i-- - dAtA[i] = 0x40 + dAtA[i] = 0xa } - if m.StartTime != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.StartTime)) - i-- - dAtA[i] = 0x38 + return len(dAtA) - i, nil +} + +func (m *RecoveryPlan) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.ReceivingSnapCount != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.ReceivingSnapCount)) + return dAtA[:n], nil +} + +func (m *RecoveryPlan) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RecoveryPlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Step != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Step)) i-- dAtA[i] = 0x30 } - if m.SendingSnapCount != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.SendingSnapCount)) + if m.ForceLeader != nil { + { + size, err := m.ForceLeader.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x28 + dAtA[i] = 0x2a } - if m.RegionCount != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.RegionCount)) - i-- - dAtA[i] = 0x20 + if len(m.Demotes) > 0 { + for iNdEx := len(m.Demotes) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Demotes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } } - if m.Available != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.Available)) + if len(m.Tombstones) > 0 { + dAtA110 := make([]byte, len(m.Tombstones)*10) + var j109 int + for _, num := range m.Tombstones { + for num >= 1<<7 { + dAtA110[j109] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j109++ + } + dAtA110[j109] = uint8(num) + j109++ + } + i -= j109 + copy(dAtA[i:], dAtA110[:j109]) + i = encodeVarintPdpb(dAtA, i, uint64(j109)) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x1a } - if m.Capacity != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.Capacity)) - i-- - dAtA[i] = 0x10 + if len(m.Updates) > 0 { + for iNdEx := len(m.Updates) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Updates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } } - if m.StoreId != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.StoreId)) - i-- - dAtA[i] = 0x8 + if len(m.Creates) > 0 { + for iNdEx := len(m.Creates) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Creates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } } return len(dAtA) - i, nil } -func (m *SlowTrend) Marshal() (dAtA []byte, err error) { +func (m *AwakenRegions) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -14267,44 +15516,38 @@ func (m *SlowTrend) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SlowTrend) MarshalTo(dAtA []byte) (int, error) { +func (m *AwakenRegions) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SlowTrend) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *AwakenRegions) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.ResultRate != 0 { - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.ResultRate)))) - i-- - dAtA[i] = 0x21 - } - if m.ResultValue != 0 { - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.ResultValue)))) - i-- - dAtA[i] = 0x19 - } - if m.CauseRate != 0 { - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.CauseRate)))) - i-- - dAtA[i] = 0x11 - } - if m.CauseValue != 0 { - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.CauseValue)))) + if len(m.AbnormalStores) > 0 { + dAtA112 := make([]byte, len(m.AbnormalStores)*10) + var j111 int + for _, num := range m.AbnormalStores { + for num >= 1<<7 { + dAtA112[j111] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j111++ + } + dAtA112[j111] = uint8(num) + j111++ + } + i -= j111 + copy(dAtA[i:], dAtA112[:j111]) + i = encodeVarintPdpb(dAtA, i, uint64(j111)) i-- - dAtA[i] = 0x9 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *SnapshotStat) Marshal() (dAtA []byte, err error) { +func (m *ControlGrpc) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -14314,45 +15557,25 @@ func (m *SnapshotStat) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SnapshotStat) MarshalTo(dAtA []byte) (int, error) { +func (m *ControlGrpc) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SnapshotStat) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ControlGrpc) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.TransportSize != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.TransportSize)) - i-- - dAtA[i] = 0x28 - } - if m.TotalDurationSec != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.TotalDurationSec)) - i-- - dAtA[i] = 0x20 - } - if m.SendDurationSec != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.SendDurationSec)) - i-- - dAtA[i] = 0x18 - } - if m.GenerateDurationSec != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.GenerateDurationSec)) - i-- - dAtA[i] = 0x10 - } - if m.RegionId != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.RegionId)) + if m.CtrlEvent != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.CtrlEvent)) i-- dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *PeerReport) Marshal() (dAtA []byte, err error) { +func (m *StoreHeartbeatResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -14362,44 +15585,72 @@ func (m *PeerReport) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PeerReport) MarshalTo(dAtA []byte) (int, error) { +func (m *StoreHeartbeatResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PeerReport) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *StoreHeartbeatResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.AppliedIndex != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.AppliedIndex)) + if m.ControlGrpc != nil { + { + size, err := m.ControlGrpc.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x28 + dAtA[i] = 0x3a } - if m.HasCommitMerge { + if m.AwakenRegions != nil { + { + size, err := m.AwakenRegions.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- - if m.HasCommitMerge { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + dAtA[i] = 0x32 + } + if m.RecoveryPlan != nil { + { + size, err := m.RecoveryPlan.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x20 + dAtA[i] = 0x2a } - if m.IsForceLeader { + if m.RequireDetailedReport { i-- - if m.IsForceLeader { + if m.RequireDetailedReport { dAtA[i] = 1 } else { dAtA[i] = 0 } i-- - dAtA[i] = 0x18 + dAtA[i] = 0x20 } - if m.RegionState != nil { + if len(m.ClusterVersion) > 0 { + i -= len(m.ClusterVersion) + copy(dAtA[i:], m.ClusterVersion) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.ClusterVersion))) + i-- + dAtA[i] = 0x1a + } + if m.ReplicationStatus != nil { { - size, err := m.RegionState.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.ReplicationStatus.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -14409,9 +15660,9 @@ func (m *PeerReport) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if m.RaftState != nil { + if m.Header != nil { { - size, err := m.RaftState.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -14424,7 +15675,7 @@ func (m *PeerReport) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *StoreReport) Marshal() (dAtA []byte, err error) { +func (m *ScatterRegionRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -14434,61 +15685,59 @@ func (m *StoreReport) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *StoreReport) MarshalTo(dAtA []byte) (int, error) { +func (m *ScatterRegionRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *StoreReport) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ScatterRegionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Step != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.Step)) + if m.SkipStoreLimit { i-- - dAtA[i] = 0x10 + if m.SkipStoreLimit { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x40 } - if len(m.PeerReports) > 0 { - for iNdEx := len(m.PeerReports) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.PeerReports[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) + if m.RetryLimit != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.RetryLimit)) + i-- + dAtA[i] = 0x38 + } + if len(m.RegionsId) > 0 { + dAtA119 := make([]byte, len(m.RegionsId)*10) + var j118 int + for _, num := range m.RegionsId { + for num >= 1<<7 { + dAtA119[j118] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j118++ } - i-- - dAtA[i] = 0xa + dAtA119[j118] = uint8(num) + j118++ } + i -= j118 + copy(dAtA[i:], dAtA119[:j118]) + i = encodeVarintPdpb(dAtA, i, uint64(j118)) + i-- + dAtA[i] = 0x32 } - return len(dAtA) - i, nil -} - -func (m *StoreHeartbeatRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *StoreHeartbeatRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *StoreHeartbeatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.DrAutosyncStatus != nil { + if len(m.Group) > 0 { + i -= len(m.Group) + copy(dAtA[i:], m.Group) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.Group))) + i-- + dAtA[i] = 0x2a + } + if m.Leader != nil { { - size, err := m.DrAutosyncStatus.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Leader.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -14498,9 +15747,9 @@ func (m *StoreHeartbeatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x22 } - if m.StoreReport != nil { + if m.Region != nil { { - size, err := m.StoreReport.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Region.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -14510,17 +15759,10 @@ func (m *StoreHeartbeatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1a } - if m.Stats != nil { - { - size, err := m.Stats.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } + if m.RegionId != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.RegionId)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x10 } if m.Header != nil { { @@ -14537,7 +15779,7 @@ func (m *StoreHeartbeatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *DemoteFailedVoters) Marshal() (dAtA []byte, err error) { +func (m *ScatterRegionResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -14547,39 +15789,37 @@ func (m *DemoteFailedVoters) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DemoteFailedVoters) MarshalTo(dAtA []byte) (int, error) { +func (m *ScatterRegionResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DemoteFailedVoters) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ScatterRegionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.FailedVoters) > 0 { - for iNdEx := len(m.FailedVoters) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.FailedVoters[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) + if m.FinishedPercentage != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.FinishedPercentage)) + i-- + dAtA[i] = 0x10 + } + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x12 + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) } - } - if m.RegionId != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.RegionId)) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ForceLeader) Marshal() (dAtA []byte, err error) { +func (m *GetGCSafePointRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -14589,56 +15829,32 @@ func (m *ForceLeader) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ForceLeader) MarshalTo(dAtA []byte) (int, error) { +func (m *GetGCSafePointRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ForceLeader) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetGCSafePointRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.EnterForceLeaders) > 0 { - dAtA105 := make([]byte, len(m.EnterForceLeaders)*10) - var j104 int - for _, num := range m.EnterForceLeaders { - for num >= 1<<7 { - dAtA105[j104] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j104++ - } - dAtA105[j104] = uint8(num) - j104++ - } - i -= j104 - copy(dAtA[i:], dAtA105[:j104]) - i = encodeVarintPdpb(dAtA, i, uint64(j104)) - i-- - dAtA[i] = 0x12 - } - if len(m.FailedStores) > 0 { - dAtA107 := make([]byte, len(m.FailedStores)*10) - var j106 int - for _, num := range m.FailedStores { - for num >= 1<<7 { - dAtA107[j106] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j106++ + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - dAtA107[j106] = uint8(num) - j106++ + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) } - i -= j106 - copy(dAtA[i:], dAtA107[:j106]) - i = encodeVarintPdpb(dAtA, i, uint64(j106)) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *RecoveryPlan) Marshal() (dAtA []byte, err error) { +func (m *GetGCSafePointResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -14648,24 +15864,24 @@ func (m *RecoveryPlan) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *RecoveryPlan) MarshalTo(dAtA []byte) (int, error) { +func (m *GetGCSafePointResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *RecoveryPlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetGCSafePointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Step != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.Step)) + if m.SafePoint != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.SafePoint)) i-- - dAtA[i] = 0x30 + dAtA[i] = 0x10 } - if m.ForceLeader != nil { + if m.Header != nil { { - size, err := m.ForceLeader.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -14673,72 +15889,40 @@ func (m *RecoveryPlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x2a + dAtA[i] = 0xa } - if len(m.Demotes) > 0 { - for iNdEx := len(m.Demotes) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Demotes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } + return len(dAtA) - i, nil +} + +func (m *KeyspaceScope) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if len(m.Tombstones) > 0 { - dAtA110 := make([]byte, len(m.Tombstones)*10) - var j109 int - for _, num := range m.Tombstones { - for num >= 1<<7 { - dAtA110[j109] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j109++ - } - dAtA110[j109] = uint8(num) - j109++ - } - i -= j109 - copy(dAtA[i:], dAtA110[:j109]) - i = encodeVarintPdpb(dAtA, i, uint64(j109)) + return dAtA[:n], nil +} + +func (m *KeyspaceScope) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *KeyspaceScope) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.KeyspaceId != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.KeyspaceId)) i-- - dAtA[i] = 0x1a - } - if len(m.Updates) > 0 { - for iNdEx := len(m.Updates) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Updates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.Creates) > 0 { - for iNdEx := len(m.Creates) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Creates[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *AwakenRegions) Marshal() (dAtA []byte, err error) { +func (m *UpdateGCSafePointRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -14748,38 +15932,49 @@ func (m *AwakenRegions) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *AwakenRegions) MarshalTo(dAtA []byte) (int, error) { +func (m *UpdateGCSafePointRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *AwakenRegions) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *UpdateGCSafePointRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.AbnormalStores) > 0 { - dAtA112 := make([]byte, len(m.AbnormalStores)*10) - var j111 int - for _, num := range m.AbnormalStores { - for num >= 1<<7 { - dAtA112[j111] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j111++ + if m.KeyspaceScope != nil { + { + size, err := m.KeyspaceScope.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - dAtA112[j111] = uint8(num) - j111++ + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Target != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Target)) + i-- + dAtA[i] = 0x10 + } + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) } - i -= j111 - copy(dAtA[i:], dAtA112[:j111]) - i = encodeVarintPdpb(dAtA, i, uint64(j111)) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *ControlGrpc) Marshal() (dAtA []byte, err error) { +func (m *UpdateGCSafePointResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -14789,25 +15984,37 @@ func (m *ControlGrpc) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ControlGrpc) MarshalTo(dAtA []byte) (int, error) { +func (m *UpdateGCSafePointResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ControlGrpc) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *UpdateGCSafePointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.CtrlEvent != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.CtrlEvent)) + if m.NewGcSafePoint != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.NewGcSafePoint)) i-- - dAtA[i] = 0x8 + dAtA[i] = 0x10 + } + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *StoreHeartbeatResponse) Marshal() (dAtA []byte, err error) { +func (m *UpdateServiceGCSafePointRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -14817,78 +16024,30 @@ func (m *StoreHeartbeatResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *StoreHeartbeatResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *UpdateServiceGCSafePointRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *StoreHeartbeatResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *UpdateServiceGCSafePointRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.ControlGrpc != nil { - { - size, err := m.ControlGrpc.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3a - } - if m.AwakenRegions != nil { - { - size, err := m.AwakenRegions.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - if m.RecoveryPlan != nil { - { - size, err := m.RecoveryPlan.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.RequireDetailedReport { - i-- - if m.RequireDetailedReport { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } + if m.SafePoint != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.SafePoint)) i-- dAtA[i] = 0x20 } - if len(m.ClusterVersion) > 0 { - i -= len(m.ClusterVersion) - copy(dAtA[i:], m.ClusterVersion) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.ClusterVersion))) + if m.TTL != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.TTL)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } - if m.ReplicationStatus != nil { - { - size, err := m.ReplicationStatus.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } + if len(m.ServiceId) > 0 { + i -= len(m.ServiceId) + copy(dAtA[i:], m.ServiceId) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.ServiceId))) i-- dAtA[i] = 0x12 } @@ -14907,7 +16066,7 @@ func (m *StoreHeartbeatResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *ScatterRegionRequest) Marshal() (dAtA []byte, err error) { +func (m *UpdateServiceGCSafePointResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -14917,59 +16076,36 @@ func (m *ScatterRegionRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ScatterRegionRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *UpdateServiceGCSafePointResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ScatterRegionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *UpdateServiceGCSafePointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.SkipStoreLimit { - i-- - if m.SkipStoreLimit { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x40 - } - if m.RetryLimit != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.RetryLimit)) + if m.MinSafePoint != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.MinSafePoint)) i-- - dAtA[i] = 0x38 + dAtA[i] = 0x20 } - if len(m.RegionsId) > 0 { - dAtA119 := make([]byte, len(m.RegionsId)*10) - var j118 int - for _, num := range m.RegionsId { - for num >= 1<<7 { - dAtA119[j118] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j118++ - } - dAtA119[j118] = uint8(num) - j118++ - } - i -= j118 - copy(dAtA[i:], dAtA119[:j118]) - i = encodeVarintPdpb(dAtA, i, uint64(j118)) + if m.TTL != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.TTL)) i-- - dAtA[i] = 0x32 + dAtA[i] = 0x18 } - if len(m.Group) > 0 { - i -= len(m.Group) - copy(dAtA[i:], m.Group) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.Group))) + if len(m.ServiceId) > 0 { + i -= len(m.ServiceId) + copy(dAtA[i:], m.ServiceId) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.ServiceId))) i-- - dAtA[i] = 0x2a + dAtA[i] = 0x12 } - if m.Leader != nil { + if m.Header != nil { { - size, err := m.Leader.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -14977,22 +16113,33 @@ func (m *ScatterRegionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x22 + dAtA[i] = 0xa } - if m.Region != nil { - { - size, err := m.Region.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a + return len(dAtA) - i, nil +} + +func (m *GetGCSafePointV2Request) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.RegionId != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.RegionId)) + return dAtA[:n], nil +} + +func (m *GetGCSafePointV2Request) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetGCSafePointV2Request) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.KeyspaceId != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.KeyspaceId)) i-- dAtA[i] = 0x10 } @@ -15011,7 +16158,7 @@ func (m *ScatterRegionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *ScatterRegionResponse) Marshal() (dAtA []byte, err error) { +func (m *GetGCSafePointV2Response) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -15021,18 +16168,18 @@ func (m *ScatterRegionResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ScatterRegionResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *GetGCSafePointV2Response) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ScatterRegionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetGCSafePointV2Response) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.FinishedPercentage != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.FinishedPercentage)) + if m.SafePoint != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.SafePoint)) i-- dAtA[i] = 0x10 } @@ -15051,7 +16198,7 @@ func (m *ScatterRegionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetGCSafePointRequest) Marshal() (dAtA []byte, err error) { +func (m *WatchGCSafePointV2Request) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -15061,16 +16208,21 @@ func (m *GetGCSafePointRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetGCSafePointRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *WatchGCSafePointV2Request) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetGCSafePointRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *WatchGCSafePointV2Request) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.Revision != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Revision)) + i-- + dAtA[i] = 0x10 + } if m.Header != nil { { size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) @@ -15086,7 +16238,7 @@ func (m *GetGCSafePointRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetGCSafePointResponse) Marshal() (dAtA []byte, err error) { +func (m *SafePointEvent) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -15096,21 +16248,73 @@ func (m *GetGCSafePointResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetGCSafePointResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *SafePointEvent) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetGCSafePointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SafePointEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.Type != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Type)) + i-- + dAtA[i] = 0x18 + } if m.SafePoint != 0 { i = encodeVarintPdpb(dAtA, i, uint64(m.SafePoint)) i-- dAtA[i] = 0x10 } + if m.KeyspaceId != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.KeyspaceId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *WatchGCSafePointV2Response) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WatchGCSafePointV2Response) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WatchGCSafePointV2Response) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Revision != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Revision)) + i-- + dAtA[i] = 0x18 + } + if len(m.Events) > 0 { + for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Events[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } if m.Header != nil { { size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) @@ -15126,7 +16330,7 @@ func (m *GetGCSafePointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *UpdateGCSafePointRequest) Marshal() (dAtA []byte, err error) { +func (m *UpdateGCSafePointV2Request) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -15136,12 +16340,12 @@ func (m *UpdateGCSafePointRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *UpdateGCSafePointRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *UpdateGCSafePointV2Request) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *UpdateGCSafePointRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *UpdateGCSafePointV2Request) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -15149,6 +16353,11 @@ func (m *UpdateGCSafePointRequest) MarshalToSizedBuffer(dAtA []byte) (int, error if m.SafePoint != 0 { i = encodeVarintPdpb(dAtA, i, uint64(m.SafePoint)) i-- + dAtA[i] = 0x18 + } + if m.KeyspaceId != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.KeyspaceId)) + i-- dAtA[i] = 0x10 } if m.Header != nil { @@ -15166,7 +16375,7 @@ func (m *UpdateGCSafePointRequest) MarshalToSizedBuffer(dAtA []byte) (int, error return len(dAtA) - i, nil } -func (m *UpdateGCSafePointResponse) Marshal() (dAtA []byte, err error) { +func (m *UpdateGCSafePointV2Response) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -15176,12 +16385,12 @@ func (m *UpdateGCSafePointResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *UpdateGCSafePointResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *UpdateGCSafePointV2Response) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *UpdateGCSafePointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *UpdateGCSafePointV2Response) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -15206,7 +16415,7 @@ func (m *UpdateGCSafePointResponse) MarshalToSizedBuffer(dAtA []byte) (int, erro return len(dAtA) - i, nil } -func (m *UpdateServiceGCSafePointRequest) Marshal() (dAtA []byte, err error) { +func (m *UpdateServiceSafePointV2Request) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -15216,32 +16425,37 @@ func (m *UpdateServiceGCSafePointRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *UpdateServiceGCSafePointRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *UpdateServiceSafePointV2Request) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *UpdateServiceGCSafePointRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *UpdateServiceSafePointV2Request) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.Ttl != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Ttl)) + i-- + dAtA[i] = 0x28 + } if m.SafePoint != 0 { i = encodeVarintPdpb(dAtA, i, uint64(m.SafePoint)) i-- dAtA[i] = 0x20 } - if m.TTL != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.TTL)) - i-- - dAtA[i] = 0x18 - } if len(m.ServiceId) > 0 { i -= len(m.ServiceId) copy(dAtA[i:], m.ServiceId) i = encodeVarintPdpb(dAtA, i, uint64(len(m.ServiceId))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1a + } + if m.KeyspaceId != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.KeyspaceId)) + i-- + dAtA[i] = 0x10 } if m.Header != nil { { @@ -15258,7 +16472,7 @@ func (m *UpdateServiceGCSafePointRequest) MarshalToSizedBuffer(dAtA []byte) (int return len(dAtA) - i, nil } -func (m *UpdateServiceGCSafePointResponse) Marshal() (dAtA []byte, err error) { +func (m *UpdateServiceSafePointV2Response) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -15268,12 +16482,12 @@ func (m *UpdateServiceGCSafePointResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *UpdateServiceGCSafePointResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *UpdateServiceSafePointV2Response) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *UpdateServiceGCSafePointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *UpdateServiceSafePointV2Response) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -15283,8 +16497,8 @@ func (m *UpdateServiceGCSafePointResponse) MarshalToSizedBuffer(dAtA []byte) (in i-- dAtA[i] = 0x20 } - if m.TTL != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.TTL)) + if m.Ttl != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Ttl)) i-- dAtA[i] = 0x18 } @@ -15310,7 +16524,7 @@ func (m *UpdateServiceGCSafePointResponse) MarshalToSizedBuffer(dAtA []byte) (in return len(dAtA) - i, nil } -func (m *GetGCSafePointV2Request) Marshal() (dAtA []byte, err error) { +func (m *GetAllGCSafePointV2Request) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -15320,21 +16534,16 @@ func (m *GetGCSafePointV2Request) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetGCSafePointV2Request) MarshalTo(dAtA []byte) (int, error) { +func (m *GetAllGCSafePointV2Request) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetGCSafePointV2Request) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetAllGCSafePointV2Request) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.KeyspaceId != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.KeyspaceId)) - i-- - dAtA[i] = 0x10 - } if m.Header != nil { { size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) @@ -15350,7 +16559,7 @@ func (m *GetGCSafePointV2Request) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *GetGCSafePointV2Response) Marshal() (dAtA []byte, err error) { +func (m *GCSafePointV2) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -15360,37 +16569,30 @@ func (m *GetGCSafePointV2Response) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetGCSafePointV2Response) MarshalTo(dAtA []byte) (int, error) { +func (m *GCSafePointV2) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetGCSafePointV2Response) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GCSafePointV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.SafePoint != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.SafePoint)) + if m.GcSafePoint != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.GcSafePoint)) i-- dAtA[i] = 0x10 } - if m.Header != nil { - { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } + if m.KeyspaceId != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.KeyspaceId)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *WatchGCSafePointV2Request) Marshal() (dAtA []byte, err error) { +func (m *GetAllGCSafePointV2Response) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -15400,12 +16602,12 @@ func (m *WatchGCSafePointV2Request) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *WatchGCSafePointV2Request) MarshalTo(dAtA []byte) (int, error) { +func (m *GetAllGCSafePointV2Response) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *WatchGCSafePointV2Request) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetAllGCSafePointV2Response) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -15413,7 +16615,21 @@ func (m *WatchGCSafePointV2Request) MarshalToSizedBuffer(dAtA []byte) (int, erro if m.Revision != 0 { i = encodeVarintPdpb(dAtA, i, uint64(m.Revision)) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x18 + } + if len(m.GcSafePoints) > 0 { + for iNdEx := len(m.GcSafePoints) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.GcSafePoints[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } } if m.Header != nil { { @@ -15430,7 +16646,7 @@ func (m *WatchGCSafePointV2Request) MarshalToSizedBuffer(dAtA []byte) (int, erro return len(dAtA) - i, nil } -func (m *SafePointEvent) Marshal() (dAtA []byte, err error) { +func (m *UpdateTxnSafePointRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -15440,35 +16656,49 @@ func (m *SafePointEvent) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SafePointEvent) MarshalTo(dAtA []byte) (int, error) { +func (m *UpdateTxnSafePointRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SafePointEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *UpdateTxnSafePointRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Type != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.Type)) + if m.Target != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.Target)) i-- dAtA[i] = 0x18 } - if m.SafePoint != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.SafePoint)) + if m.KeyspaceScope != nil { + { + size, err := m.KeyspaceScope.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if m.KeyspaceId != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.KeyspaceId)) + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *WatchGCSafePointV2Response) Marshal() (dAtA []byte, err error) { +func (m *UpdateTxnSafePointResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -15478,34 +16708,20 @@ func (m *WatchGCSafePointV2Response) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *WatchGCSafePointV2Response) MarshalTo(dAtA []byte) (int, error) { +func (m *UpdateTxnSafePointResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *WatchGCSafePointV2Response) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *UpdateTxnSafePointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Revision != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.Revision)) + if m.NewTxnSafePoint != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.NewTxnSafePoint)) i-- - dAtA[i] = 0x18 - } - if len(m.Events) > 0 { - for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Events[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } + dAtA[i] = 0x10 } if m.Header != nil { { @@ -15522,7 +16738,7 @@ func (m *WatchGCSafePointV2Response) MarshalToSizedBuffer(dAtA []byte) (int, err return len(dAtA) - i, nil } -func (m *UpdateGCSafePointV2Request) Marshal() (dAtA []byte, err error) { +func (m *SetGCBarrierRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -15532,25 +16748,44 @@ func (m *UpdateGCSafePointV2Request) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *UpdateGCSafePointV2Request) MarshalTo(dAtA []byte) (int, error) { +func (m *SetGCBarrierRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *UpdateGCSafePointV2Request) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SetGCBarrierRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.SafePoint != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.SafePoint)) + if m.TtlSeconds != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.TtlSeconds)) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x28 } - if m.KeyspaceId != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.KeyspaceId)) + if m.BarrierTs != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.BarrierTs)) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x20 + } + if len(m.BarrierId) > 0 { + i -= len(m.BarrierId) + copy(dAtA[i:], m.BarrierId) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.BarrierId))) + i-- + dAtA[i] = 0x1a + } + if m.KeyspaceScope != nil { + { + size, err := m.KeyspaceScope.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } if m.Header != nil { { @@ -15567,7 +16802,7 @@ func (m *UpdateGCSafePointV2Request) MarshalToSizedBuffer(dAtA []byte) (int, err return len(dAtA) - i, nil } -func (m *UpdateGCSafePointV2Response) Marshal() (dAtA []byte, err error) { +func (m *GCBarrierInfo) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -15577,37 +16812,37 @@ func (m *UpdateGCSafePointV2Response) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *UpdateGCSafePointV2Response) MarshalTo(dAtA []byte) (int, error) { +func (m *GCBarrierInfo) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *UpdateGCSafePointV2Response) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GCBarrierInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.NewSafePoint != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.NewSafePoint)) + if m.TtlSeconds != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.TtlSeconds)) + i-- + dAtA[i] = 0x18 + } + if m.BarrierTs != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.BarrierTs)) i-- dAtA[i] = 0x10 } - if m.Header != nil { - { - size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintPdpb(dAtA, i, uint64(size)) - } + if len(m.BarrierId) > 0 { + i -= len(m.BarrierId) + copy(dAtA[i:], m.BarrierId) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.BarrierId))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *UpdateServiceSafePointV2Request) Marshal() (dAtA []byte, err error) { +func (m *SetGCBarrierResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -15617,37 +16852,27 @@ func (m *UpdateServiceSafePointV2Request) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *UpdateServiceSafePointV2Request) MarshalTo(dAtA []byte) (int, error) { +func (m *SetGCBarrierResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *UpdateServiceSafePointV2Request) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SetGCBarrierResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Ttl != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.Ttl)) - i-- - dAtA[i] = 0x28 - } - if m.SafePoint != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.SafePoint)) - i-- - dAtA[i] = 0x20 - } - if len(m.ServiceId) > 0 { - i -= len(m.ServiceId) - copy(dAtA[i:], m.ServiceId) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.ServiceId))) - i-- - dAtA[i] = 0x1a - } - if m.KeyspaceId != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.KeyspaceId)) + if m.NewBarrierInfo != nil { + { + size, err := m.NewBarrierInfo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } if m.Header != nil { { @@ -15664,7 +16889,7 @@ func (m *UpdateServiceSafePointV2Request) MarshalToSizedBuffer(dAtA []byte) (int return len(dAtA) - i, nil } -func (m *UpdateServiceSafePointV2Response) Marshal() (dAtA []byte, err error) { +func (m *DeleteGCBarrierRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -15674,30 +16899,32 @@ func (m *UpdateServiceSafePointV2Response) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *UpdateServiceSafePointV2Response) MarshalTo(dAtA []byte) (int, error) { +func (m *DeleteGCBarrierRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *UpdateServiceSafePointV2Response) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DeleteGCBarrierRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.MinSafePoint != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.MinSafePoint)) - i-- - dAtA[i] = 0x20 - } - if m.Ttl != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.Ttl)) + if len(m.BarrierId) > 0 { + i -= len(m.BarrierId) + copy(dAtA[i:], m.BarrierId) + i = encodeVarintPdpb(dAtA, i, uint64(len(m.BarrierId))) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x1a } - if len(m.ServiceId) > 0 { - i -= len(m.ServiceId) - copy(dAtA[i:], m.ServiceId) - i = encodeVarintPdpb(dAtA, i, uint64(len(m.ServiceId))) + if m.KeyspaceScope != nil { + { + size, err := m.KeyspaceScope.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0x12 } @@ -15716,7 +16943,7 @@ func (m *UpdateServiceSafePointV2Response) MarshalToSizedBuffer(dAtA []byte) (in return len(dAtA) - i, nil } -func (m *GetAllGCSafePointV2Request) Marshal() (dAtA []byte, err error) { +func (m *DeleteGCBarrierResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -15726,16 +16953,28 @@ func (m *GetAllGCSafePointV2Request) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetAllGCSafePointV2Request) MarshalTo(dAtA []byte) (int, error) { +func (m *DeleteGCBarrierResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetAllGCSafePointV2Request) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DeleteGCBarrierResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.DeletedBarrierInfo != nil { + { + size, err := m.DeletedBarrierInfo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } if m.Header != nil { { size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) @@ -15751,7 +16990,7 @@ func (m *GetAllGCSafePointV2Request) MarshalToSizedBuffer(dAtA []byte) (int, err return len(dAtA) - i, nil } -func (m *GCSafePointV2) Marshal() (dAtA []byte, err error) { +func (m *GetGCStateRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -15761,30 +17000,44 @@ func (m *GCSafePointV2) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GCSafePointV2) MarshalTo(dAtA []byte) (int, error) { +func (m *GetGCStateRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GCSafePointV2) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetGCStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.GcSafePoint != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.GcSafePoint)) + if m.KeyspaceScope != nil { + { + size, err := m.KeyspaceScope.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if m.KeyspaceId != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.KeyspaceId)) + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintPdpb(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *GetAllGCSafePointV2Response) Marshal() (dAtA []byte, err error) { +func (m *GetGCStateResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -15794,25 +17047,20 @@ func (m *GetAllGCSafePointV2Response) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetAllGCSafePointV2Response) MarshalTo(dAtA []byte) (int, error) { +func (m *GetGCStateResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetAllGCSafePointV2Response) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetGCStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Revision != 0 { - i = encodeVarintPdpb(dAtA, i, uint64(m.Revision)) - i-- - dAtA[i] = 0x18 - } - if len(m.GcSafePoints) > 0 { - for iNdEx := len(m.GcSafePoints) - 1; iNdEx >= 0; iNdEx-- { + if len(m.GcBarriers) > 0 { + for iNdEx := len(m.GcBarriers) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.GcSafePoints[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.GcBarriers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -15820,9 +17068,19 @@ func (m *GetAllGCSafePointV2Response) MarshalToSizedBuffer(dAtA []byte) (int, er i = encodeVarintPdpb(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x22 } } + if m.GcSafePoint != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.GcSafePoint)) + i-- + dAtA[i] = 0x18 + } + if m.TxnSafePoint != 0 { + i = encodeVarintPdpb(dAtA, i, uint64(m.TxnSafePoint)) + i-- + dAtA[i] = 0x10 + } if m.Header != nil { { size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) @@ -16417,20 +17675,20 @@ func (m *SplitRegionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { var l int _ = l if len(m.RegionsId) > 0 { - dAtA151 := make([]byte, len(m.RegionsId)*10) - var j150 int + dAtA166 := make([]byte, len(m.RegionsId)*10) + var j165 int for _, num := range m.RegionsId { for num >= 1<<7 { - dAtA151[j150] = uint8(uint64(num)&0x7f | 0x80) + dAtA166[j165] = uint8(uint64(num)&0x7f | 0x80) num >>= 7 - j150++ + j165++ } - dAtA151[j150] = uint8(num) - j150++ + dAtA166[j165] = uint8(num) + j165++ } - i -= j150 - copy(dAtA[i:], dAtA151[:j150]) - i = encodeVarintPdpb(dAtA, i, uint64(j150)) + i -= j165 + copy(dAtA[i:], dAtA166[:j165]) + i = encodeVarintPdpb(dAtA, i, uint64(j165)) i-- dAtA[i] = 0x1a } @@ -16531,20 +17789,20 @@ func (m *SplitAndScatterRegionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, var l int _ = l if len(m.RegionsId) > 0 { - dAtA155 := make([]byte, len(m.RegionsId)*10) - var j154 int + dAtA170 := make([]byte, len(m.RegionsId)*10) + var j169 int for _, num := range m.RegionsId { for num >= 1<<7 { - dAtA155[j154] = uint8(uint64(num)&0x7f | 0x80) + dAtA170[j169] = uint8(uint64(num)&0x7f | 0x80) num >>= 7 - j154++ + j169++ } - dAtA155[j154] = uint8(num) - j154++ + dAtA170[j169] = uint8(num) + j169++ } - i -= j154 - copy(dAtA[i:], dAtA155[:j154]) - i = encodeVarintPdpb(dAtA, i, uint64(j154)) + i -= j169 + copy(dAtA[i:], dAtA170[:j169]) + i = encodeVarintPdpb(dAtA, i, uint64(j169)) i-- dAtA[i] = 0x22 } @@ -19005,6 +20263,18 @@ func (m *GetGCSafePointResponse) Size() (n int) { return n } +func (m *KeyspaceScope) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.KeyspaceId != 0 { + n += 1 + sovPdpb(uint64(m.KeyspaceId)) + } + return n +} + func (m *UpdateGCSafePointRequest) Size() (n int) { if m == nil { return 0 @@ -19015,8 +20285,12 @@ func (m *UpdateGCSafePointRequest) Size() (n int) { l = m.Header.Size() n += 1 + l + sovPdpb(uint64(l)) } - if m.SafePoint != 0 { - n += 1 + sovPdpb(uint64(m.SafePoint)) + if m.Target != 0 { + n += 1 + sovPdpb(uint64(m.Target)) + } + if m.KeyspaceScope != nil { + l = m.KeyspaceScope.Size() + n += 1 + l + sovPdpb(uint64(l)) } return n } @@ -19031,8 +20305,8 @@ func (m *UpdateGCSafePointResponse) Size() (n int) { l = m.Header.Size() n += 1 + l + sovPdpb(uint64(l)) } - if m.NewSafePoint != 0 { - n += 1 + sovPdpb(uint64(m.NewSafePoint)) + if m.NewGcSafePoint != 0 { + n += 1 + sovPdpb(uint64(m.NewGcSafePoint)) } return n } @@ -19143,13 +20417,189 @@ func (m *SafePointEvent) Size() (n int) { if m.SafePoint != 0 { n += 1 + sovPdpb(uint64(m.SafePoint)) } - if m.Type != 0 { - n += 1 + sovPdpb(uint64(m.Type)) + if m.Type != 0 { + n += 1 + sovPdpb(uint64(m.Type)) + } + return n +} + +func (m *WatchGCSafePointV2Response) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovPdpb(uint64(l)) + } + if len(m.Events) > 0 { + for _, e := range m.Events { + l = e.Size() + n += 1 + l + sovPdpb(uint64(l)) + } + } + if m.Revision != 0 { + n += 1 + sovPdpb(uint64(m.Revision)) + } + return n +} + +func (m *UpdateGCSafePointV2Request) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovPdpb(uint64(l)) + } + if m.KeyspaceId != 0 { + n += 1 + sovPdpb(uint64(m.KeyspaceId)) + } + if m.SafePoint != 0 { + n += 1 + sovPdpb(uint64(m.SafePoint)) + } + return n +} + +func (m *UpdateGCSafePointV2Response) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovPdpb(uint64(l)) + } + if m.NewSafePoint != 0 { + n += 1 + sovPdpb(uint64(m.NewSafePoint)) + } + return n +} + +func (m *UpdateServiceSafePointV2Request) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovPdpb(uint64(l)) + } + if m.KeyspaceId != 0 { + n += 1 + sovPdpb(uint64(m.KeyspaceId)) + } + l = len(m.ServiceId) + if l > 0 { + n += 1 + l + sovPdpb(uint64(l)) + } + if m.SafePoint != 0 { + n += 1 + sovPdpb(uint64(m.SafePoint)) + } + if m.Ttl != 0 { + n += 1 + sovPdpb(uint64(m.Ttl)) + } + return n +} + +func (m *UpdateServiceSafePointV2Response) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovPdpb(uint64(l)) + } + l = len(m.ServiceId) + if l > 0 { + n += 1 + l + sovPdpb(uint64(l)) + } + if m.Ttl != 0 { + n += 1 + sovPdpb(uint64(m.Ttl)) + } + if m.MinSafePoint != 0 { + n += 1 + sovPdpb(uint64(m.MinSafePoint)) + } + return n +} + +func (m *GetAllGCSafePointV2Request) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovPdpb(uint64(l)) + } + return n +} + +func (m *GCSafePointV2) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.KeyspaceId != 0 { + n += 1 + sovPdpb(uint64(m.KeyspaceId)) + } + if m.GcSafePoint != 0 { + n += 1 + sovPdpb(uint64(m.GcSafePoint)) + } + return n +} + +func (m *GetAllGCSafePointV2Response) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovPdpb(uint64(l)) + } + if len(m.GcSafePoints) > 0 { + for _, e := range m.GcSafePoints { + l = e.Size() + n += 1 + l + sovPdpb(uint64(l)) + } + } + if m.Revision != 0 { + n += 1 + sovPdpb(uint64(m.Revision)) + } + return n +} + +func (m *UpdateTxnSafePointRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovPdpb(uint64(l)) + } + if m.KeyspaceScope != nil { + l = m.KeyspaceScope.Size() + n += 1 + l + sovPdpb(uint64(l)) + } + if m.Target != 0 { + n += 1 + sovPdpb(uint64(m.Target)) } return n } -func (m *WatchGCSafePointV2Response) Size() (n int) { +func (m *UpdateTxnSafePointResponse) Size() (n int) { if m == nil { return 0 } @@ -19159,19 +20609,13 @@ func (m *WatchGCSafePointV2Response) Size() (n int) { l = m.Header.Size() n += 1 + l + sovPdpb(uint64(l)) } - if len(m.Events) > 0 { - for _, e := range m.Events { - l = e.Size() - n += 1 + l + sovPdpb(uint64(l)) - } - } - if m.Revision != 0 { - n += 1 + sovPdpb(uint64(m.Revision)) + if m.NewTxnSafePoint != 0 { + n += 1 + sovPdpb(uint64(m.NewTxnSafePoint)) } return n } -func (m *UpdateGCSafePointV2Request) Size() (n int) { +func (m *SetGCBarrierRequest) Size() (n int) { if m == nil { return 0 } @@ -19181,32 +20625,43 @@ func (m *UpdateGCSafePointV2Request) Size() (n int) { l = m.Header.Size() n += 1 + l + sovPdpb(uint64(l)) } - if m.KeyspaceId != 0 { - n += 1 + sovPdpb(uint64(m.KeyspaceId)) + if m.KeyspaceScope != nil { + l = m.KeyspaceScope.Size() + n += 1 + l + sovPdpb(uint64(l)) } - if m.SafePoint != 0 { - n += 1 + sovPdpb(uint64(m.SafePoint)) + l = len(m.BarrierId) + if l > 0 { + n += 1 + l + sovPdpb(uint64(l)) + } + if m.BarrierTs != 0 { + n += 1 + sovPdpb(uint64(m.BarrierTs)) + } + if m.TtlSeconds != 0 { + n += 1 + sovPdpb(uint64(m.TtlSeconds)) } return n } -func (m *UpdateGCSafePointV2Response) Size() (n int) { +func (m *GCBarrierInfo) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Header != nil { - l = m.Header.Size() + l = len(m.BarrierId) + if l > 0 { n += 1 + l + sovPdpb(uint64(l)) } - if m.NewSafePoint != 0 { - n += 1 + sovPdpb(uint64(m.NewSafePoint)) + if m.BarrierTs != 0 { + n += 1 + sovPdpb(uint64(m.BarrierTs)) + } + if m.TtlSeconds != 0 { + n += 1 + sovPdpb(uint64(m.TtlSeconds)) } return n } -func (m *UpdateServiceSafePointV2Request) Size() (n int) { +func (m *SetGCBarrierResponse) Size() (n int) { if m == nil { return 0 } @@ -19216,23 +20671,14 @@ func (m *UpdateServiceSafePointV2Request) Size() (n int) { l = m.Header.Size() n += 1 + l + sovPdpb(uint64(l)) } - if m.KeyspaceId != 0 { - n += 1 + sovPdpb(uint64(m.KeyspaceId)) - } - l = len(m.ServiceId) - if l > 0 { + if m.NewBarrierInfo != nil { + l = m.NewBarrierInfo.Size() n += 1 + l + sovPdpb(uint64(l)) } - if m.SafePoint != 0 { - n += 1 + sovPdpb(uint64(m.SafePoint)) - } - if m.Ttl != 0 { - n += 1 + sovPdpb(uint64(m.Ttl)) - } return n } -func (m *UpdateServiceSafePointV2Response) Size() (n int) { +func (m *DeleteGCBarrierRequest) Size() (n int) { if m == nil { return 0 } @@ -19242,20 +20688,18 @@ func (m *UpdateServiceSafePointV2Response) Size() (n int) { l = m.Header.Size() n += 1 + l + sovPdpb(uint64(l)) } - l = len(m.ServiceId) - if l > 0 { + if m.KeyspaceScope != nil { + l = m.KeyspaceScope.Size() n += 1 + l + sovPdpb(uint64(l)) } - if m.Ttl != 0 { - n += 1 + sovPdpb(uint64(m.Ttl)) - } - if m.MinSafePoint != 0 { - n += 1 + sovPdpb(uint64(m.MinSafePoint)) + l = len(m.BarrierId) + if l > 0 { + n += 1 + l + sovPdpb(uint64(l)) } return n } -func (m *GetAllGCSafePointV2Request) Size() (n int) { +func (m *DeleteGCBarrierResponse) Size() (n int) { if m == nil { return 0 } @@ -19265,25 +20709,31 @@ func (m *GetAllGCSafePointV2Request) Size() (n int) { l = m.Header.Size() n += 1 + l + sovPdpb(uint64(l)) } + if m.DeletedBarrierInfo != nil { + l = m.DeletedBarrierInfo.Size() + n += 1 + l + sovPdpb(uint64(l)) + } return n } -func (m *GCSafePointV2) Size() (n int) { +func (m *GetGCStateRequest) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.KeyspaceId != 0 { - n += 1 + sovPdpb(uint64(m.KeyspaceId)) + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovPdpb(uint64(l)) } - if m.GcSafePoint != 0 { - n += 1 + sovPdpb(uint64(m.GcSafePoint)) + if m.KeyspaceScope != nil { + l = m.KeyspaceScope.Size() + n += 1 + l + sovPdpb(uint64(l)) } return n } -func (m *GetAllGCSafePointV2Response) Size() (n int) { +func (m *GetGCStateResponse) Size() (n int) { if m == nil { return 0 } @@ -19293,15 +20743,18 @@ func (m *GetAllGCSafePointV2Response) Size() (n int) { l = m.Header.Size() n += 1 + l + sovPdpb(uint64(l)) } - if len(m.GcSafePoints) > 0 { - for _, e := range m.GcSafePoints { + if m.TxnSafePoint != 0 { + n += 1 + sovPdpb(uint64(m.TxnSafePoint)) + } + if m.GcSafePoint != 0 { + n += 1 + sovPdpb(uint64(m.GcSafePoint)) + } + if len(m.GcBarriers) > 0 { + for _, e := range m.GcBarriers { l = e.Size() n += 1 + l + sovPdpb(uint64(l)) } } - if m.Revision != 0 { - n += 1 + sovPdpb(uint64(m.Revision)) - } return n } @@ -26363,16 +27816,200 @@ func (m *RegionHeartbeatRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.KeysRead |= uint64(b&0x7F) << shift + m.KeysRead |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ApproximateSize", wireType) + } + m.ApproximateSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ApproximateSize |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Interval", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Interval == nil { + m.Interval = &TimeInterval{} + } + if err := m.Interval.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 13: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ApproximateKeys", wireType) + } + m.ApproximateKeys = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ApproximateKeys |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 14: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Term", wireType) + } + m.Term = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Term |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 15: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReplicationStatus", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ReplicationStatus == nil { + m.ReplicationStatus = &replication_modepb.RegionReplicationStatus{} + } + if err := m.ReplicationStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 16: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field QueryStats", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.QueryStats == nil { + m.QueryStats = &QueryStats{} + } + if err := m.QueryStats.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 17: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CpuUsage", wireType) + } + m.CpuUsage = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CpuUsage |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 10: + case 18: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ApproximateSize", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ApproximateKvSize", wireType) } - m.ApproximateSize = 0 + m.ApproximateKvSize = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -26382,14 +28019,64 @@ func (m *RegionHeartbeatRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ApproximateSize |= uint64(b&0x7F) << shift + m.ApproximateKvSize |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 12: + default: + iNdEx = preIndex + skippy, err := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthPdpb + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ChangePeer) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ChangePeer: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ChangePeer: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Interval", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Peer", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -26416,18 +28103,18 @@ func (m *RegionHeartbeatRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Interval == nil { - m.Interval = &TimeInterval{} + if m.Peer == nil { + m.Peer = &metapb.Peer{} } - if err := m.Interval.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Peer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 13: + case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ApproximateKeys", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChangeType", wireType) } - m.ApproximateKeys = 0 + m.ChangeType = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -26437,33 +28124,64 @@ func (m *RegionHeartbeatRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ApproximateKeys |= uint64(b&0x7F) << shift + m.ChangeType |= eraftpb.ConfChangeType(b&0x7F) << shift if b < 0x80 { break } } - case 14: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Term", wireType) + default: + iNdEx = preIndex + skippy, err := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err } - m.Term = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Term |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthPdpb } - case 15: + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ChangePeerV2) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ChangePeerV2: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ChangePeerV2: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplicationStatus", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Changes", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -26490,16 +28208,64 @@ func (m *RegionHeartbeatRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ReplicationStatus == nil { - m.ReplicationStatus = &replication_modepb.RegionReplicationStatus{} - } - if err := m.ReplicationStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Changes = append(m.Changes, &ChangePeer{}) + if err := m.Changes[len(m.Changes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 16: + default: + iNdEx = preIndex + skippy, err := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthPdpb + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TransferLeader) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TransferLeader: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TransferLeader: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field QueryStats", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Peer", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -26526,18 +28292,18 @@ func (m *RegionHeartbeatRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.QueryStats == nil { - m.QueryStats = &QueryStats{} + if m.Peer == nil { + m.Peer = &metapb.Peer{} } - if err := m.QueryStats.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Peer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 17: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CpuUsage", wireType) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Peers", wireType) } - m.CpuUsage = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -26547,30 +28313,26 @@ func (m *RegionHeartbeatRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.CpuUsage |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 18: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ApproximateKvSize", wireType) + if msglen < 0 { + return ErrInvalidLengthPdpb } - m.ApproximateKvSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ApproximateKvSize |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Peers = append(m.Peers, &metapb.Peer{}) + if err := m.Peers[len(m.Peers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipPdpb(dAtA[iNdEx:]) @@ -26592,7 +28354,7 @@ func (m *RegionHeartbeatRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *ChangePeer) Unmarshal(dAtA []byte) error { +func (m *Merge) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -26615,15 +28377,15 @@ func (m *ChangePeer) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ChangePeer: wiretype end group for non-group") + return fmt.Errorf("proto: Merge: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ChangePeer: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Merge: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Peer", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -26650,32 +28412,13 @@ func (m *ChangePeer) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Peer == nil { - m.Peer = &metapb.Peer{} + if m.Target == nil { + m.Target = &metapb.Region{} } - if err := m.Peer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Target.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ChangeType", wireType) - } - m.ChangeType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ChangeType |= eraftpb.ConfChangeType(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipPdpb(dAtA[iNdEx:]) @@ -26697,7 +28440,7 @@ func (m *ChangePeer) Unmarshal(dAtA []byte) error { } return nil } -func (m *ChangePeerV2) Unmarshal(dAtA []byte) error { +func (m *SplitRegion) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -26720,17 +28463,36 @@ func (m *ChangePeerV2) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ChangePeerV2: wiretype end group for non-group") + return fmt.Errorf("proto: SplitRegion: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ChangePeerV2: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SplitRegion: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Policy", wireType) + } + m.Policy = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Policy |= CheckPolicy(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Changes", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Keys", wireType) } - var msglen int + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -26740,25 +28502,23 @@ func (m *ChangePeerV2) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + if byteLen < 0 { return ErrInvalidLengthPdpb } - postIndex := iNdEx + msglen + postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthPdpb } if postIndex > l { return io.ErrUnexpectedEOF } - m.Changes = append(m.Changes, &ChangePeer{}) - if err := m.Changes[len(m.Changes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Keys = append(m.Keys, make([]byte, postIndex-iNdEx)) + copy(m.Keys[len(m.Keys)-1], dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -26781,7 +28541,7 @@ func (m *ChangePeerV2) Unmarshal(dAtA []byte) error { } return nil } -func (m *TransferLeader) Unmarshal(dAtA []byte) error { +func (m *SwitchWitness) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -26804,17 +28564,17 @@ func (m *TransferLeader) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: TransferLeader: wiretype end group for non-group") + return fmt.Errorf("proto: SwitchWitness: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: TransferLeader: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SwitchWitness: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Peer", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PeerId", wireType) } - var msglen int + m.PeerId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -26824,33 +28584,16 @@ func (m *TransferLeader) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.PeerId |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthPdpb - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthPdpb - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Peer == nil { - m.Peer = &metapb.Peer{} - } - if err := m.Peer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Peers", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsWitness", wireType) } - var msglen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -26860,26 +28603,12 @@ func (m *TransferLeader) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthPdpb - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthPdpb - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Peers = append(m.Peers, &metapb.Peer{}) - if err := m.Peers[len(m.Peers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex + m.IsWitness = bool(v != 0) default: iNdEx = preIndex skippy, err := skipPdpb(dAtA[iNdEx:]) @@ -26901,7 +28630,7 @@ func (m *TransferLeader) Unmarshal(dAtA []byte) error { } return nil } -func (m *Merge) Unmarshal(dAtA []byte) error { +func (m *BatchSwitchWitness) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -26924,15 +28653,15 @@ func (m *Merge) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Merge: wiretype end group for non-group") + return fmt.Errorf("proto: BatchSwitchWitness: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Merge: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: BatchSwitchWitness: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SwitchWitnesses", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -26959,10 +28688,8 @@ func (m *Merge) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Target == nil { - m.Target = &metapb.Region{} - } - if err := m.Target.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.SwitchWitnesses = append(m.SwitchWitnesses, &SwitchWitness{}) + if err := m.SwitchWitnesses[len(m.SwitchWitnesses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -26987,7 +28714,7 @@ func (m *Merge) Unmarshal(dAtA []byte) error { } return nil } -func (m *SplitRegion) Unmarshal(dAtA []byte) error { +func (m *RegionHeartbeatResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -27010,17 +28737,125 @@ func (m *SplitRegion) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SplitRegion: wiretype end group for non-group") + return fmt.Errorf("proto: RegionHeartbeatResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SplitRegion: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: RegionHeartbeatResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &ResponseHeader{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChangePeer", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ChangePeer == nil { + m.ChangePeer = &ChangePeer{} + } + if err := m.ChangePeer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TransferLeader", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TransferLeader == nil { + m.TransferLeader = &TransferLeader{} + } + if err := m.TransferLeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Policy", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RegionId", wireType) } - m.Policy = 0 + m.RegionId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -27030,16 +28865,16 @@ func (m *SplitRegion) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Policy |= CheckPolicy(b&0x7F) << shift + m.RegionId |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 2: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Keys", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RegionEpoch", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -27049,79 +28884,69 @@ func (m *SplitRegion) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthPdpb } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthPdpb } if postIndex > l { return io.ErrUnexpectedEOF } - m.Keys = append(m.Keys, make([]byte, postIndex-iNdEx)) - copy(m.Keys[len(m.Keys)-1], dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipPdpb(dAtA[iNdEx:]) - if err != nil { + if m.RegionEpoch == nil { + m.RegionEpoch = &metapb.RegionEpoch{} + } + if err := m.RegionEpoch.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthPdpb + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TargetPeer", wireType) } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SwitchWitness) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb + if msglen < 0 { + return ErrInvalidLengthPdpb } - if iNdEx >= l { + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if m.TargetPeer == nil { + m.TargetPeer = &metapb.Peer{} } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SwitchWitness: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SwitchWitness: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PeerId", wireType) + if err := m.TargetPeer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.PeerId = 0 + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Merge", wireType) + } + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -27131,16 +28956,33 @@ func (m *SwitchWitness) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.PeerId |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IsWitness", wireType) + if msglen < 0 { + return ErrInvalidLengthPdpb } - var v int + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Merge == nil { + m.Merge = &Merge{} + } + if err := m.Merge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SplitRegion", wireType) + } + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -27150,63 +28992,65 @@ func (m *SwitchWitness) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - m.IsWitness = bool(v != 0) - default: - iNdEx = preIndex - skippy, err := skipPdpb(dAtA[iNdEx:]) - if err != nil { - return err + if msglen < 0 { + return ErrInvalidLengthPdpb } - if (skippy < 0) || (iNdEx+skippy) < 0 { + postIndex := iNdEx + msglen + if postIndex < 0 { return ErrInvalidLengthPdpb } - if (iNdEx + skippy) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *BatchSwitchWitness) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb + if m.SplitRegion == nil { + m.SplitRegion = &SplitRegion{} } - if iNdEx >= l { + if err := m.SplitRegion.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChangePeerV2", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if m.ChangePeerV2 == nil { + m.ChangePeerV2 = &ChangePeerV2{} } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: BatchSwitchWitness: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BatchSwitchWitness: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + if err := m.ChangePeerV2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 10: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field SwitchWitnesses", wireType) } @@ -27235,8 +29079,10 @@ func (m *BatchSwitchWitness) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.SwitchWitnesses = append(m.SwitchWitnesses, &SwitchWitness{}) - if err := m.SwitchWitnesses[len(m.SwitchWitnesses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.SwitchWitnesses == nil { + m.SwitchWitnesses = &BatchSwitchWitness{} + } + if err := m.SwitchWitnesses.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -27261,7 +29107,7 @@ func (m *BatchSwitchWitness) Unmarshal(dAtA []byte) error { } return nil } -func (m *RegionHeartbeatResponse) Unmarshal(dAtA []byte) error { +func (m *AskSplitRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -27284,10 +29130,10 @@ func (m *RegionHeartbeatResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: RegionHeartbeatResponse: wiretype end group for non-group") + return fmt.Errorf("proto: AskSplitRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: RegionHeartbeatResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AskSplitRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -27320,7 +29166,7 @@ func (m *RegionHeartbeatResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Header == nil { - m.Header = &ResponseHeader{} + m.Header = &RequestHeader{} } if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -27328,7 +29174,7 @@ func (m *RegionHeartbeatResponse) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChangePeer", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -27355,16 +29201,66 @@ func (m *RegionHeartbeatResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ChangePeer == nil { - m.ChangePeer = &ChangePeer{} + if m.Region == nil { + m.Region = &metapb.Region{} + } + if err := m.Region.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthPdpb + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *AskSplitResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb } - if err := m.ChangePeer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + if iNdEx >= l { + return io.ErrUnexpectedEOF } - iNdEx = postIndex - case 3: + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: AskSplitResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AskSplitResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TransferLeader", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -27391,18 +29287,18 @@ func (m *RegionHeartbeatResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TransferLeader == nil { - m.TransferLeader = &TransferLeader{} + if m.Header == nil { + m.Header = &ResponseHeader{} } - if err := m.TransferLeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 4: + case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RegionId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field NewRegionId", wireType) } - m.RegionId = 0 + m.NewRegionId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -27412,50 +29308,140 @@ func (m *RegionHeartbeatResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.RegionId |= uint64(b&0x7F) << shift + m.NewRegionId |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RegionEpoch", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb + case 3: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - if iNdEx >= l { + m.NewPeerIds = append(m.NewPeerIds, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(m.NewPeerIds) == 0 { + m.NewPeerIds = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.NewPeerIds = append(m.NewPeerIds, v) } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field NewPeerIds", wireType) } - if msglen < 0 { - return ErrInvalidLengthPdpb + default: + iNdEx = preIndex + skippy, err := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthPdpb } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.RegionEpoch == nil { - m.RegionEpoch = &metapb.RegionEpoch{} + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReportSplitRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb } - if err := m.RegionEpoch.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + if iNdEx >= l { + return io.ErrUnexpectedEOF } - iNdEx = postIndex - case 6: + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReportSplitRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReportSplitRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TargetPeer", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -27482,16 +29468,16 @@ func (m *RegionHeartbeatResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TargetPeer == nil { - m.TargetPeer = &metapb.Peer{} + if m.Header == nil { + m.Header = &RequestHeader{} } - if err := m.TargetPeer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 7: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Merge", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Left", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -27518,16 +29504,16 @@ func (m *RegionHeartbeatResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Merge == nil { - m.Merge = &Merge{} + if m.Left == nil { + m.Left = &metapb.Region{} } - if err := m.Merge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Left.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 8: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SplitRegion", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Right", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -27554,52 +29540,66 @@ func (m *RegionHeartbeatResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.SplitRegion == nil { - m.SplitRegion = &SplitRegion{} + if m.Right == nil { + m.Right = &metapb.Region{} } - if err := m.SplitRegion.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Right.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 9: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChangePeerV2", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthPdpb + default: + iNdEx = preIndex + skippy, err := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthPdpb } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.ChangePeerV2 == nil { - m.ChangePeerV2 = &ChangePeerV2{} + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReportSplitResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb } - if err := m.ChangePeerV2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + if iNdEx >= l { + return io.ErrUnexpectedEOF } - iNdEx = postIndex - case 10: + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReportSplitResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReportSplitResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SwitchWitnesses", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -27626,10 +29626,10 @@ func (m *RegionHeartbeatResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.SwitchWitnesses == nil { - m.SwitchWitnesses = &BatchSwitchWitness{} + if m.Header == nil { + m.Header = &ResponseHeader{} } - if err := m.SwitchWitnesses.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -27654,7 +29654,7 @@ func (m *RegionHeartbeatResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *AskSplitRequest) Unmarshal(dAtA []byte) error { +func (m *AskBatchSplitRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -27677,10 +29677,10 @@ func (m *AskSplitRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: AskSplitRequest: wiretype end group for non-group") + return fmt.Errorf("proto: AskBatchSplitRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: AskSplitRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AskBatchSplitRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -27755,6 +29755,25 @@ func (m *AskSplitRequest) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SplitCount", wireType) + } + m.SplitCount = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SplitCount |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipPdpb(dAtA[iNdEx:]) @@ -27776,7 +29795,7 @@ func (m *AskSplitRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *AskSplitResponse) Unmarshal(dAtA []byte) error { +func (m *SplitID) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -27799,49 +29818,13 @@ func (m *AskSplitResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: AskSplitResponse: wiretype end group for non-group") + return fmt.Errorf("proto: SplitID: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: AskSplitResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SplitID: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthPdpb - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthPdpb - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Header == nil { - m.Header = &ResponseHeader{} - } - if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field NewRegionId", wireType) } @@ -27860,7 +29843,7 @@ func (m *AskSplitResponse) Unmarshal(dAtA []byte) error { break } } - case 3: + case 2: if wireType == 0 { var v uint64 for shift := uint(0); ; shift += 7 { @@ -27957,7 +29940,7 @@ func (m *AskSplitResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *ReportSplitRequest) Unmarshal(dAtA []byte) error { +func (m *AskBatchSplitResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -27980,10 +29963,10 @@ func (m *ReportSplitRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ReportSplitRequest: wiretype end group for non-group") + return fmt.Errorf("proto: AskBatchSplitResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ReportSplitRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AskBatchSplitResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -28016,137 +29999,15 @@ func (m *ReportSplitRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Header == nil { - m.Header = &RequestHeader{} + m.Header = &ResponseHeader{} } if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Left", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthPdpb - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthPdpb - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Left == nil { - m.Left = &metapb.Region{} - } - if err := m.Left.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Right", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthPdpb - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthPdpb - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Right == nil { - m.Right = &metapb.Region{} - } - if err := m.Right.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipPdpb(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthPdpb - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ReportSplitResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ReportSplitResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ReportSplitResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + } + iNdEx = postIndex + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Ids", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -28173,10 +30034,8 @@ func (m *ReportSplitResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Header == nil { - m.Header = &ResponseHeader{} - } - if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Ids = append(m.Ids, &SplitID{}) + if err := m.Ids[len(m.Ids)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -28201,7 +30060,7 @@ func (m *ReportSplitResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *AskBatchSplitRequest) Unmarshal(dAtA []byte) error { +func (m *ReportBatchSplitRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -28224,10 +30083,10 @@ func (m *AskBatchSplitRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: AskBatchSplitRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ReportBatchSplitRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: AskBatchSplitRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ReportBatchSplitRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -28268,7 +30127,7 @@ func (m *AskBatchSplitRequest) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Regions", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -28295,32 +30154,11 @@ func (m *AskBatchSplitRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Region == nil { - m.Region = &metapb.Region{} - } - if err := m.Region.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Regions = append(m.Regions, &metapb.Region{}) + if err := m.Regions[len(m.Regions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SplitCount", wireType) - } - m.SplitCount = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.SplitCount |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipPdpb(dAtA[iNdEx:]) @@ -28342,7 +30180,7 @@ func (m *AskBatchSplitRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *SplitID) Unmarshal(dAtA []byte) error { +func (m *ReportBatchSplitResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -28365,17 +30203,17 @@ func (m *SplitID) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SplitID: wiretype end group for non-group") + return fmt.Errorf("proto: ReportBatchSplitResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SplitID: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ReportBatchSplitResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field NewRegionId", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) } - m.NewRegionId = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -28385,87 +30223,28 @@ func (m *SplitID) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.NewRegionId |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 2: - if wireType == 0 { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.NewPeerIds = append(m.NewPeerIds, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthPdpb - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthPdpb - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.NewPeerIds) == 0 { - m.NewPeerIds = make([]uint64, 0, elementCount) - } - for iNdEx < postIndex { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.NewPeerIds = append(m.NewPeerIds, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field NewPeerIds", wireType) + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &ResponseHeader{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipPdpb(dAtA[iNdEx:]) @@ -28487,7 +30266,7 @@ func (m *SplitID) Unmarshal(dAtA []byte) error { } return nil } -func (m *AskBatchSplitResponse) Unmarshal(dAtA []byte) error { +func (m *TimeInterval) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -28510,17 +30289,17 @@ func (m *AskBatchSplitResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: AskBatchSplitResponse: wiretype end group for non-group") + return fmt.Errorf("proto: TimeInterval: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: AskBatchSplitResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: TimeInterval: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartTimestamp", wireType) } - var msglen int + m.StartTimestamp = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -28530,33 +30309,16 @@ func (m *AskBatchSplitResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.StartTimestamp |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthPdpb - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthPdpb - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Header == nil { - m.Header = &ResponseHeader{} - } - if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Ids", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EndTimestamp", wireType) } - var msglen int + m.EndTimestamp = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -28566,26 +30328,11 @@ func (m *AskBatchSplitResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.EndTimestamp |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthPdpb - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthPdpb - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Ids = append(m.Ids, &SplitID{}) - if err := m.Ids[len(m.Ids)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipPdpb(dAtA[iNdEx:]) @@ -28607,7 +30354,7 @@ func (m *AskBatchSplitResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *ReportBatchSplitRequest) Unmarshal(dAtA []byte) error { +func (m *RecordPair) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -28630,17 +30377,17 @@ func (m *ReportBatchSplitRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ReportBatchSplitRequest: wiretype end group for non-group") + return fmt.Errorf("proto: RecordPair: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ReportBatchSplitRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: RecordPair: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -28650,62 +30397,43 @@ func (m *ReportBatchSplitRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthPdpb } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthPdpb } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Header == nil { - m.Header = &RequestHeader{} - } - if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Key = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Regions", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) } - var msglen int + m.Value = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthPdpb - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthPdpb - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Regions = append(m.Regions, &metapb.Region{}) - if err := m.Regions[len(m.Regions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Value |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipPdpb(dAtA[iNdEx:]) @@ -28727,7 +30455,7 @@ func (m *ReportBatchSplitRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *ReportBatchSplitResponse) Unmarshal(dAtA []byte) error { +func (m *PeerStat) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -28750,15 +30478,72 @@ func (m *ReportBatchSplitResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ReportBatchSplitResponse: wiretype end group for non-group") + return fmt.Errorf("proto: PeerStat: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ReportBatchSplitResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: PeerStat: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RegionId", wireType) + } + m.RegionId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.RegionId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReadKeys", wireType) + } + m.ReadKeys = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReadKeys |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReadBytes", wireType) + } + m.ReadBytes = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReadBytes |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field QueryStats", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -28785,13 +30570,51 @@ func (m *ReportBatchSplitResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Header == nil { - m.Header = &ResponseHeader{} + if m.QueryStats == nil { + m.QueryStats = &QueryStats{} } - if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.QueryStats.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WrittenKeys", wireType) + } + m.WrittenKeys = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.WrittenKeys |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WrittenBytes", wireType) + } + m.WrittenBytes = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.WrittenBytes |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipPdpb(dAtA[iNdEx:]) @@ -28813,7 +30636,7 @@ func (m *ReportBatchSplitResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *TimeInterval) Unmarshal(dAtA []byte) error { +func (m *StoreStats) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -28836,17 +30659,150 @@ func (m *TimeInterval) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: TimeInterval: wiretype end group for non-group") + return fmt.Errorf("proto: StoreStats: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: TimeInterval: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StoreStats: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StartTimestamp", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StoreId", wireType) + } + m.StoreId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StoreId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType) + } + m.Capacity = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Capacity |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Available", wireType) + } + m.Available = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Available |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RegionCount", wireType) + } + m.RegionCount = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.RegionCount |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SendingSnapCount", wireType) + } + m.SendingSnapCount = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SendingSnapCount |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReceivingSnapCount", wireType) + } + m.ReceivingSnapCount = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReceivingSnapCount |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType) + } + m.StartTime = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartTime |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ApplyingSnapCount", wireType) } - m.StartTimestamp = 0 + m.ApplyingSnapCount = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -28856,16 +30812,16 @@ func (m *TimeInterval) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.StartTimestamp |= uint64(b&0x7F) << shift + m.ApplyingSnapCount |= uint32(b&0x7F) << shift if b < 0x80 { break } } - case 2: + case 9: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EndTimestamp", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IsBusy", wireType) } - m.EndTimestamp = 0 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -28875,66 +30831,17 @@ func (m *TimeInterval) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.EndTimestamp |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - default: - iNdEx = preIndex - skippy, err := skipPdpb(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthPdpb - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RecordPair) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RecordPair: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RecordPair: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + m.IsBusy = bool(v != 0) + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field UsedSize", wireType) } - var stringLen uint64 + m.UsedSize = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -28944,29 +30851,16 @@ func (m *RecordPair) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.UsedSize |= uint64(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthPdpb - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthPdpb - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Key = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: + case 11: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field BytesWritten", wireType) } - m.Value = 0 + m.BytesWritten = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -28976,66 +30870,16 @@ func (m *RecordPair) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Value |= uint64(b&0x7F) << shift + m.BytesWritten |= uint64(b&0x7F) << shift if b < 0x80 { break } } - default: - iNdEx = preIndex - skippy, err := skipPdpb(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthPdpb - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PeerStat) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: PeerStat: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PeerStat: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 12: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RegionId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field KeysWritten", wireType) } - m.RegionId = 0 + m.KeysWritten = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29045,16 +30889,16 @@ func (m *PeerStat) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.RegionId |= uint64(b&0x7F) << shift + m.KeysWritten |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 2: + case 13: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReadKeys", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field BytesRead", wireType) } - m.ReadKeys = 0 + m.BytesRead = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29064,16 +30908,16 @@ func (m *PeerStat) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ReadKeys |= uint64(b&0x7F) << shift + m.BytesRead |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 3: + case 14: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReadBytes", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field KeysRead", wireType) } - m.ReadBytes = 0 + m.KeysRead = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29083,14 +30927,14 @@ func (m *PeerStat) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ReadBytes |= uint64(b&0x7F) << shift + m.KeysRead |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 4: + case 15: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field QueryStats", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Interval", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -29117,18 +30961,18 @@ func (m *PeerStat) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.QueryStats == nil { - m.QueryStats = &QueryStats{} + if m.Interval == nil { + m.Interval = &TimeInterval{} } - if err := m.QueryStats.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Interval.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field WrittenKeys", wireType) + case 16: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CpuUsages", wireType) } - m.WrittenKeys = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29138,16 +30982,31 @@ func (m *PeerStat) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.WrittenKeys |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field WrittenBytes", wireType) + if msglen < 0 { + return ErrInvalidLengthPdpb } - m.WrittenBytes = 0 + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CpuUsages = append(m.CpuUsages, &RecordPair{}) + if err := m.CpuUsages[len(m.CpuUsages)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 17: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReadIoRates", wireType) + } + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29157,66 +31016,31 @@ func (m *PeerStat) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.WrittenBytes |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - default: - iNdEx = preIndex - skippy, err := skipPdpb(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { + if msglen < 0 { return ErrInvalidLengthPdpb } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StoreStats) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + m.ReadIoRates = append(m.ReadIoRates, &RecordPair{}) + if err := m.ReadIoRates[len(m.ReadIoRates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: StoreStats: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StoreStats: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StoreId", wireType) + iNdEx = postIndex + case 18: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WriteIoRates", wireType) } - m.StoreId = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29226,16 +31050,31 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.StoreId |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType) + if msglen < 0 { + return ErrInvalidLengthPdpb } - m.Capacity = 0 + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WriteIoRates = append(m.WriteIoRates, &RecordPair{}) + if err := m.WriteIoRates[len(m.WriteIoRates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 19: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OpLatencies", wireType) + } + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29245,16 +31084,31 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Capacity |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Available", wireType) + if msglen < 0 { + return ErrInvalidLengthPdpb } - m.Available = 0 + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OpLatencies = append(m.OpLatencies, &RecordPair{}) + if err := m.OpLatencies[len(m.OpLatencies)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 20: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PeerStats", wireType) + } + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29264,16 +31118,31 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Available |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RegionCount", wireType) + if msglen < 0 { + return ErrInvalidLengthPdpb } - m.RegionCount = 0 + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PeerStats = append(m.PeerStats, &PeerStat{}) + if err := m.PeerStats[len(m.PeerStats)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 21: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field QueryStats", wireType) + } + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29283,16 +31152,33 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.RegionCount |= uint32(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 5: + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.QueryStats == nil { + m.QueryStats = &QueryStats{} + } + if err := m.QueryStats.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 22: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SendingSnapCount", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SlowScore", wireType) } - m.SendingSnapCount = 0 + m.SlowScore = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29302,16 +31188,92 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SendingSnapCount |= uint32(b&0x7F) << shift + m.SlowScore |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 6: + case 23: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DamagedRegionsId = append(m.DamagedRegionsId, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(m.DamagedRegionsId) == 0 { + m.DamagedRegionsId = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DamagedRegionsId = append(m.DamagedRegionsId, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field DamagedRegionsId", wireType) + } + case 24: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ReceivingSnapCount", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IsApplyBusy", wireType) } - m.ReceivingSnapCount = 0 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29321,16 +31283,17 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ReceivingSnapCount |= uint32(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType) + m.IsApplyBusy = bool(v != 0) + case 25: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SnapshotStats", wireType) } - m.StartTime = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29340,16 +31303,31 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.StartTime |= uint32(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 8: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ApplyingSnapCount", wireType) + if msglen < 0 { + return ErrInvalidLengthPdpb } - m.ApplyingSnapCount = 0 + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SnapshotStats = append(m.SnapshotStats, &SnapshotStat{}) + if err := m.SnapshotStats[len(m.SnapshotStats)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 26: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SlowTrend", wireType) + } + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29359,14 +31337,31 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ApplyingSnapCount |= uint32(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 9: + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.SlowTrend == nil { + m.SlowTrend = &SlowTrend{} + } + if err := m.SlowTrend.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 27: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IsBusy", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IsGrpcPaused", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -29383,12 +31378,12 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { break } } - m.IsBusy = bool(v != 0) - case 10: + m.IsGrpcPaused = bool(v != 0) + case 28: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field UsedSize", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TotalMemory", wireType) } - m.UsedSize = 0 + m.TotalMemory = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29398,16 +31393,16 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.UsedSize |= uint64(b&0x7F) << shift + m.TotalMemory |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 11: + case 29: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field BytesWritten", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field UsedMemory", wireType) } - m.BytesWritten = 0 + m.UsedMemory = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29417,16 +31412,160 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.BytesWritten |= uint64(b&0x7F) << shift + m.UsedMemory |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 12: + default: + iNdEx = preIndex + skippy, err := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthPdpb + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SlowTrend) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SlowTrend: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SlowTrend: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field CauseValue", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.CauseValue = float64(math.Float64frombits(v)) + case 2: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field CauseRate", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.CauseRate = float64(math.Float64frombits(v)) + case 3: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field ResultValue", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.ResultValue = float64(math.Float64frombits(v)) + case 4: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field ResultRate", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.ResultRate = float64(math.Float64frombits(v)) + default: + iNdEx = preIndex + skippy, err := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthPdpb + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SnapshotStat) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SnapshotStat: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SnapshotStat: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field KeysWritten", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RegionId", wireType) } - m.KeysWritten = 0 + m.RegionId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29436,16 +31575,16 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.KeysWritten |= uint64(b&0x7F) << shift + m.RegionId |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 13: + case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field BytesRead", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GenerateDurationSec", wireType) } - m.BytesRead = 0 + m.GenerateDurationSec = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29455,16 +31594,16 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.BytesRead |= uint64(b&0x7F) << shift + m.GenerateDurationSec |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 14: + case 3: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field KeysRead", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SendDurationSec", wireType) } - m.KeysRead = 0 + m.SendDurationSec = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29474,16 +31613,16 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.KeysRead |= uint64(b&0x7F) << shift + m.SendDurationSec |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 15: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Interval", wireType) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TotalDurationSec", wireType) } - var msglen int + m.TotalDurationSec = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29493,33 +31632,16 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.TotalDurationSec |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthPdpb - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthPdpb - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Interval == nil { - m.Interval = &TimeInterval{} - } - if err := m.Interval.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 16: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CpuUsages", wireType) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TransportSize", wireType) } - var msglen int + m.TransportSize = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29529,29 +31651,64 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.TransportSize |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthPdpb + default: + iNdEx = preIndex + skippy, err := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthPdpb } - if postIndex > l { + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PeerReport) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { return io.ErrUnexpectedEOF } - m.CpuUsages = append(m.CpuUsages, &RecordPair{}) - if err := m.CpuUsages[len(m.CpuUsages)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - iNdEx = postIndex - case 17: + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PeerReport: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PeerReport: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ReadIoRates", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RaftState", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -29578,14 +31735,16 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ReadIoRates = append(m.ReadIoRates, &RecordPair{}) - if err := m.ReadIoRates[len(m.ReadIoRates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.RaftState == nil { + m.RaftState = &raft_serverpb.RaftLocalState{} + } + if err := m.RaftState.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 18: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WriteIoRates", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RegionState", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -29612,16 +31771,18 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.WriteIoRates = append(m.WriteIoRates, &RecordPair{}) - if err := m.WriteIoRates[len(m.WriteIoRates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.RegionState == nil { + m.RegionState = &raft_serverpb.RegionLocalState{} + } + if err := m.RegionState.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 19: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OpLatencies", wireType) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsForceLeader", wireType) } - var msglen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29631,31 +31792,17 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthPdpb - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthPdpb - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.OpLatencies = append(m.OpLatencies, &RecordPair{}) - if err := m.OpLatencies[len(m.OpLatencies)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 20: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PeerStats", wireType) + m.IsForceLeader = bool(v != 0) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field HasCommitMerge", wireType) } - var msglen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29665,31 +31812,17 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthPdpb - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthPdpb - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PeerStats = append(m.PeerStats, &PeerStat{}) - if err := m.PeerStats[len(m.PeerStats)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 21: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field QueryStats", wireType) + m.HasCommitMerge = bool(v != 0) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AppliedIndex", wireType) } - var msglen int + m.AppliedIndex = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29699,128 +31832,100 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.AppliedIndex |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthPdpb + default: + iNdEx = preIndex + skippy, err := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthPdpb } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.QueryStats == nil { - m.QueryStats = &QueryStats{} - } - if err := m.QueryStats.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StoreReport) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb } - iNdEx = postIndex - case 22: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SlowScore", wireType) + if iNdEx >= l { + return io.ErrUnexpectedEOF } - m.SlowScore = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.SlowScore |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - case 23: - if wireType == 0 { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.DamagedRegionsId = append(m.DamagedRegionsId, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthPdpb - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthPdpb - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.DamagedRegionsId) == 0 { - m.DamagedRegionsId = make([]uint64, 0, elementCount) - } - for iNdEx < postIndex { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.DamagedRegionsId = append(m.DamagedRegionsId, v) + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StoreReport: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StoreReport: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PeerReports", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field DamagedRegionsId", wireType) } - case 24: + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PeerReports = append(m.PeerReports, &PeerReport{}) + if err := m.PeerReports[len(m.PeerReports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IsApplyBusy", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Step", wireType) } - var v int + m.Step = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29830,15 +31935,64 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + m.Step |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.IsApplyBusy = bool(v != 0) - case 25: + default: + iNdEx = preIndex + skippy, err := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthPdpb + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StoreHeartbeatRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StoreHeartbeatRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StoreHeartbeatRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SnapshotStats", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -29865,14 +32019,16 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.SnapshotStats = append(m.SnapshotStats, &SnapshotStat{}) - if err := m.SnapshotStats[len(m.SnapshotStats)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Header == nil { + m.Header = &RequestHeader{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 26: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SlowTrend", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Stats", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -29899,18 +32055,18 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.SlowTrend == nil { - m.SlowTrend = &SlowTrend{} + if m.Stats == nil { + m.Stats = &StoreStats{} } - if err := m.SlowTrend.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Stats.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 27: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IsGrpcPaused", wireType) + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StoreReport", wireType) } - var v int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29920,36 +32076,33 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - m.IsGrpcPaused = bool(v != 0) - case 28: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalMemory", wireType) + if msglen < 0 { + return ErrInvalidLengthPdpb } - m.TotalMemory = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TotalMemory |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb } - case 29: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field UsedMemory", wireType) + if postIndex > l { + return io.ErrUnexpectedEOF } - m.UsedMemory = 0 + if m.StoreReport == nil { + m.StoreReport = &StoreReport{} + } + if err := m.StoreReport.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DrAutosyncStatus", wireType) + } + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -29959,105 +32112,28 @@ func (m *StoreStats) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.UsedMemory |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - default: - iNdEx = preIndex - skippy, err := skipPdpb(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { + if msglen < 0 { return ErrInvalidLengthPdpb } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SlowTrend) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SlowTrend: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SlowTrend: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 1 { - return fmt.Errorf("proto: wrong wireType = %d for field CauseValue", wireType) - } - var v uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF - } - v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - m.CauseValue = float64(math.Float64frombits(v)) - case 2: - if wireType != 1 { - return fmt.Errorf("proto: wrong wireType = %d for field CauseRate", wireType) - } - var v uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF - } - v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - m.CauseRate = float64(math.Float64frombits(v)) - case 3: - if wireType != 1 { - return fmt.Errorf("proto: wrong wireType = %d for field ResultValue", wireType) + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb } - var v uint64 - if (iNdEx + 8) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - m.ResultValue = float64(math.Float64frombits(v)) - case 4: - if wireType != 1 { - return fmt.Errorf("proto: wrong wireType = %d for field ResultRate", wireType) + if m.DrAutosyncStatus == nil { + m.DrAutosyncStatus = &replication_modepb.StoreDRAutoSyncStatus{} } - var v uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF + if err := m.DrAutosyncStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - m.ResultRate = float64(math.Float64frombits(v)) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipPdpb(dAtA[iNdEx:]) @@ -30079,7 +32155,7 @@ func (m *SlowTrend) Unmarshal(dAtA []byte) error { } return nil } -func (m *SnapshotStat) Unmarshal(dAtA []byte) error { +func (m *DemoteFailedVoters) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30102,10 +32178,10 @@ func (m *SnapshotStat) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SnapshotStat: wiretype end group for non-group") + return fmt.Errorf("proto: DemoteFailedVoters: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SnapshotStat: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DemoteFailedVoters: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -30128,10 +32204,10 @@ func (m *SnapshotStat) Unmarshal(dAtA []byte) error { } } case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GenerateDurationSec", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FailedVoters", wireType) } - m.GenerateDurationSec = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -30141,67 +32217,227 @@ func (m *SnapshotStat) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.GenerateDurationSec |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SendDurationSec", wireType) + if msglen < 0 { + return ErrInvalidLengthPdpb } - m.SendDurationSec = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FailedVoters = append(m.FailedVoters, &metapb.Peer{}) + if err := m.FailedVoters[len(m.FailedVoters)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthPdpb + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ForceLeader) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ForceLeader: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ForceLeader: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - if iNdEx >= l { - return io.ErrUnexpectedEOF + m.FailedStores = append(m.FailedStores, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } } - b := dAtA[iNdEx] - iNdEx++ - m.SendDurationSec |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if packedLen < 0 { + return ErrInvalidLengthPdpb } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TotalDurationSec", wireType) - } - m.TotalDurationSec = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthPdpb } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - m.TotalDurationSec |= uint64(b&0x7F) << shift - if b < 0x80 { - break + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } } + elementCount = count + if elementCount != 0 && len(m.FailedStores) == 0 { + m.FailedStores = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.FailedStores = append(m.FailedStores, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field FailedStores", wireType) } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TransportSize", wireType) - } - m.TransportSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb + case 2: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - if iNdEx >= l { + m.EnterForceLeaders = append(m.EnterForceLeaders, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - m.TransportSize |= uint64(b&0x7F) << shift - if b < 0x80 { - break + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(m.EnterForceLeaders) == 0 { + m.EnterForceLeaders = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.EnterForceLeaders = append(m.EnterForceLeaders, v) } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field EnterForceLeaders", wireType) } default: iNdEx = preIndex @@ -30224,7 +32460,7 @@ func (m *SnapshotStat) Unmarshal(dAtA []byte) error { } return nil } -func (m *PeerReport) Unmarshal(dAtA []byte) error { +func (m *RecoveryPlan) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30247,15 +32483,15 @@ func (m *PeerReport) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PeerReport: wiretype end group for non-group") + return fmt.Errorf("proto: RecoveryPlan: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PeerReport: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: RecoveryPlan: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RaftState", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Creates", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -30282,16 +32518,14 @@ func (m *PeerReport) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.RaftState == nil { - m.RaftState = &raft_serverpb.RaftLocalState{} - } - if err := m.RaftState.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Creates = append(m.Creates, &metapb.Region{}) + if err := m.Creates[len(m.Creates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RegionState", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Updates", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -30318,18 +32552,92 @@ func (m *PeerReport) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.RegionState == nil { - m.RegionState = &raft_serverpb.RegionLocalState{} - } - if err := m.RegionState.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Updates = append(m.Updates, &metapb.Region{}) + if err := m.Updates[len(m.Updates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IsForceLeader", wireType) + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Tombstones = append(m.Tombstones, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(m.Tombstones) == 0 { + m.Tombstones = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Tombstones = append(m.Tombstones, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field Tombstones", wireType) } - var v int + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Demotes", wireType) + } + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -30339,17 +32647,67 @@ func (m *PeerReport) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - m.IsForceLeader = bool(v != 0) - case 4: + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Demotes = append(m.Demotes, &DemoteFailedVoters{}) + if err := m.Demotes[len(m.Demotes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ForceLeader", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ForceLeader == nil { + m.ForceLeader = &ForceLeader{} + } + if err := m.ForceLeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field HasCommitMerge", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Step", wireType) } - var v int + m.Step = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -30357,32 +32715,138 @@ func (m *PeerReport) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break + b := dAtA[iNdEx] + iNdEx++ + m.Step |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthPdpb + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *AwakenRegions) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: AwakenRegions: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AwakenRegions: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AbnormalStores = append(m.AbnormalStores, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthPdpb } - } - m.HasCommitMerge = bool(v != 0) - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AppliedIndex", wireType) - } - m.AppliedIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthPdpb } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - m.AppliedIndex |= uint64(b&0x7F) << shift - if b < 0x80 { - break + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(m.AbnormalStores) == 0 { + m.AbnormalStores = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AbnormalStores = append(m.AbnormalStores, v) } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field AbnormalStores", wireType) } default: iNdEx = preIndex @@ -30405,7 +32869,7 @@ func (m *PeerReport) Unmarshal(dAtA []byte) error { } return nil } -func (m *StoreReport) Unmarshal(dAtA []byte) error { +func (m *ControlGrpc) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30428,51 +32892,17 @@ func (m *StoreReport) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: StoreReport: wiretype end group for non-group") + return fmt.Errorf("proto: ControlGrpc: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: StoreReport: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ControlGrpc: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PeerReports", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthPdpb - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthPdpb - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PeerReports = append(m.PeerReports, &PeerReport{}) - if err := m.PeerReports[len(m.PeerReports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Step", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CtrlEvent", wireType) } - m.Step = 0 + m.CtrlEvent = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -30482,7 +32912,7 @@ func (m *StoreReport) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Step |= uint64(b&0x7F) << shift + m.CtrlEvent |= ControlGrpcEvent(b&0x7F) << shift if b < 0x80 { break } @@ -30508,7 +32938,7 @@ func (m *StoreReport) Unmarshal(dAtA []byte) error { } return nil } -func (m *StoreHeartbeatRequest) Unmarshal(dAtA []byte) error { +func (m *StoreHeartbeatResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30531,10 +32961,10 @@ func (m *StoreHeartbeatRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: StoreHeartbeatRequest: wiretype end group for non-group") + return fmt.Errorf("proto: StoreHeartbeatResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: StoreHeartbeatRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StoreHeartbeatResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -30567,7 +32997,7 @@ func (m *StoreHeartbeatRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Header == nil { - m.Header = &RequestHeader{} + m.Header = &ResponseHeader{} } if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -30575,7 +33005,7 @@ func (m *StoreHeartbeatRequest) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Stats", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ReplicationStatus", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -30602,18 +33032,18 @@ func (m *StoreHeartbeatRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Stats == nil { - m.Stats = &StoreStats{} + if m.ReplicationStatus == nil { + m.ReplicationStatus = &replication_modepb.ReplicationStatus{} } - if err := m.Stats.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ReplicationStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StoreReport", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClusterVersion", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -30623,31 +33053,47 @@ func (m *StoreHeartbeatRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthPdpb } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthPdpb } if postIndex > l { return io.ErrUnexpectedEOF } - if m.StoreReport == nil { - m.StoreReport = &StoreReport{} - } - if err := m.StoreReport.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ClusterVersion = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RequireDetailedReport", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.RequireDetailedReport = bool(v != 0) + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DrAutosyncStatus", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RecoveryPlan", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -30674,68 +33120,18 @@ func (m *StoreHeartbeatRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.DrAutosyncStatus == nil { - m.DrAutosyncStatus = &replication_modepb.StoreDRAutoSyncStatus{} + if m.RecoveryPlan == nil { + m.RecoveryPlan = &RecoveryPlan{} } - if err := m.DrAutosyncStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.RecoveryPlan.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipPdpb(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthPdpb - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DemoteFailedVoters) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: DemoteFailedVoters: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DemoteFailedVoters: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RegionId", wireType) + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AwakenRegions", wireType) } - m.RegionId = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -30745,14 +33141,31 @@ func (m *DemoteFailedVoters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.RegionId |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 2: + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AwakenRegions == nil { + m.AwakenRegions = &AwakenRegions{} + } + if err := m.AwakenRegions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FailedVoters", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ControlGrpc", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -30779,8 +33192,10 @@ func (m *DemoteFailedVoters) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.FailedVoters = append(m.FailedVoters, &metapb.Peer{}) - if err := m.FailedVoters[len(m.FailedVoters)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.ControlGrpc == nil { + m.ControlGrpc = &ControlGrpc{} + } + if err := m.ControlGrpc.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -30805,7 +33220,7 @@ func (m *DemoteFailedVoters) Unmarshal(dAtA []byte) error { } return nil } -func (m *ForceLeader) Unmarshal(dAtA []byte) error { +func (m *ScatterRegionRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -30828,217 +33243,106 @@ func (m *ForceLeader) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ForceLeader: wiretype end group for non-group") + return fmt.Errorf("proto: ScatterRegionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ForceLeader: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ScatterRegionRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType == 0 { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.FailedStores = append(m.FailedStores, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthPdpb - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthPdpb + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb } - if postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.FailedStores) == 0 { - m.FailedStores = make([]uint64, 0, elementCount) - } - for iNdEx < postIndex { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.FailedStores = append(m.FailedStores, v) + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field FailedStores", wireType) } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &RequestHeader{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex case 2: - if wireType == 0 { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RegionId", wireType) + } + m.RegionId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb } - m.EnterForceLeaders = append(m.EnterForceLeaders, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } + if iNdEx >= l { + return io.ErrUnexpectedEOF } - if packedLen < 0 { - return ErrInvalidLengthPdpb + b := dAtA[iNdEx] + iNdEx++ + m.RegionId |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthPdpb + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb } - if postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.EnterForceLeaders) == 0 { - m.EnterForceLeaders = make([]uint64, 0, elementCount) - } - for iNdEx < postIndex { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.EnterForceLeaders = append(m.EnterForceLeaders, v) + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field EnterForceLeaders", wireType) - } - default: - iNdEx = preIndex - skippy, err := skipPdpb(dAtA[iNdEx:]) - if err != nil { - return err } - if (skippy < 0) || (iNdEx+skippy) < 0 { + if msglen < 0 { return ErrInvalidLengthPdpb } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RecoveryPlan) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: RecoveryPlan: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RecoveryPlan: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + if m.Region == nil { + m.Region = &metapb.Region{} + } + if err := m.Region.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creates", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Leader", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -31065,16 +33369,18 @@ func (m *RecoveryPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Creates = append(m.Creates, &metapb.Region{}) - if err := m.Creates[len(m.Creates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Leader == nil { + m.Leader = &metapb.Peer{} + } + if err := m.Leader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Updates", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -31084,27 +33390,25 @@ func (m *RecoveryPlan) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthPdpb } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthPdpb } if postIndex > l { return io.ErrUnexpectedEOF } - m.Updates = append(m.Updates, &metapb.Region{}) - if err := m.Updates[len(m.Updates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Group = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 6: if wireType == 0 { var v uint64 for shift := uint(0); ; shift += 7 { @@ -31121,7 +33425,7 @@ func (m *RecoveryPlan) Unmarshal(dAtA []byte) error { break } } - m.Tombstones = append(m.Tombstones, v) + m.RegionsId = append(m.RegionsId, v) } else if wireType == 2 { var packedLen int for shift := uint(0); ; shift += 7 { @@ -31156,8 +33460,8 @@ func (m *RecoveryPlan) Unmarshal(dAtA []byte) error { } } elementCount = count - if elementCount != 0 && len(m.Tombstones) == 0 { - m.Tombstones = make([]uint64, 0, elementCount) + if elementCount != 0 && len(m.RegionsId) == 0 { + m.RegionsId = make([]uint64, 0, elementCount) } for iNdEx < postIndex { var v uint64 @@ -31175,16 +33479,16 @@ func (m *RecoveryPlan) Unmarshal(dAtA []byte) error { break } } - m.Tombstones = append(m.Tombstones, v) + m.RegionsId = append(m.RegionsId, v) } } else { - return fmt.Errorf("proto: wrong wireType = %d for field Tombstones", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RegionsId", wireType) } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Demotes", wireType) + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RetryLimit", wireType) } - var msglen int + m.RetryLimit = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -31194,29 +33498,84 @@ func (m *RecoveryPlan) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.RetryLimit |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthPdpb + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SkipStoreLimit", wireType) } - postIndex := iNdEx + msglen - if postIndex < 0 { + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SkipStoreLimit = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthPdpb } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.Demotes = append(m.Demotes, &DemoteFailedVoters{}) - if err := m.Demotes[len(m.Demotes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ScatterRegionResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb } - iNdEx = postIndex - case 5: + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ScatterRegionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ScatterRegionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ForceLeader", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -31243,18 +33602,18 @@ func (m *RecoveryPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ForceLeader == nil { - m.ForceLeader = &ForceLeader{} + if m.Header == nil { + m.Header = &ResponseHeader{} } - if err := m.ForceLeader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 6: + case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Step", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field FinishedPercentage", wireType) } - m.Step = 0 + m.FinishedPercentage = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -31264,7 +33623,7 @@ func (m *RecoveryPlan) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Step |= uint64(b&0x7F) << shift + m.FinishedPercentage |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -31290,7 +33649,7 @@ func (m *RecoveryPlan) Unmarshal(dAtA []byte) error { } return nil } -func (m *AwakenRegions) Unmarshal(dAtA []byte) error { +func (m *GetGCSafePointRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31313,87 +33672,152 @@ func (m *AwakenRegions) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: AwakenRegions: wiretype end group for non-group") + return fmt.Errorf("proto: GetGCSafePointRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: AwakenRegions: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetGCSafePointRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType == 0 { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &RequestHeader{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthPdpb + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetGCSafePointResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetGCSafePointResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetGCSafePointResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb } - m.AbnormalStores = append(m.AbnormalStores, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } + if iNdEx >= l { + return io.ErrUnexpectedEOF } - if packedLen < 0 { - return ErrInvalidLengthPdpb + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthPdpb + } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &ResponseHeader{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SafePoint", wireType) + } + m.SafePoint = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb } - if postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.AbnormalStores) == 0 { - m.AbnormalStores = make([]uint64, 0, elementCount) - } - for iNdEx < postIndex { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.AbnormalStores = append(m.AbnormalStores, v) + b := dAtA[iNdEx] + iNdEx++ + m.SafePoint |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field AbnormalStores", wireType) } default: iNdEx = preIndex @@ -31416,7 +33840,7 @@ func (m *AwakenRegions) Unmarshal(dAtA []byte) error { } return nil } -func (m *ControlGrpc) Unmarshal(dAtA []byte) error { +func (m *KeyspaceScope) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31439,17 +33863,17 @@ func (m *ControlGrpc) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ControlGrpc: wiretype end group for non-group") + return fmt.Errorf("proto: KeyspaceScope: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ControlGrpc: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: KeyspaceScope: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CtrlEvent", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceId", wireType) } - m.CtrlEvent = 0 + m.KeyspaceId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -31459,7 +33883,7 @@ func (m *ControlGrpc) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.CtrlEvent |= ControlGrpcEvent(b&0x7F) << shift + m.KeyspaceId |= uint32(b&0x7F) << shift if b < 0x80 { break } @@ -31485,7 +33909,7 @@ func (m *ControlGrpc) Unmarshal(dAtA []byte) error { } return nil } -func (m *StoreHeartbeatResponse) Unmarshal(dAtA []byte) error { +func (m *UpdateGCSafePointRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31508,10 +33932,10 @@ func (m *StoreHeartbeatResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: StoreHeartbeatResponse: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateGCSafePointRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: StoreHeartbeatResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateGCSafePointRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -31544,15 +33968,34 @@ func (m *StoreHeartbeatResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Header == nil { - m.Header = &ResponseHeader{} + m.Header = &RequestHeader{} } if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType) + } + m.Target = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Target |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ReplicationStatus", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceScope", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -31579,18 +34022,68 @@ func (m *StoreHeartbeatResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ReplicationStatus == nil { - m.ReplicationStatus = &replication_modepb.ReplicationStatus{} + if m.KeyspaceScope == nil { + m.KeyspaceScope = &KeyspaceScope{} } - if err := m.ReplicationStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.KeyspaceScope.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 3: + default: + iNdEx = preIndex + skippy, err := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthPdpb + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpdateGCSafePointResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpdateGCSafePointResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpdateGCSafePointResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClusterVersion", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -31600,29 +34093,33 @@ func (m *StoreHeartbeatResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthPdpb } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthPdpb } if postIndex > l { return io.ErrUnexpectedEOF } - m.ClusterVersion = string(dAtA[iNdEx:postIndex]) + if m.Header == nil { + m.Header = &ResponseHeader{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 4: + case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RequireDetailedReport", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field NewGcSafePoint", wireType) } - var v int + m.NewGcSafePoint = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -31632,15 +34129,64 @@ func (m *StoreHeartbeatResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + m.NewGcSafePoint |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.RequireDetailedReport = bool(v != 0) - case 5: + default: + iNdEx = preIndex + skippy, err := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthPdpb + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpdateServiceGCSafePointRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpdateServiceGCSafePointRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpdateServiceGCSafePointRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RecoveryPlan", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -31667,18 +34213,18 @@ func (m *StoreHeartbeatResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.RecoveryPlan == nil { - m.RecoveryPlan = &RecoveryPlan{} + if m.Header == nil { + m.Header = &RequestHeader{} } - if err := m.RecoveryPlan.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 6: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AwakenRegions", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ServiceId", wireType) } - var msglen int + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -31688,33 +34234,31 @@ func (m *StoreHeartbeatResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + if byteLen < 0 { return ErrInvalidLengthPdpb } - postIndex := iNdEx + msglen + postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthPdpb } if postIndex > l { return io.ErrUnexpectedEOF } - if m.AwakenRegions == nil { - m.AwakenRegions = &AwakenRegions{} - } - if err := m.AwakenRegions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + m.ServiceId = append(m.ServiceId[:0], dAtA[iNdEx:postIndex]...) + if m.ServiceId == nil { + m.ServiceId = []byte{} } iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ControlGrpc", wireType) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TTL", wireType) } - var msglen int + m.TTL = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -31724,28 +34268,30 @@ func (m *StoreHeartbeatResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.TTL |= int64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthPdpb - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthPdpb - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ControlGrpc == nil { - m.ControlGrpc = &ControlGrpc{} + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SafePoint", wireType) } - if err := m.ControlGrpc.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + m.SafePoint = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SafePoint |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipPdpb(dAtA[iNdEx:]) @@ -31767,7 +34313,7 @@ func (m *StoreHeartbeatResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *ScatterRegionRequest) Unmarshal(dAtA []byte) error { +func (m *UpdateServiceGCSafePointResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -31790,10 +34336,10 @@ func (m *ScatterRegionRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ScatterRegionRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateServiceGCSafePointResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ScatterRegionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateServiceGCSafePointResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -31826,36 +34372,17 @@ func (m *ScatterRegionRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Header == nil { - m.Header = &RequestHeader{} + m.Header = &ResponseHeader{} } if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RegionId", wireType) - } - m.RegionId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.RegionId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ServiceId", wireType) } - var msglen int + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -31865,33 +34392,31 @@ func (m *ScatterRegionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + if byteLen < 0 { return ErrInvalidLengthPdpb } - postIndex := iNdEx + msglen + postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthPdpb } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Region == nil { - m.Region = &metapb.Region{} - } - if err := m.Region.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + m.ServiceId = append(m.ServiceId[:0], dAtA[iNdEx:postIndex]...) + if m.ServiceId == nil { + m.ServiceId = []byte{} } iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Leader", wireType) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TTL", wireType) } - var msglen int + m.TTL = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -31901,33 +34426,16 @@ func (m *ScatterRegionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.TTL |= int64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthPdpb - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthPdpb - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Leader == nil { - m.Leader = &metapb.Peer{} - } - if err := m.Leader.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MinSafePoint", wireType) } - var stringLen uint64 + m.MinSafePoint = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -31937,105 +34445,66 @@ func (m *ScatterRegionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.MinSafePoint |= uint64(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthPdpb + default: + iNdEx = preIndex + skippy, err := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthPdpb } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.Group = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType == 0 { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.RegionsId = append(m.RegionsId, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthPdpb - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthPdpb - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.RegionsId) == 0 { - m.RegionsId = make([]uint64, 0, elementCount) - } - for iNdEx < postIndex { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.RegionsId = append(m.RegionsId, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field RegionsId", wireType) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetGCSafePointV2Request) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field RetryLimit", wireType) + if iNdEx >= l { + return io.ErrUnexpectedEOF } - m.RetryLimit = 0 + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetGCSafePointV2Request: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetGCSafePointV2Request: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -32045,16 +34514,33 @@ func (m *ScatterRegionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.RetryLimit |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 8: + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &RequestHeader{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SkipStoreLimit", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceId", wireType) } - var v int + m.KeyspaceId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -32064,12 +34550,11 @@ func (m *ScatterRegionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + m.KeyspaceId |= uint32(b&0x7F) << shift if b < 0x80 { break } } - m.SkipStoreLimit = bool(v != 0) default: iNdEx = preIndex skippy, err := skipPdpb(dAtA[iNdEx:]) @@ -32091,7 +34576,7 @@ func (m *ScatterRegionRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *ScatterRegionResponse) Unmarshal(dAtA []byte) error { +func (m *GetGCSafePointV2Response) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32114,10 +34599,10 @@ func (m *ScatterRegionResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ScatterRegionResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetGCSafePointV2Response: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ScatterRegionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetGCSafePointV2Response: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -32158,9 +34643,9 @@ func (m *ScatterRegionResponse) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field FinishedPercentage", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SafePoint", wireType) } - m.FinishedPercentage = 0 + m.SafePoint = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -32170,7 +34655,7 @@ func (m *ScatterRegionResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.FinishedPercentage |= uint64(b&0x7F) << shift + m.SafePoint |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -32196,7 +34681,7 @@ func (m *ScatterRegionResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetGCSafePointRequest) Unmarshal(dAtA []byte) error { +func (m *WatchGCSafePointV2Request) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32219,10 +34704,10 @@ func (m *GetGCSafePointRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetGCSafePointRequest: wiretype end group for non-group") + return fmt.Errorf("proto: WatchGCSafePointV2Request: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetGCSafePointRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: WatchGCSafePointV2Request: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -32261,6 +34746,25 @@ func (m *GetGCSafePointRequest) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) + } + m.Revision = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Revision |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipPdpb(dAtA[iNdEx:]) @@ -32282,7 +34786,7 @@ func (m *GetGCSafePointRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetGCSafePointResponse) Unmarshal(dAtA []byte) error { +func (m *SafePointEvent) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32305,10 +34809,117 @@ func (m *GetGCSafePointResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetGCSafePointResponse: wiretype end group for non-group") + return fmt.Errorf("proto: SafePointEvent: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetGCSafePointResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SafePointEvent: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceId", wireType) + } + m.KeyspaceId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.KeyspaceId |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SafePoint", wireType) + } + m.SafePoint = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SafePoint |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + m.Type = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Type |= EventType(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthPdpb + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WatchGCSafePointV2Response) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WatchGCSafePointV2Response: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WatchGCSafePointV2Response: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -32348,10 +34959,44 @@ func (m *GetGCSafePointResponse) Unmarshal(dAtA []byte) error { } iNdEx = postIndex case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Events = append(m.Events, &SafePointEvent{}) + if err := m.Events[len(m.Events)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SafePoint", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) } - m.SafePoint = 0 + m.Revision = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -32361,7 +35006,7 @@ func (m *GetGCSafePointResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SafePoint |= uint64(b&0x7F) << shift + m.Revision |= int64(b&0x7F) << shift if b < 0x80 { break } @@ -32387,7 +35032,7 @@ func (m *GetGCSafePointResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateGCSafePointRequest) Unmarshal(dAtA []byte) error { +func (m *UpdateGCSafePointV2Request) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32410,10 +35055,10 @@ func (m *UpdateGCSafePointRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateGCSafePointRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateGCSafePointV2Request: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateGCSafePointRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateGCSafePointV2Request: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -32453,6 +35098,25 @@ func (m *UpdateGCSafePointRequest) Unmarshal(dAtA []byte) error { } iNdEx = postIndex case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceId", wireType) + } + m.KeyspaceId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.KeyspaceId |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field SafePoint", wireType) } @@ -32492,7 +35156,7 @@ func (m *UpdateGCSafePointRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateGCSafePointResponse) Unmarshal(dAtA []byte) error { +func (m *UpdateGCSafePointV2Response) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32515,10 +35179,10 @@ func (m *UpdateGCSafePointResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateGCSafePointResponse: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateGCSafePointV2Response: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateGCSafePointResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateGCSafePointV2Response: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -32597,7 +35261,7 @@ func (m *UpdateGCSafePointResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateServiceGCSafePointRequest) Unmarshal(dAtA []byte) error { +func (m *UpdateServiceSafePointV2Request) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32620,10 +35284,10 @@ func (m *UpdateServiceGCSafePointRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateServiceGCSafePointRequest: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateServiceSafePointV2Request: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateServiceGCSafePointRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateServiceSafePointV2Request: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -32663,6 +35327,25 @@ func (m *UpdateServiceGCSafePointRequest) Unmarshal(dAtA []byte) error { } iNdEx = postIndex case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceId", wireType) + } + m.KeyspaceId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.KeyspaceId |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ServiceId", wireType) } @@ -32696,11 +35379,11 @@ func (m *UpdateServiceGCSafePointRequest) Unmarshal(dAtA []byte) error { m.ServiceId = []byte{} } iNdEx = postIndex - case 3: + case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TTL", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SafePoint", wireType) } - m.TTL = 0 + m.SafePoint = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -32710,16 +35393,16 @@ func (m *UpdateServiceGCSafePointRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.TTL |= int64(b&0x7F) << shift + m.SafePoint |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 4: + case 5: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SafePoint", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Ttl", wireType) } - m.SafePoint = 0 + m.Ttl = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -32729,7 +35412,7 @@ func (m *UpdateServiceGCSafePointRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SafePoint |= uint64(b&0x7F) << shift + m.Ttl |= int64(b&0x7F) << shift if b < 0x80 { break } @@ -32755,7 +35438,7 @@ func (m *UpdateServiceGCSafePointRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateServiceGCSafePointResponse) Unmarshal(dAtA []byte) error { +func (m *UpdateServiceSafePointV2Response) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32778,10 +35461,10 @@ func (m *UpdateServiceGCSafePointResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateServiceGCSafePointResponse: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateServiceSafePointV2Response: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateServiceGCSafePointResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateServiceSafePointV2Response: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -32856,9 +35539,9 @@ func (m *UpdateServiceGCSafePointResponse) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 3: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TTL", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Ttl", wireType) } - m.TTL = 0 + m.Ttl = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -32868,7 +35551,7 @@ func (m *UpdateServiceGCSafePointResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.TTL |= int64(b&0x7F) << shift + m.Ttl |= int64(b&0x7F) << shift if b < 0x80 { break } @@ -32913,7 +35596,7 @@ func (m *UpdateServiceGCSafePointResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetGCSafePointV2Request) Unmarshal(dAtA []byte) error { +func (m *GetAllGCSafePointV2Request) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -32936,10 +35619,10 @@ func (m *GetGCSafePointV2Request) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetGCSafePointV2Request: wiretype end group for non-group") + return fmt.Errorf("proto: GetAllGCSafePointV2Request: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetGCSafePointV2Request: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetAllGCSafePointV2Request: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -32978,25 +35661,6 @@ func (m *GetGCSafePointV2Request) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceId", wireType) - } - m.KeyspaceId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.KeyspaceId |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipPdpb(dAtA[iNdEx:]) @@ -33018,7 +35682,7 @@ func (m *GetGCSafePointV2Request) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetGCSafePointV2Response) Unmarshal(dAtA []byte) error { +func (m *GCSafePointV2) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33041,17 +35705,17 @@ func (m *GetGCSafePointV2Response) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetGCSafePointV2Response: wiretype end group for non-group") + return fmt.Errorf("proto: GCSafePointV2: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetGCSafePointV2Response: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GCSafePointV2: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceId", wireType) } - var msglen int + m.KeyspaceId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -33061,33 +35725,16 @@ func (m *GetGCSafePointV2Response) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.KeyspaceId |= uint32(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthPdpb - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthPdpb - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Header == nil { - m.Header = &ResponseHeader{} - } - if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SafePoint", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GcSafePoint", wireType) } - m.SafePoint = 0 + m.GcSafePoint = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -33097,7 +35744,7 @@ func (m *GetGCSafePointV2Response) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SafePoint |= uint64(b&0x7F) << shift + m.GcSafePoint |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -33123,7 +35770,7 @@ func (m *GetGCSafePointV2Response) Unmarshal(dAtA []byte) error { } return nil } -func (m *WatchGCSafePointV2Request) Unmarshal(dAtA []byte) error { +func (m *GetAllGCSafePointV2Response) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33146,10 +35793,10 @@ func (m *WatchGCSafePointV2Request) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: WatchGCSafePointV2Request: wiretype end group for non-group") + return fmt.Errorf("proto: GetAllGCSafePointV2Response: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: WatchGCSafePointV2Request: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetAllGCSafePointV2Response: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -33171,116 +35818,28 @@ func (m *WatchGCSafePointV2Request) Unmarshal(dAtA []byte) error { break } } - if msglen < 0 { - return ErrInvalidLengthPdpb - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthPdpb - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Header == nil { - m.Header = &RequestHeader{} - } - if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) - } - m.Revision = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Revision |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipPdpb(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthPdpb - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SafePointEvent) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SafePointEvent: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SafePointEvent: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceId", wireType) - } - m.KeyspaceId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.KeyspaceId |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &ResponseHeader{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SafePoint", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GcSafePoints", wireType) } - m.SafePoint = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -33290,16 +35849,31 @@ func (m *SafePointEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SafePoint |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GcSafePoints = append(m.GcSafePoints, &GCSafePointV2{}) + if err := m.GcSafePoints[len(m.GcSafePoints)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex case 3: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) } - m.Type = 0 + m.Revision = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -33309,7 +35883,7 @@ func (m *SafePointEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Type |= EventType(b&0x7F) << shift + m.Revision |= int64(b&0x7F) << shift if b < 0x80 { break } @@ -33335,7 +35909,7 @@ func (m *SafePointEvent) Unmarshal(dAtA []byte) error { } return nil } -func (m *WatchGCSafePointV2Response) Unmarshal(dAtA []byte) error { +func (m *UpdateTxnSafePointRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33358,10 +35932,10 @@ func (m *WatchGCSafePointV2Response) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: WatchGCSafePointV2Response: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateTxnSafePointRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: WatchGCSafePointV2Response: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateTxnSafePointRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -33394,7 +35968,7 @@ func (m *WatchGCSafePointV2Response) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Header == nil { - m.Header = &ResponseHeader{} + m.Header = &RequestHeader{} } if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -33402,7 +35976,7 @@ func (m *WatchGCSafePointV2Response) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceScope", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -33429,16 +36003,18 @@ func (m *WatchGCSafePointV2Response) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Events = append(m.Events, &SafePointEvent{}) - if err := m.Events[len(m.Events)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.KeyspaceScope == nil { + m.KeyspaceScope = &KeyspaceScope{} + } + if err := m.KeyspaceScope.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 3: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Target", wireType) } - m.Revision = 0 + m.Target = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -33448,7 +36024,7 @@ func (m *WatchGCSafePointV2Response) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Revision |= int64(b&0x7F) << shift + m.Target |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -33474,7 +36050,7 @@ func (m *WatchGCSafePointV2Response) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateGCSafePointV2Request) Unmarshal(dAtA []byte) error { +func (m *UpdateTxnSafePointResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33497,10 +36073,10 @@ func (m *UpdateGCSafePointV2Request) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateGCSafePointV2Request: wiretype end group for non-group") + return fmt.Errorf("proto: UpdateTxnSafePointResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateGCSafePointV2Request: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: UpdateTxnSafePointResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -33533,7 +36109,7 @@ func (m *UpdateGCSafePointV2Request) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Header == nil { - m.Header = &RequestHeader{} + m.Header = &ResponseHeader{} } if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -33541,28 +36117,9 @@ func (m *UpdateGCSafePointV2Request) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceId", wireType) - } - m.KeyspaceId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.KeyspaceId |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } + return fmt.Errorf("proto: wrong wireType = %d for field NewTxnSafePoint", wireType) } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SafePoint", wireType) - } - m.SafePoint = 0 + m.NewTxnSafePoint = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -33572,7 +36129,7 @@ func (m *UpdateGCSafePointV2Request) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SafePoint |= uint64(b&0x7F) << shift + m.NewTxnSafePoint |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -33598,7 +36155,7 @@ func (m *UpdateGCSafePointV2Request) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateGCSafePointV2Response) Unmarshal(dAtA []byte) error { +func (m *SetGCBarrierRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33621,10 +36178,10 @@ func (m *UpdateGCSafePointV2Response) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateGCSafePointV2Response: wiretype end group for non-group") + return fmt.Errorf("proto: SetGCBarrierRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateGCSafePointV2Response: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SetGCBarrierRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -33657,17 +36214,85 @@ func (m *UpdateGCSafePointV2Response) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Header == nil { - m.Header = &ResponseHeader{} + m.Header = &RequestHeader{} } if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceScope", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.KeyspaceScope == nil { + m.KeyspaceScope = &KeyspaceScope{} + } + if err := m.KeyspaceScope.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BarrierId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BarrierId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field NewSafePoint", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field BarrierTs", wireType) } - m.NewSafePoint = 0 + m.BarrierTs = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -33677,7 +36302,26 @@ func (m *UpdateGCSafePointV2Response) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.NewSafePoint |= uint64(b&0x7F) << shift + m.BarrierTs |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TtlSeconds", wireType) + } + m.TtlSeconds = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TtlSeconds |= int64(b&0x7F) << shift if b < 0x80 { break } @@ -33703,7 +36347,7 @@ func (m *UpdateGCSafePointV2Response) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateServiceSafePointV2Request) Unmarshal(dAtA []byte) error { +func (m *GCBarrierInfo) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33726,17 +36370,17 @@ func (m *UpdateServiceSafePointV2Request) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateServiceSafePointV2Request: wiretype end group for non-group") + return fmt.Errorf("proto: GCBarrierInfo: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateServiceSafePointV2Request: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GCBarrierInfo: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field BarrierId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -33746,33 +36390,29 @@ func (m *UpdateServiceSafePointV2Request) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthPdpb } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthPdpb } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Header == nil { - m.Header = &RequestHeader{} - } - if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.BarrierId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field BarrierTs", wireType) } - m.KeyspaceId = 0 + m.BarrierTs = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -33782,16 +36422,85 @@ func (m *UpdateServiceSafePointV2Request) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.KeyspaceId |= uint32(b&0x7F) << shift + m.BarrierTs |= uint64(b&0x7F) << shift if b < 0x80 { break } } case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TtlSeconds", wireType) + } + m.TtlSeconds = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TtlSeconds |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipPdpb(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthPdpb + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SetGCBarrierResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SetGCBarrierResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SetGCBarrierResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -33801,31 +36510,33 @@ func (m *UpdateServiceSafePointV2Request) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthPdpb } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthPdpb } if postIndex > l { return io.ErrUnexpectedEOF } - m.ServiceId = append(m.ServiceId[:0], dAtA[iNdEx:postIndex]...) - if m.ServiceId == nil { - m.ServiceId = []byte{} + if m.Header == nil { + m.Header = &ResponseHeader{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SafePoint", wireType) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NewBarrierInfo", wireType) } - m.SafePoint = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -33835,30 +36546,28 @@ func (m *UpdateServiceSafePointV2Request) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SafePoint |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Ttl", wireType) + if msglen < 0 { + return ErrInvalidLengthPdpb } - m.Ttl = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Ttl |= int64(b&0x7F) << shift - if b < 0x80 { - break - } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.NewBarrierInfo == nil { + m.NewBarrierInfo = &GCBarrierInfo{} + } + if err := m.NewBarrierInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipPdpb(dAtA[iNdEx:]) @@ -33880,7 +36589,7 @@ func (m *UpdateServiceSafePointV2Request) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateServiceSafePointV2Response) Unmarshal(dAtA []byte) error { +func (m *DeleteGCBarrierRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33903,10 +36612,10 @@ func (m *UpdateServiceSafePointV2Response) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateServiceSafePointV2Response: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteGCBarrierRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateServiceSafePointV2Response: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteGCBarrierRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -33939,7 +36648,7 @@ func (m *UpdateServiceSafePointV2Response) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Header == nil { - m.Header = &ResponseHeader{} + m.Header = &RequestHeader{} } if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -33947,9 +36656,9 @@ func (m *UpdateServiceSafePointV2Response) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServiceId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceScope", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -33959,31 +36668,33 @@ func (m *UpdateServiceSafePointV2Response) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthPdpb } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthPdpb } if postIndex > l { return io.ErrUnexpectedEOF } - m.ServiceId = append(m.ServiceId[:0], dAtA[iNdEx:postIndex]...) - if m.ServiceId == nil { - m.ServiceId = []byte{} + if m.KeyspaceScope == nil { + m.KeyspaceScope = &KeyspaceScope{} + } + if err := m.KeyspaceScope.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Ttl", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BarrierId", wireType) } - m.Ttl = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -33993,30 +36704,24 @@ func (m *UpdateServiceSafePointV2Response) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Ttl |= int64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MinSafePoint", wireType) + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthPdpb } - m.MinSafePoint = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowPdpb - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MinSafePoint |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF } + m.BarrierId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipPdpb(dAtA[iNdEx:]) @@ -34038,7 +36743,7 @@ func (m *UpdateServiceSafePointV2Response) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetAllGCSafePointV2Request) Unmarshal(dAtA []byte) error { +func (m *DeleteGCBarrierResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34061,10 +36766,10 @@ func (m *GetAllGCSafePointV2Request) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetAllGCSafePointV2Request: wiretype end group for non-group") + return fmt.Errorf("proto: DeleteGCBarrierResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetAllGCSafePointV2Request: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DeleteGCBarrierResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -34097,12 +36802,48 @@ func (m *GetAllGCSafePointV2Request) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Header == nil { - m.Header = &RequestHeader{} + m.Header = &ResponseHeader{} } if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DeletedBarrierInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.DeletedBarrierInfo == nil { + m.DeletedBarrierInfo = &GCBarrierInfo{} + } + if err := m.DeletedBarrierInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipPdpb(dAtA[iNdEx:]) @@ -34124,7 +36865,7 @@ func (m *GetAllGCSafePointV2Request) Unmarshal(dAtA []byte) error { } return nil } -func (m *GCSafePointV2) Unmarshal(dAtA []byte) error { +func (m *GetGCStateRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34147,17 +36888,17 @@ func (m *GCSafePointV2) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GCSafePointV2: wiretype end group for non-group") + return fmt.Errorf("proto: GetGCStateRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GCSafePointV2: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetGCStateRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceId", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) } - m.KeyspaceId = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -34167,16 +36908,33 @@ func (m *GCSafePointV2) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.KeyspaceId |= uint32(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &RequestHeader{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GcSafePoint", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field KeyspaceScope", wireType) } - m.GcSafePoint = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -34186,11 +36944,28 @@ func (m *GCSafePointV2) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.GcSafePoint |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.KeyspaceScope == nil { + m.KeyspaceScope = &KeyspaceScope{} + } + if err := m.KeyspaceScope.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipPdpb(dAtA[iNdEx:]) @@ -34212,7 +36987,7 @@ func (m *GCSafePointV2) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetAllGCSafePointV2Response) Unmarshal(dAtA []byte) error { +func (m *GetGCStateResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -34235,10 +37010,10 @@ func (m *GetAllGCSafePointV2Response) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetAllGCSafePointV2Response: wiretype end group for non-group") + return fmt.Errorf("proto: GetGCStateResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetAllGCSafePointV2Response: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetGCStateResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -34278,10 +37053,10 @@ func (m *GetAllGCSafePointV2Response) Unmarshal(dAtA []byte) error { } iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GcSafePoints", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TxnSafePoint", wireType) } - var msglen int + m.TxnSafePoint = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -34291,31 +37066,16 @@ func (m *GetAllGCSafePointV2Response) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.TxnSafePoint |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthPdpb - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthPdpb - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GcSafePoints = append(m.GcSafePoints, &GCSafePointV2{}) - if err := m.GcSafePoints[len(m.GcSafePoints)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex case 3: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GcSafePoint", wireType) } - m.Revision = 0 + m.GcSafePoint = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowPdpb @@ -34325,11 +37085,45 @@ func (m *GetAllGCSafePointV2Response) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Revision |= int64(b&0x7F) << shift + m.GcSafePoint |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GcBarriers", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowPdpb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } + if msglen < 0 { + return ErrInvalidLengthPdpb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPdpb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GcBarriers = append(m.GcBarriers, &GCBarrierInfo{}) + if err := m.GcBarriers[len(m.GcBarriers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipPdpb(dAtA[iNdEx:]) diff --git a/proto/pdpb.proto b/proto/pdpb.proto index b97302cea..c2171be3b 100644 --- a/proto/pdpb.proto +++ b/proto/pdpb.proto @@ -95,6 +95,14 @@ service PD { rpc GetAllGCSafePointV2(GetAllGCSafePointV2Request) returns (GetAllGCSafePointV2Response) {} + rpc UpdateTxnSafePoint(UpdateTxnSafePointRequest) returns (UpdateTxnSafePointResponse) {} + + rpc SetGCBarrier(SetGCBarrierRequest) returns (SetGCBarrierResponse) {} + + rpc DeleteGCBarrier(DeleteGCBarrierRequest) returns (DeleteGCBarrierResponse) {} + + rpc GetGCState(GetGCStateRequest) returns (GetGCStateResponse) {} + rpc SyncRegions(stream SyncRegionRequest) returns (stream SyncRegionResponse) {} rpc GetOperator(GetOperatorRequest) returns (GetOperatorResponse) {} @@ -865,16 +873,31 @@ message GetGCSafePointResponse { uint64 safe_point = 2; } + +// A wrapper over keyspace_id. +// When a field is not specified in proto3, its value will be regarded as 0; however, keyspace_id = 0 is regarded as a valid keyspace (which +// is the "DEFAULT" keyspace). To distinguish unspecified keyspace (NullKeyspace, 0xffffffff) and the default keyspace in some APIs as well +// as preventing potential misuse, we wrap the keyspace_id into a message type which is nullable. +message KeyspaceScope { + uint32 keyspace_id = 1; +} + message UpdateGCSafePointRequest { RequestHeader header = 1; - uint64 safe_point = 2; + uint64 target = 2; + + + // The UpdateGCSafePoint API will be in the set of both legacy API and new API, but its behavior will be the same so we don't need to + // avoid the collision on the method name. When it's used as a member of the new API set, the keyspace_id field can be used to specify + // a keyspace. + KeyspaceScope keyspace_scope = 3; } message UpdateGCSafePointResponse { ResponseHeader header = 1; - uint64 new_safe_point = 2; + uint64 new_gc_safe_point = 2; } message UpdateServiceGCSafePointRequest { @@ -974,6 +997,69 @@ message GetAllGCSafePointV2Response { int64 revision = 3; } +message UpdateTxnSafePointRequest { + RequestHeader header = 1; + + KeyspaceScope keyspace_scope = 2; + uint64 target = 3; +} + +message UpdateTxnSafePointResponse { + ResponseHeader header = 1; + + uint64 new_txn_safe_point = 2; +} + +message SetGCBarrierRequest { + RequestHeader header = 1; + + KeyspaceScope keyspace_scope = 2; + + string barrier_id = 3; + uint64 barrier_ts = 4; + int64 ttl_seconds = 5; +} + +message GCBarrierInfo { + string barrier_id = 1; + uint64 barrier_ts = 2; + int64 ttl_seconds = 3; +} + +message SetGCBarrierResponse { + ResponseHeader header = 1; + + GCBarrierInfo new_barrier_info = 2; +} + +message DeleteGCBarrierRequest { + RequestHeader header = 1; + + KeyspaceScope keyspace_scope = 2; + + string barrier_id = 3; +} + +message DeleteGCBarrierResponse { + ResponseHeader header = 1; + + GCBarrierInfo deleted_barrier_info = 2; +} + +message GetGCStateRequest { + RequestHeader header = 1; + + KeyspaceScope keyspace_scope = 2; +} + +message GetGCStateResponse { + ResponseHeader header = 1; + + uint64 txn_safe_point = 2; + uint64 gc_safe_point = 3; + repeated GCBarrierInfo gc_barriers = 4; +} + message RegionStat { // Bytes read/written during this period. uint64 bytes_written = 1; diff --git a/scripts/proto.lock b/scripts/proto.lock index 18a38a8f5..b1f4e8720 100644 --- a/scripts/proto.lock +++ b/scripts/proto.lock @@ -16068,6 +16068,16 @@ } ] }, + { + "name": "KeyspaceScope", + "fields": [ + { + "id": 1, + "name": "keyspace_id", + "type": "uint32" + } + ] + }, { "name": "UpdateGCSafePointRequest", "fields": [ @@ -16078,8 +16088,13 @@ }, { "id": 2, - "name": "safe_point", + "name": "target", "type": "uint64" + }, + { + "id": 3, + "name": "keyspace_scope", + "type": "KeyspaceScope" } ] }, @@ -16093,7 +16108,7 @@ }, { "id": 2, - "name": "new_safe_point", + "name": "new_gc_safe_point", "type": "uint64" } ] @@ -16370,6 +16385,182 @@ } ] }, + { + "name": "UpdateTxnSafePointRequest", + "fields": [ + { + "id": 1, + "name": "header", + "type": "RequestHeader" + }, + { + "id": 2, + "name": "keyspace_scope", + "type": "KeyspaceScope" + }, + { + "id": 3, + "name": "target", + "type": "uint64" + } + ] + }, + { + "name": "UpdateTxnSafePointResponse", + "fields": [ + { + "id": 1, + "name": "header", + "type": "ResponseHeader" + }, + { + "id": 2, + "name": "new_txn_safe_point", + "type": "uint64" + } + ] + }, + { + "name": "SetGCBarrierRequest", + "fields": [ + { + "id": 1, + "name": "header", + "type": "RequestHeader" + }, + { + "id": 2, + "name": "keyspace_scope", + "type": "KeyspaceScope" + }, + { + "id": 3, + "name": "barrier_id", + "type": "string" + }, + { + "id": 4, + "name": "barrier_ts", + "type": "uint64" + }, + { + "id": 5, + "name": "ttl_seconds", + "type": "int64" + } + ] + }, + { + "name": "GCBarrierInfo", + "fields": [ + { + "id": 1, + "name": "barrier_id", + "type": "string" + }, + { + "id": 2, + "name": "barrier_ts", + "type": "uint64" + }, + { + "id": 3, + "name": "ttl_seconds", + "type": "int64" + } + ] + }, + { + "name": "SetGCBarrierResponse", + "fields": [ + { + "id": 1, + "name": "header", + "type": "ResponseHeader" + }, + { + "id": 2, + "name": "new_barrier_info", + "type": "GCBarrierInfo" + } + ] + }, + { + "name": "DeleteGCBarrierRequest", + "fields": [ + { + "id": 1, + "name": "header", + "type": "RequestHeader" + }, + { + "id": 2, + "name": "keyspace_scope", + "type": "KeyspaceScope" + }, + { + "id": 3, + "name": "barrier_id", + "type": "string" + } + ] + }, + { + "name": "DeleteGCBarrierResponse", + "fields": [ + { + "id": 1, + "name": "header", + "type": "ResponseHeader" + }, + { + "id": 2, + "name": "deleted_barrier_info", + "type": "GCBarrierInfo" + } + ] + }, + { + "name": "GetGCStateRequest", + "fields": [ + { + "id": 1, + "name": "header", + "type": "RequestHeader" + }, + { + "id": 2, + "name": "keyspace_scope", + "type": "KeyspaceScope" + } + ] + }, + { + "name": "GetGCStateResponse", + "fields": [ + { + "id": 1, + "name": "header", + "type": "ResponseHeader" + }, + { + "id": 2, + "name": "txn_safe_point", + "type": "uint64" + }, + { + "id": 3, + "name": "gc_safe_point", + "type": "uint64" + }, + { + "id": 4, + "name": "gc_barriers", + "type": "GCBarrierInfo", + "is_repeated": true + } + ] + }, { "name": "RegionStat", "fields": [ @@ -17080,6 +17271,26 @@ "in_type": "GetAllGCSafePointV2Request", "out_type": "GetAllGCSafePointV2Response" }, + { + "name": "UpdateTxnSafePoint", + "in_type": "UpdateTxnSafePointRequest", + "out_type": "UpdateTxnSafePointResponse" + }, + { + "name": "SetGCBarrier", + "in_type": "SetGCBarrierRequest", + "out_type": "SetGCBarrierResponse" + }, + { + "name": "DeleteGCBarrier", + "in_type": "DeleteGCBarrierRequest", + "out_type": "DeleteGCBarrierResponse" + }, + { + "name": "GetGCState", + "in_type": "GetGCStateRequest", + "out_type": "GetGCStateResponse" + }, { "name": "SyncRegions", "in_type": "SyncRegionRequest",