From 4803a23b26e8738cfabbfed255f64ce7669964c6 Mon Sep 17 00:00:00 2001 From: iamlinjunhong <49111204+iamlinjunhong@users.noreply.github.com> Date: Tue, 24 Dec 2024 21:18:23 +0800 Subject: [PATCH] abort lock table when tn restart (#20915) abort lock table when tn restart Approved by: @zhangxu19830126 --- pkg/lockservice/lock_table_allocator.go | 13 +- pkg/lockservice/lock_table_allocator_test.go | 4 +- pkg/lockservice/lock_table_keeper.go | 2 + pkg/lockservice/service.go | 2 + pkg/lockservice/types.go | 2 +- pkg/pb/lock/lock.pb.go | 325 +++++++++++-------- proto/lock.proto | 2 + 7 files changed, 218 insertions(+), 132 deletions(-) diff --git a/pkg/lockservice/lock_table_allocator.go b/pkg/lockservice/lock_table_allocator.go index 7f3ff5603ff54..e2c3ab535f6e1 100644 --- a/pkg/lockservice/lock_table_allocator.go +++ b/pkg/lockservice/lock_table_allocator.go @@ -117,12 +117,15 @@ func (l *lockTableAllocator) Get( return l.registerBind(binds, group, tableID, originTableID, sharding) } -func (l *lockTableAllocator) KeepLockTableBind(serviceID string) bool { +func (l *lockTableAllocator) KeepLockTableBind( + serviceID string, + version uint64, +) bool { b := l.getServiceBinds(serviceID) if b == nil { return false } - return b.active() + return b.active() && (version == 0 || version == l.version) } func (l *lockTableAllocator) AddCannotCommit(values []pb.OrphanTxn) [][]byte { @@ -835,12 +838,16 @@ func (l *lockTableAllocator) handleKeepLockTableBind( req *pb.Request, resp *pb.Response, cs morpc.ClientSession) { - resp.KeepLockTableBind.OK = l.KeepLockTableBind(req.KeepLockTableBind.ServiceID) + resp.KeepLockTableBind.OK = l.KeepLockTableBind( + req.KeepLockTableBind.ServiceID, + req.KeepLockTableBind.Version, + ) if !resp.KeepLockTableBind.OK { // resp.KeepLockTableBind.Status = pb.Status_ServiceCanRestart writeResponse(l.logger, cancel, resp, nil, cs) return } + resp.KeepLockTableBind.Version = l.version b := l.getServiceBinds(req.KeepLockTableBind.ServiceID) if b.isStatus(pb.Status_ServiceLockEnable) { if req.KeepLockTableBind.Status != pb.Status_ServiceLockEnable { diff --git a/pkg/lockservice/lock_table_allocator_test.go b/pkg/lockservice/lock_table_allocator_test.go index 0356dcef98266..8cd12c9d36f15 100644 --- a/pkg/lockservice/lock_table_allocator_test.go +++ b/pkg/lockservice/lock_table_allocator_test.go @@ -201,7 +201,9 @@ func TestKeepaliveBind(t *testing.T) { time.Sleep(time.Millisecond * 20) } - assert.True(t, a.KeepLockTableBind("s1")) + assert.True(t, a.KeepLockTableBind("s1", 0)) + + assert.False(t, a.KeepLockTableBind("s1", 1)) }) } diff --git a/pkg/lockservice/lock_table_keeper.go b/pkg/lockservice/lock_table_keeper.go index 71e677eca864a..91ca6a98ba599 100644 --- a/pkg/lockservice/lock_table_keeper.go +++ b/pkg/lockservice/lock_table_keeper.go @@ -184,6 +184,7 @@ func (k *lockTableKeeper) doKeepLockTableBind(ctx context.Context) { req.Method = pb.Method_KeepLockTableBind req.KeepLockTableBind.ServiceID = k.serviceID req.KeepLockTableBind.Status = k.service.getStatus() + req.KeepLockTableBind.Version = k.service.tnVersion if !k.service.isStatus(pb.Status_ServiceLockEnable) { req.KeepLockTableBind.LockTables = k.service.topGroupTables() req.KeepLockTableBind.TxnIDs = k.service.activeTxnHolder.getAllTxnID() @@ -200,6 +201,7 @@ func (k *lockTableKeeper) doKeepLockTableBind(ctx context.Context) { defer releaseResponse(resp) if resp.KeepLockTableBind.OK { + k.service.tnVersion = resp.KeepLockTableBind.Version switch resp.KeepLockTableBind.Status { case pb.Status_ServiceLockEnable: if !k.service.isStatus(pb.Status_ServiceLockEnable) { diff --git a/pkg/lockservice/service.go b/pkg/lockservice/service.go index 1991ada66e1fa..d10ecdcf82f24 100644 --- a/pkg/lockservice/service.go +++ b/pkg/lockservice/service.go @@ -56,6 +56,7 @@ type service struct { stopOnce sync.Once fetchWhoWaitingListC chan who logger *log.MOLogger + tnVersion uint64 remote struct { client Client @@ -96,6 +97,7 @@ func NewLockService( stopper.WithLogger(getLogger(cfg.ServiceID).RawLogger())), fetchWhoWaitingListC: make(chan who, 10240), logger: getLogger(cfg.ServiceID), + tnVersion: 0, } for _, opt := range opts { diff --git a/pkg/lockservice/types.go b/pkg/lockservice/types.go index 23ea0c8918a1a..346dd6827cf3a 100644 --- a/pkg/lockservice/types.go +++ b/pkg/lockservice/types.go @@ -182,7 +182,7 @@ type LockTableAllocator interface { // KeepLockTableBind once a cn is bound to a Table, a heartbeat needs to be sent // periodically to keep the binding in place. If no heartbeat is sent for a long // period of time to maintain the binding, the binding will become invalid. - KeepLockTableBind(serviceID string) bool + KeepLockTableBind(serviceID string, version uint64) bool // Valid check for changes in the binding relationship of a specific lock-table. Valid(serviceID string, txnID []byte, binds []pb.LockTable) ([]uint64, error) // AddCannotCommit add cannot commit txn. diff --git a/pkg/pb/lock/lock.pb.go b/pkg/pb/lock/lock.pb.go index 8285cf62b3b0b..7cb6aa2e032b7 100644 --- a/pkg/pb/lock/lock.pb.go +++ b/pkg/pb/lock/lock.pb.go @@ -1469,6 +1469,7 @@ type KeepLockTableBindRequest struct { Status Status `protobuf:"varint,2,opt,name=Status,proto3,enum=lock.Status" json:"Status,omitempty"` TxnIDs [][]byte `protobuf:"bytes,3,rep,name=TxnIDs,proto3" json:"TxnIDs,omitempty"` LockTables []LockTable `protobuf:"bytes,4,rep,name=LockTables,proto3" json:"LockTables"` + Version uint64 `protobuf:"varint,5,opt,name=Version,proto3" json:"Version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1535,10 +1536,18 @@ func (m *KeepLockTableBindRequest) GetLockTables() []LockTable { return nil } +func (m *KeepLockTableBindRequest) GetVersion() uint64 { + if m != nil { + return m.Version + } + return 0 +} + // KeepLockTableBindResponse keep lock table bind response. TN -> CN type KeepLockTableBindResponse struct { OK bool `protobuf:"varint,1,opt,name=OK,proto3" json:"OK,omitempty"` Status Status `protobuf:"varint,2,opt,name=Status,proto3,enum=lock.Status" json:"Status,omitempty"` + Version uint64 `protobuf:"varint,3,opt,name=Version,proto3" json:"Version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1591,6 +1600,13 @@ func (m *KeepLockTableBindResponse) GetStatus() Status { return Status_ServiceLockEnable } +func (m *KeepLockTableBindResponse) GetVersion() uint64 { + if m != nil { + return m.Version + } + return 0 +} + // SetRestartServiceRequest set restart lock service request from allocator request. operator -> TN type SetRestartServiceRequest struct { ServiceID string `protobuf:"bytes,1,opt,name=ServiceID,proto3" json:"ServiceID,omitempty"` @@ -2755,133 +2771,134 @@ func init() { func init() { proto.RegisterFile("lock.proto", fileDescriptor_164ad2988c7acaf1) } var fileDescriptor_164ad2988c7acaf1 = []byte{ - // 2014 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x59, 0xcd, 0x72, 0x1b, 0xc7, - 0x11, 0xe6, 0x02, 0x20, 0x7e, 0x1a, 0x7f, 0xcb, 0x21, 0x45, 0x2d, 0x15, 0x87, 0x42, 0xb6, 0xe4, - 0x2a, 0x98, 0x8e, 0xc5, 0x12, 0x15, 0xd9, 0x8e, 0x1c, 0xab, 0x22, 0x81, 0x12, 0x4d, 0x4b, 0x14, - 0x9d, 0x01, 0xa4, 0x54, 0xe5, 0xb6, 0x04, 0x46, 0xe4, 0x16, 0x81, 0x5d, 0x64, 0xb1, 0xe0, 0xcf, - 0x03, 0xa4, 0x2a, 0x4f, 0x90, 0x73, 0x8e, 0xbe, 0xe4, 0x29, 0x92, 0x83, 0x8f, 0xae, 0xca, 0x3d, - 0x95, 0x28, 0xaf, 0x90, 0x07, 0x48, 0xf5, 0xcc, 0x2c, 0x76, 0x66, 0x7f, 0x08, 0xdb, 0xb7, 0x9d, - 0xee, 0x9e, 0xfe, 0xdb, 0xde, 0xaf, 0xbb, 0x01, 0x80, 0x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x28, 0xea, 0x88, - 0xff, 0x94, 0xdc, 0x84, 0xda, 0xf3, 0xab, 0xe1, 0x78, 0x3e, 0x73, 0x2f, 0x98, 0xb9, 0x42, 0x00, - 0xca, 0xd8, 0xa4, 0xd9, 0xc8, 0x34, 0x76, 0xee, 0x01, 0xc4, 0xbf, 0x28, 0x93, 0x2a, 0x94, 0xf0, - 0x64, 0xae, 0x90, 0x06, 0x54, 0x5f, 0x38, 0xb3, 0xf0, 0x85, 0xe3, 0x8e, 0x4d, 0x63, 0xe7, 0x6e, - 0xdc, 0xf6, 0x51, 0xe6, 0xb5, 0xef, 0x31, 0x61, 0xed, 0xd9, 0x35, 0x1a, 0x36, 0x76, 0xfe, 0x5e, - 0x88, 0x76, 0x7e, 0xe4, 0xa3, 0x61, 0x61, 0x47, 0xcc, 0x26, 0xa6, 0x41, 0x5a, 0xea, 0x2a, 0x6d, - 0x16, 0x08, 0x49, 0xae, 0xc6, 0x66, 0x11, 0x69, 0x3a, 0x8e, 0x9a, 0x25, 0x52, 0x5f, 0xac, 0xbd, - 0xe6, 0x2a, 0xb9, 0x95, 0xb1, 0xcc, 0x9a, 0x65, 0xd2, 0x86, 0xba, 0xfc, 0xb9, 0x9b, 0x5f, 0xaa, - 0x90, 0x35, 0x68, 0x4a, 0x82, 0xb4, 0x5f, 0x25, 0xeb, 0xa9, 0x35, 0xd3, 0xac, 0x11, 0x53, 0x5f, - 0x16, 0x4d, 0x40, 0x8a, 0x0a, 0x3b, 0x66, 0x1d, 0x6d, 0xa6, 0xda, 0xa3, 0xd9, 0x20, 0x9b, 0x59, - 0x1b, 0x93, 0xd9, 0x44, 0xf1, 0x54, 0x9b, 0x33, 0x5b, 0xe8, 0xa2, 0x02, 0x24, 0x66, 0x1b, 0xfd, - 0x49, 0xbc, 0x5c, 0xd3, 0xdc, 0x61, 0x51, 0xab, 0x17, 0x56, 0xf9, 0x65, 0x0c, 0xe9, 0xb9, 0x87, - 0xd1, 0x9a, 0x2b, 0x68, 0x55, 0x21, 0xcb, 0xec, 0x99, 0x86, 0x22, 0xfe, 0x86, 0x27, 0xb8, 0x3f, - 0x1f, 0x0e, 0xcd, 0x82, 0x42, 0x8e, 0x7d, 0x32, 0x8b, 0xcf, 0x7a, 0xdf, 0xff, 0x67, 0xdb, 0xf8, - 0xee, 0xfd, 0xb6, 0xf1, 0xfd, 0xfb, 0x6d, 0xe3, 0xdf, 0xef, 0xb7, 0x57, 0xfe, 0xfa, 0xdf, 0x6d, - 0xe3, 0x0f, 0xea, 0x1f, 0x23, 0x13, 0x27, 0x0c, 0xdc, 0x2b, 0x9f, 0x8f, 0x6a, 0xd1, 0xc1, 0x63, - 0xbb, 0xd3, 0xf3, 0xd3, 0xdd, 0xe9, 0xc9, 0x2e, 0xa6, 0xf4, 0xa4, 0xcc, 0xff, 0x0e, 0x79, 0xf8, - 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb2, 0x86, 0xcb, 0x66, 0x62, 0x19, 0x00, 0x00, + // 2022 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x59, 0xdd, 0x72, 0xdb, 0xc6, + 0x15, 0x16, 0x48, 0x8a, 0x3f, 0x87, 0x7f, 0xd0, 0x4a, 0x96, 0x21, 0x37, 0x95, 0x59, 0x8c, 0x33, + 0xc3, 0x28, 0x8d, 0x35, 0x96, 0xeb, 0x24, 0x75, 0x1a, 0x4f, 0x6d, 0xca, 0x56, 0x14, 0x5b, 0x56, + 0x66, 0x49, 0xbb, 0x33, 0xbd, 0x83, 0xc8, 0xb5, 0x84, 0x11, 0x09, 0xb0, 0x20, 0xa8, 0x9f, 0x07, + 0xe8, 0x4c, 0x9f, 0xa0, 0xd7, 0xbd, 0xcc, 0x7b, 0xb4, 0x33, 0xcd, 0x65, 0x66, 0x7a, 0xdf, 0x69, + 0xdd, 0x57, 0xe8, 0x03, 0x74, 0xce, 0xee, 0x82, 0xd8, 0xc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, 0x63, 0xab, 0xef, 0xb5, 0xe3, 0xb2, 0xe1, 0x64, 0x99, 0x35, 0x25, + 0x4d, 0xf7, 0xa0, 0x7c, 0xc4, 0xc2, 0x33, 0x7f, 0x24, 0x4b, 0xa8, 0x21, 0x76, 0x08, 0x1a, 0x95, + 0x3c, 0xf2, 0x29, 0x94, 0x70, 0x0b, 0x8f, 0xbe, 0x1e, 0x95, 0x2e, 0x52, 0xa4, 0x75, 0xa9, 0x97, + 0x0b, 0x91, 0x07, 0x50, 0x7e, 0xe3, 0xa1, 0x04, 0x4f, 0x4b, 0x7d, 0x6f, 0x5d, 0x88, 0x0b, 0x9a, + 0xbe, 0x41, 0x0a, 0x92, 0xaf, 0x01, 0x0e, 0x58, 0x38, 0xb8, 0xf2, 0xb8, 0x95, 0x32, 0xdf, 0x76, + 0x5b, 0x1e, 0x90, 0x05, 0x5d, 0xdf, 0xaa, 0x6c, 0x20, 0x87, 0xd0, 0x3a, 0x60, 0x21, 0x96, 0xa0, + 0xeb, 0x9d, 0xbe, 0x72, 0x67, 0x21, 0x4f, 0x64, 0x7d, 0xef, 0x67, 0x0b, 0x15, 0x0a, 0x4f, 0x57, + 0x93, 0xd8, 0x48, 0x7e, 0x05, 0x95, 0x03, 0x16, 0x3e, 0x73, 0xbd, 0x11, 0xaf, 0x55, 0xac, 0xbe, + 0x48, 0x07, 0x12, 0xf5, 0xcd, 0x91, 0x28, 0xa1, 0xb0, 0xf6, 0x92, 0xb1, 0x69, 0x9c, 0x67, 0xdc, + 0x2f, 0xaa, 0x77, 0x5b, 0xec, 0x4f, 0xb1, 0x75, 0x4d, 0xe9, 0xed, 0x18, 0x14, 0x12, 0x29, 0x9b, + 0xf8, 0x21, 0xe3, 0x79, 0x01, 0x35, 0x28, 0x9d, 0x97, 0x08, 0x4a, 0x67, 0x92, 0x57, 0xd0, 0xe6, + 0x05, 0xeb, 0x84, 0x4c, 0x16, 0xbb, 0x55, 0xe7, 0xba, 0x3e, 0x12, 0xba, 0x12,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0x31, 0x4c, 0x53, 0x9b, 0x05, 0x62, 0x4f, 0x75, + 0x10, 0x23, 0xda, 0x65, 0xa2, 0x82, 0x98, 0xa6, 0x49, 0x43, 0xb1, 0xa3, 0x34, 0x8a, 0xad, 0xab, + 0xf5, 0x91, 0x42, 0x31, 0xbd, 0x3e, 0x92, 0x30, 0xf6, 0x27, 0x43, 0xb4, 0xef, 0x51, 0xd7, 0x85, + 0x9d, 0xe4, 0x95, 0x27, 0x51, 0xac, 0x41, 0xc5, 0x62, 0x49, 0x27, 0x49, 0xa0, 0x44, 0xfd, 0xcb, + 0x99, 0x55, 0xec, 0x14, 0xbb, 0x0d, 0xca, 0x9f, 0xc9, 0x03, 0xa8, 0xc8, 0x89, 0x20, 0xdd, 0x47, + 0x49, 0x46, 0x74, 0x34, 0xe5, 0xd2, 0x7e, 0x0c, 0x0d, 0xf5, 0x7c, 0x90, 0x1d, 0x28, 0xa3, 0xb7, + 0xe3, 0x90, 0xfb, 0x52, 0x8f, 0x60, 0x53, 0xd0, 0x22, 0x64, 0x12, 0x2b, 0xfb, 0x2b, 0x58, 0x4b, + 0xf5, 0x4e, 0x39, 0xb1, 0x98, 0x50, 0xa4, 0xfe, 0x25, 0x8f, 0xa2, 0x41, 0xf1, 0xd1, 0x76, 0x80, + 0xa4, 0xe1, 0x4b, 0x76, 0xc1, 0x73, 0xd1, 0x53, 0xaf, 0x52, 0xb1, 0x20, 0x8f, 0xa0, 0xae, 0xe2, + 0x57, 0xa1, 0x53, 0xec, 0xd6, 0xf7, 0x9a, 0xf1, 0x28, 0x32, 0xb8, 0xf2, 0xa2, 0xb7, 0xa6, 0xc8, + 0xd9, 0x4f, 0xe0, 0x56, 0x66, 0x63, 0x46, 0x3e, 0x86, 0x22, 0x1e, 0x28, 0x11, 0x61, 0xa6, 0x1e, + 0xe4, 0xdb, 0xc7, 0xb0, 0x99, 0x8d, 0x8e, 0x49, 0x87, 0x8c, 0x9f, 0xe8, 0xd0, 0xd7, 0x50, 0x91, +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0xfd, 0x49, 0xbc, 0x5c, 0xd3, 0xdc, 0x61, 0x51, 0x13, + 0x20, 0xac, 0xf2, 0xcd, 0x18, 0xd2, 0x73, 0x0f, 0xa3, 0x35, 0x57, 0xd0, 0xaa, 0x42, 0x96, 0xd9, + 0x33, 0x0d, 0x45, 0xfc, 0x0d, 0x4f, 0x70, 0x7f, 0x3e, 0x1c, 0x9a, 0x05, 0x85, 0x1c, 0xfb, 0x64, + 0x16, 0x9f, 0xf5, 0x7e, 0xfc, 0xf7, 0xb6, 0xf1, 0xc3, 0xfb, 0x6d, 0xe3, 0xc7, 0xf7, 0xdb, 0xc6, + 0xbf, 0xde, 0x6f, 0xaf, 0xfc, 0xe5, 0x3f, 0xdb, 0xc6, 0xef, 0xd5, 0x9f, 0x29, 0x13, 0x27, 0x0c, + 0xdc, 0x2b, 0x9f, 0xb7, 0x77, 0xd1, 0xc2, 0x63, 0xbb, 0xd3, 0xf3, 0xd3, 0xdd, 0xe9, 0xc9, 0x2e, + 0xa6, 0xf4, 0xa4, 0xcc, 0x7f, 0xa1, 0x3c, 0xfc, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf1, 0xba, + 0xa2, 0x1f, 0x96, 0x19, 0x00, 0x00, } func (m *LockOptions) Marshal() (dAtA []byte, err error) { @@ -3957,6 +3974,11 @@ func (m *KeepLockTableBindRequest) MarshalToSizedBuffer(dAtA []byte) (int, error i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } + if m.Version != 0 { + i = encodeVarintLock(dAtA, i, uint64(m.Version)) + i-- + dAtA[i] = 0x28 + } if len(m.LockTables) > 0 { for iNdEx := len(m.LockTables) - 1; iNdEx >= 0; iNdEx-- { { @@ -4019,6 +4041,11 @@ func (m *KeepLockTableBindResponse) MarshalToSizedBuffer(dAtA []byte) (int, erro i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } + if m.Version != 0 { + i = encodeVarintLock(dAtA, i, uint64(m.Version)) + i-- + dAtA[i] = 0x18 + } if m.Status != 0 { i = encodeVarintLock(dAtA, i, uint64(m.Status)) i-- @@ -5318,6 +5345,9 @@ func (m *KeepLockTableBindRequest) ProtoSize() (n int) { n += 1 + l + sovLock(uint64(l)) } } + if m.Version != 0 { + n += 1 + sovLock(uint64(m.Version)) + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -5336,6 +5366,9 @@ func (m *KeepLockTableBindResponse) ProtoSize() (n int) { if m.Status != 0 { n += 1 + sovLock(uint64(m.Status)) } + if m.Version != 0 { + n += 1 + sovLock(uint64(m.Version)) + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -8813,6 +8846,25 @@ func (m *KeepLockTableBindRequest) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) + } + m.Version = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowLock + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Version |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipLock(dAtA[iNdEx:]) @@ -8903,6 +8955,25 @@ func (m *KeepLockTableBindResponse) Unmarshal(dAtA []byte) error { break } } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) + } + m.Version = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowLock + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Version |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipLock(dAtA[iNdEx:]) diff --git a/proto/lock.proto b/proto/lock.proto index 88e10bbbba306..d61560bcee2b8 100644 --- a/proto/lock.proto +++ b/proto/lock.proto @@ -254,12 +254,14 @@ message KeepLockTableBindRequest { Status Status = 2; repeated bytes TxnIDs = 3; repeated LockTable LockTables = 4 [(gogoproto.nullable) = false]; + uint64 Version = 5; } // KeepLockTableBindResponse keep lock table bind response. TN -> CN message KeepLockTableBindResponse { bool OK = 1; Status Status = 2; + uint64 Version = 3; } // SetRestartServiceRequest set restart lock service request from allocator request. operator -> TN