From d21851e2ef6629dd11596efc56795f733ab27b35 Mon Sep 17 00:00:00 2001 From: Harshit Gangal Date: Fri, 31 Jul 2020 13:53:16 +0530 Subject: [PATCH] added lock_session to vtgate proto Signed-off-by: Harshit Gangal --- go/vt/proto/vtgate/vtgate.pb.go | 168 +++++++++++++++++--------------- proto/vtgate.proto | 3 + 2 files changed, 92 insertions(+), 79 deletions(-) diff --git a/go/vt/proto/vtgate/vtgate.pb.go b/go/vt/proto/vtgate/vtgate.pb.go index 420d6e33c1..1922d8280c 100644 --- a/go/vt/proto/vtgate/vtgate.pb.go +++ b/go/vt/proto/vtgate/vtgate.pb.go @@ -146,10 +146,12 @@ type Session struct { // and is reset once transaction is committed or rolled back. Savepoints []string `protobuf:"bytes,16,rep,name=savepoints,proto3" json:"savepoints,omitempty"` // in_reserved_conn is set to true if the session should be using reserved connections. - InReservedConn bool `protobuf:"varint,17,opt,name=in_reserved_conn,json=inReservedConn,proto3" json:"in_reserved_conn,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + InReservedConn bool `protobuf:"varint,17,opt,name=in_reserved_conn,json=inReservedConn,proto3" json:"in_reserved_conn,omitempty"` + // lock_session keep tracks of shard on which the lock query is sent. + LockSession *Session_ShardSession `protobuf:"bytes,18,opt,name=lock_session,json=lockSession,proto3" json:"lock_session,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *Session) Reset() { *m = Session{} } @@ -289,6 +291,13 @@ func (m *Session) GetInReservedConn() bool { return false } +func (m *Session) GetLockSession() *Session_ShardSession { + if m != nil { + return m.LockSession + } + return nil +} + type Session_ShardSession struct { Target *query.Target `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` TransactionId int64 `protobuf:"varint,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` @@ -998,79 +1007,80 @@ func init() { func init() { proto.RegisterFile("vtgate.proto", fileDescriptor_aab96496ceaf1ebb) } var fileDescriptor_aab96496ceaf1ebb = []byte{ - // 1181 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xdd, 0x8e, 0x1b, 0xb5, - 0x17, 0xef, 0x64, 0xf2, 0x35, 0x27, 0x5f, 0x53, 0x37, 0xed, 0x7f, 0x9a, 0x7f, 0x81, 0x28, 0x6d, - 0xd5, 0xb4, 0xa0, 0x04, 0x2d, 0x02, 0x55, 0x08, 0x84, 0x76, 0xb3, 0x69, 0x95, 0xaa, 0xdb, 0x2c, - 0x4e, 0x76, 0x2b, 0x21, 0xd0, 0x68, 0x9a, 0x71, 0x53, 0xab, 0xd9, 0xf1, 0xd4, 0x76, 0xb2, 0xe4, - 0x29, 0xb8, 0xe7, 0x1a, 0x89, 0x47, 0xe0, 0x1d, 0xb8, 0xe3, 0x8d, 0x90, 0xed, 0x49, 0x32, 0x1b, - 0x16, 0xba, 0x6d, 0xb5, 0x37, 0x23, 0x9f, 0x0f, 0x9f, 0x39, 0xe7, 0xf7, 0x3b, 0xc7, 0x36, 0x94, - 0x17, 0x72, 0x1a, 0x48, 0xd2, 0x89, 0x39, 0x93, 0x0c, 0xe5, 0x8d, 0xd4, 0x70, 0x5f, 0xd0, 0x68, - 0xc6, 0xa6, 0x61, 0x20, 0x03, 0x63, 0x69, 0x94, 0xde, 0xcc, 0x09, 0x5f, 0x26, 0x42, 0x55, 0xb2, - 0x98, 0xa5, 0x8d, 0x0b, 0xc9, 0xe3, 0x89, 0x11, 0x5a, 0xbf, 0x39, 0x50, 0x18, 0x11, 0x21, 0x28, - 0x8b, 0xd0, 0x5d, 0xa8, 0xd2, 0xc8, 0x97, 0x3c, 0x88, 0x44, 0x30, 0x91, 0x94, 0x45, 0x9e, 0xd5, - 0xb4, 0xda, 0x45, 0x5c, 0xa1, 0xd1, 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0xe8, 0x11, 0xc7, 0xc6, 0x8e, 0xbe, 0x84, - 0x04, 0x6c, 0x5f, 0x2e, 0x63, 0xa2, 0xd1, 0xad, 0xee, 0xd4, 0xb7, 0x69, 0x19, 0x2f, 0x63, 0x82, - 0x41, 0xae, 0xd7, 0x8a, 0xf5, 0xd7, 0x64, 0x29, 0xe2, 0x60, 0x42, 0x7c, 0x7d, 0x28, 0xea, 0xc3, - 0xcb, 0xc1, 0x95, 0x95, 0x56, 0xb7, 0x52, 0xfa, 0x70, 0x2b, 0x5c, 0xe4, 0x70, 0x7b, 0x92, 0x2d, - 0xe6, 0xdc, 0x7c, 0xeb, 0x17, 0x0b, 0x6a, 0x6b, 0xa4, 0x44, 0xcc, 0x22, 0xa1, 0xfe, 0x98, 0x23, - 0x9c, 0x33, 0xbe, 0x05, 0x13, 0x3e, 0xec, 0xf5, 0x95, 0x1a, 0x1b, 0xeb, 0xbb, 0x60, 0xf4, 0x00, - 0xf2, 0x9c, 0x88, 0xf9, 0x4c, 0x26, 0x20, 0xa1, 0xf4, 0x11, 0x88, 0xb5, 0x05, 0x27, 0x1e, 0xad, - 0xbf, 0x32, 0x70, 0x2d, 0xc9, 0x68, 0x2f, 0x90, 0x93, 0x57, 0x97, 0x4e, 0xe0, 0xa7, 0x50, 0x50, - 0xd9, 0x50, 0xa2, 0x46, 0xc5, 0x3e, 0x9f, 0xc2, 0x95, 0xc7, 0x07, 0x90, 0x18, 0x88, 0x33, 0x77, - 0x65, 0xce, 0xdc, 0x95, 0x81, 0x48, 0xdf, 0x95, 0x97, 0xc4, 0x75, 0xeb, 0x57, 0x0b, 0xea, 0x67, - 0x31, 0xbd, 0x34, 0xaa, 0x3f, 0x87, 0x82, 0x21, 0x72, 0x85, 0xe6, 0x8d, 0x24, 0x37, 0x43, 0xf3, - 0x73, 0x2a, 0x5f, 0x99, 0xd0, 0x2b, 0x37, 0x35, 0xac, 0xf5, 0x91, 0xe4, 0x24, 0x38, 0xf9, 0xa0, - 0x91, 0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xc0, 0xcd, 0xa8, 0xe5, 0xf8, 0xf9, 0xf0, 0xb0, 0xe7, 0xda, 0x0f, 0xbe, - 0x81, 0x52, 0x4f, 0xbf, 0x81, 0x87, 0x3c, 0x24, 0x5c, 0x6d, 0x78, 0x36, 0xc4, 0x07, 0xbb, 0x4f, - 0xdd, 0x2b, 0xa8, 0x00, 0xf6, 0x21, 0x56, 0x3b, 0x8b, 0x90, 0x3d, 0x1c, 0x8e, 0xc6, 0x6e, 0x06, - 0x55, 0x01, 0x76, 0x8f, 0xc6, 0xc3, 0xde, 0xf0, 0xe0, 0x60, 0x30, 0x76, 0xed, 0xbd, 0xaf, 0xa0, - 0x46, 0x59, 0x67, 0x41, 0x25, 0x11, 0xc2, 0x3c, 0xf1, 0x7f, 0xb8, 0x9d, 0x48, 0x94, 0x75, 0xcd, - 0xaa, 0x3b, 0x65, 0xdd, 0x85, 0xec, 0x6a, 0x6b, 0xd7, 0xb4, 0xe6, 0x8b, 0xbc, 0x96, 0xbe, 0xf8, - 0x3b, 0x00, 0x00, 0xff, 0xff, 0x0a, 0x94, 0x91, 0x45, 0x62, 0x0c, 0x00, 0x00, + // 1200 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0x6d, 0x6e, 0xdb, 0x46, + 0x13, 0x0e, 0x45, 0x7d, 0x71, 0xf4, 0xc5, 0x6c, 0x9c, 0xbc, 0x8c, 0xdf, 0xb4, 0x15, 0x94, 0x04, + 0x51, 0xd2, 0x42, 0x2a, 0x5c, 0xb4, 0x08, 0x8a, 0x16, 0x85, 0x2d, 0x2b, 0x81, 0x82, 0x38, 0x72, + 0x57, 0xb2, 0x03, 0x14, 0x2d, 0x08, 0x46, 0xdc, 0x28, 0x8b, 0xc8, 0x5c, 0x66, 0x77, 0x25, 0x57, + 0xa7, 0xe8, 0xff, 0x5e, 0xa0, 0x47, 0xe8, 0x1d, 0xfa, 0xaf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2, + 0xac, 0x6b, 0x9e, 0xba, 0x53, 0xd6, 0x5d, 0xc8, 0xae, 0xb6, 0x76, 0x4d, 0x6b, 0xbe, 0x28, 0x6a, + 0xe9, 0x8b, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xd3, 0x84, 0xbf, 0x5f, 0xa3, 0x0c, 0x00, 0x00, } diff --git a/proto/vtgate.proto b/proto/vtgate.proto index 13be289b2c..00a103817c 100644 --- a/proto/vtgate.proto +++ b/proto/vtgate.proto @@ -128,6 +128,9 @@ message Session { // in_reserved_conn is set to true if the session should be using reserved connections. bool in_reserved_conn = 17; + + // lock_session keep tracks of shard on which the lock query is sent. + ShardSession lock_session = 18; } // ExecuteRequest is the payload to Execute.