From 0b9380772aa64701181f5a614f8e02c07760e3f4 Mon Sep 17 00:00:00 2001 From: csuzhangxc Date: Sat, 26 Oct 2019 09:38:37 +0800 Subject: [PATCH 1/9] syncer: ignore `invalid connection` for `ADD INDEX` --- syncer/error.go | 55 +++++++++++++++++++++ syncer/error_test.go | 114 +++++++++++++++++++++++++++++++++++++++++-- syncer/syncer.go | 4 +- 3 files changed, 169 insertions(+), 4 deletions(-) diff --git a/syncer/error.go b/syncer/error.go index 76ecb7512a..385c6417fc 100644 --- a/syncer/error.go +++ b/syncer/error.go @@ -16,11 +16,16 @@ package syncer import ( "github.com/go-sql-driver/mysql" "github.com/pingcap/errors" + "github.com/pingcap/parser/ast" tmysql "github.com/pingcap/parser/mysql" "github.com/pingcap/parser/terror" tddl "github.com/pingcap/tidb/ddl" "github.com/pingcap/tidb/infoschema" gmysql "github.com/siddontang/go-mysql/mysql" + "go.uber.org/zap" + + tcontext "github.com/pingcap/dm/pkg/context" + "github.com/pingcap/dm/pkg/log" ) func ignoreDDLError(err error) bool { @@ -70,3 +75,53 @@ func originError(err error) error { } return err } + +// handleSpecialDDLError handles special errors for DDL execution. +// it only ignore `invalid connection` error (timeout or other causes) for `ADD INDEX` now. +// `invalid connection` means some data already sent to the server, +// and we assume that the whole SQL statement has already sent to the server for this error. +// if we have other methods to judge the DDL dispatched but timeout for executing, we can update this method. +// NOTE: we must ensure other PK/UK exists for correctness. +// NOTE: when we are refactoring the shard DDL algorithm, we also need to consider supporting non-blocking `ADD INDEX`. +func (s *Syncer) handleSpecialDDLError(tctx *tcontext.Context, err error, ddls []string, index int, conn *DBConn) error { + // must ensure only the last statement executed failed with the `invalid connection` error + if len(ddls) == 0 || index != len(ddls)-1 || errors.Cause(err) != mysql.ErrInvalidConn { + return err // return the original error + } + + parser2, err2 := s.fromDB.getParser(s.cfg.EnableANSIQuotes) + if err2 != nil { + return err // return the original error + } + + ddl2 := ddls[index] + stmt, err2 := parser2.ParseOneStmt(ddl2, "", "") + if err2 != nil { + return err // return the original error + } + + handle := func() { + tctx.L().Warn("ignore special error for DDL", zap.String("DDL", ddl2), log.ShortError(err)) + err2 := conn.resetConn(tctx) // also reset the `invalid connection` for later use. + if err2 != nil { + tctx.L().Warn("reset connection failed", log.ShortError(err2)) + } + } + + switch v := stmt.(type) { + case *ast.AlterTableStmt: + // ddls should be split with only one spec + if len(v.Specs) > 1 { + return err + } else if v.Specs[0].Tp == ast.AlterTableAddConstraint { + handle() + return nil // ignore the error + } + case *ast.CreateIndexStmt: + handle() + return nil // ignore the error + default: + return err + } + return err +} diff --git a/syncer/error_test.go b/syncer/error_test.go index e7131f672a..0a9cd2e115 100644 --- a/syncer/error_test.go +++ b/syncer/error_test.go @@ -16,14 +16,17 @@ package syncer import ( "database/sql/driver" - "github.com/pingcap/dm/pkg/retry" - "github.com/pingcap/dm/pkg/utils" - "github.com/go-sql-driver/mysql" . "github.com/pingcap/check" "github.com/pingcap/errors" tmysql "github.com/pingcap/parser/mysql" gmysql "github.com/siddontang/go-mysql/mysql" + + "github.com/pingcap/dm/pkg/conn" + "github.com/pingcap/dm/pkg/context" + tcontext "github.com/pingcap/dm/pkg/context" + "github.com/pingcap/dm/pkg/retry" + "github.com/pingcap/dm/pkg/utils" ) func newMysqlErr(number uint16, message string) *mysql.MySQLError { @@ -95,3 +98,108 @@ func (s *testSyncerSuite) TestOriginError(c *C) { err3 := errors.Trace(err2) c.Assert(originError(err3), DeepEquals, err1) } + +func (s *testSyncerSuite) TestHandleSpecialDDLError(c *C) { + var ( + syncer = NewSyncer(s.cfg) + tctx = tcontext.Background() + conn2 = &DBConn{resetBaseConnFn: func(*context.Context, *conn.BaseConn) (*conn.BaseConn, error) { + return nil, nil + }} + customErr = errors.New("custom error") + invalidDDL = "SQL CAN NOT BE PARSED" + insertDML = "INSERT INTO tbl VALUES (1)" + createTable = "CREATE TABLE tbl (col INT)" + addColumn = "ALTER TABLE tbl ADD COLUMN col INT" + addIndexMulti = "ALTER TABLE tbl ADD INDEX idx1(col1), ADD INDEX idx2(col2)" + addIndex1 = "ALTER TABLE tbl ADD INDEX idx(col)" + addIndex2 = "CREATE INDEX idx ON tbl(col)" + cases = []struct { + err error + ddls []string + index int + handled bool + }{ + { + err: mysql.ErrInvalidConn, // empty DDLs + }, + { + err: mysql.ErrInvalidConn, + ddls: []string{addColumn, addIndex1}, // error happen not on the last + }, + { + err: mysql.ErrInvalidConn, + ddls: []string{addIndex1, addColumn}, // error happen not on the last + }, + { + err: mysql.ErrInvalidConn, + ddls: []string{addIndex1, addIndex2}, // error happen not on the last + }, + { + err: customErr, // not `invalid connection` + ddls: []string{addIndex1}, + }, + { + err: mysql.ErrInvalidConn, + ddls: []string{invalidDDL}, // invalid DDL + }, + { + err: mysql.ErrInvalidConn, + ddls: []string{insertDML}, // invalid DDL + }, + { + err: mysql.ErrInvalidConn, + ddls: []string{createTable}, // not `ADD INDEX` + }, + { + err: mysql.ErrInvalidConn, + ddls: []string{addColumn}, // not `ADD INDEX` + }, + { + err: mysql.ErrInvalidConn, + ddls: []string{addIndexMulti}, // multi `ADD INDEX` in one statement + }, + { + err: mysql.ErrInvalidConn, + ddls: []string{addIndex1}, + handled: true, + }, + { + err: mysql.ErrInvalidConn, + ddls: []string{addIndex2}, + handled: true, + }, + { + err: mysql.ErrInvalidConn, + ddls: []string{addColumn, addIndex1}, + index: 1, + handled: true, + }, + { + err: mysql.ErrInvalidConn, + ddls: []string{addColumn, addIndex2}, + index: 1, + handled: true, + }, + { + err: mysql.ErrInvalidConn, + ddls: []string{addIndex1, addIndex2}, + index: 1, + handled: true, + }, + } + ) + + var err error + syncer.fromDB, err = createUpStreamConn(s.cfg.From) // used to get parser + c.Assert(err, IsNil) + + for _, cs := range cases { + err2 := syncer.handleSpecialDDLError(tctx, cs.err, cs.ddls, cs.index, conn2) + if cs.handled { + c.Assert(err2, IsNil) + } else { + c.Assert(err2, Equals, cs.err) + } + } +} diff --git a/syncer/syncer.go b/syncer/syncer.go index 1ac8438a31..d3c720398b 100644 --- a/syncer/syncer.go +++ b/syncer/syncer.go @@ -879,8 +879,10 @@ func (s *Syncer) syncDDL(ctx *tcontext.Context, queueBucket string, db *DBConn, if sqlJob.ddlExecItem != nil && sqlJob.ddlExecItem.req != nil && !sqlJob.ddlExecItem.req.Exec { s.tctx.L().Info("ignore sharding DDLs", zap.Strings("ddls", sqlJob.ddls)) } else { - _, err = db.executeSQLWithIgnore(s.tctx, ignoreDDLError, sqlJob.ddls) + var affected int + affected, err = db.executeSQLWithIgnore(s.tctx, ignoreDDLError, sqlJob.ddls) if err != nil { + err = s.handleSpecialDDLError(s.tctx, err, sqlJob.ddls, affected, db) err = terror.WithScope(err, terror.ScopeDownstream) } From a3d235f5ebad3ce45406098c19c42d2177bdd58f Mon Sep 17 00:00:00 2001 From: csuzhangxc Date: Sat, 26 Oct 2019 10:54:24 +0800 Subject: [PATCH 2/9] *: decrease DDL timeout to 5m; increase owner DDL request timeout to 5m30s --- dm/master/server.go | 6 +++++- syncer/syncer.go | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/dm/master/server.go b/dm/master/server.go index d294734c44..7c871595b6 100644 --- a/dm/master/server.go +++ b/dm/master/server.go @@ -40,6 +40,7 @@ import ( "github.com/pingcap/dm/pkg/log" "github.com/pingcap/dm/pkg/terror" "github.com/pingcap/dm/pkg/tracing" + "github.com/pingcap/dm/syncer" ) var ( @@ -1464,7 +1465,10 @@ func (s *Server) resolveDDLLock(ctx context.Context, lockID string, replaceOwner TraceGID: traceGID, }, } - resp, err := cli.SendRequest(ctx, ownerReq, s.cfg.RPCTimeout) + // use a longer timeout for executing DDL in DM-worker. + // now, we ignore `invalid connection` for `ADD INDEX`, use a longer timout to ensure the DDL lock removed. + ownerTimeout := time.Duration(syncer.MaxDDLConnectionTimeoutMinute)*time.Minute + 30*time.Second + resp, err := cli.SendRequest(ctx, ownerReq, ownerTimeout) ownerResp := &pb.CommonWorkerResponse{} if err != nil { ownerResp = errorCommonWorkerResponse(errors.ErrorStack(err), "") diff --git a/syncer/syncer.go b/syncer/syncer.go index d3c720398b..5f3be5bf37 100644 --- a/syncer/syncer.go +++ b/syncer/syncer.go @@ -62,7 +62,7 @@ var ( statusTime = 30 * time.Second // MaxDDLConnectionTimeoutMinute also used by SubTask.ExecuteDDL - MaxDDLConnectionTimeoutMinute = 30 + MaxDDLConnectionTimeoutMinute = 5 maxDMLConnectionTimeout = "5m" maxDDLConnectionTimeout = fmt.Sprintf("%dm", MaxDDLConnectionTimeoutMinute) From 1e592a7e7e8a6707b1a8596727a51ce4371bd45e Mon Sep 17 00:00:00 2001 From: csuzhangxc Date: Sat, 26 Oct 2019 11:15:15 +0800 Subject: [PATCH 3/9] master: increase fetch DDL info retry timeout --- dm/master/server.go | 6 +++--- dm/master/server_test.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dm/master/server.go b/dm/master/server.go index 7c871595b6..c6e3dbc87c 100644 --- a/dm/master/server.go +++ b/dm/master/server.go @@ -44,8 +44,8 @@ import ( ) var ( - retryTimeout = 5 * time.Second - cmuxReadTimeout = 10 * time.Second + fetchDDLInfoRetryTimeout = 30 * time.Second + cmuxReadTimeout = 10 * time.Second ) // Server handles RPC requests for dm-master @@ -1294,7 +1294,7 @@ func (s *Server) fetchWorkerDDLInfo(ctx context.Context) { select { case <-ctx.Done(): return - case <-time.After(retryTimeout): + case <-time.After(fetchDDLInfoRetryTimeout): } } doRetry = false // reset diff --git a/dm/master/server_test.go b/dm/master/server_test.go index da7f1f8ceb..a7bc55d4ae 100644 --- a/dm/master/server_test.go +++ b/dm/master/server_test.go @@ -1428,7 +1428,7 @@ func (t *testMaster) TestFetchWorkerDDLInfo(c *check.C) { Table: table, DDLs: ddls, }, nil) - // This will lead to a select on ctx.Done and time.After(retryTimeout), + // This will lead to a select on ctx.Done and time.After(fetchDDLInfoRetryTimeout), // so we have enough time to cancel the context. stream.EXPECT().Recv().Return(nil, io.EOF).MaxTimes(1) stream.EXPECT().Send(&pb.DDLLockInfo{Task: task, ID: lockID}).Return(nil) From 7211161eeee7a1202997f3aa717599111118dc68 Mon Sep 17 00:00:00 2001 From: csuzhangxc Date: Sat, 26 Oct 2019 21:55:17 +0800 Subject: [PATCH 4/9] *: ignore mismatched DDL execute request --- dm/master/server.go | 2 + dm/pb/dmmaster.pb.go | 1041 +++++++++--------------- dm/pb/dmworker.pb.go | 1571 ++++++++++++++----------------------- dm/pb/tracer.pb.go | 164 ++-- dm/pb/tracer_base.pb.go | 99 +-- dm/pb/tracer_syncer.pb.go | 255 +++--- dm/proto/dmworker.proto | 1 + syncer/syncer.go | 24 +- 8 files changed, 1179 insertions(+), 1978 deletions(-) diff --git a/dm/master/server.go b/dm/master/server.go index c6e3dbc87c..3a73a6c870 100644 --- a/dm/master/server.go +++ b/dm/master/server.go @@ -1463,6 +1463,7 @@ func (s *Server) resolveDDLLock(ctx context.Context, lockID string, replaceOwner LockID: lockID, Exec: true, TraceGID: traceGID, + DDLs: lock.ddls, }, } // use a longer timeout for executing DDL in DM-worker. @@ -1500,6 +1501,7 @@ func (s *Server) resolveDDLLock(ctx context.Context, lockID string, replaceOwner LockID: lockID, Exec: false, // ignore and skip DDL TraceGID: traceGID, + DDLs: lock.ddls, }, } workerRespCh := make(chan *pb.CommonWorkerResponse, len(workers)) diff --git a/dm/pb/dmmaster.pb.go b/dm/pb/dmmaster.pb.go index c54ab21a6d..ec10d347fe 100644 --- a/dm/pb/dmmaster.pb.go +++ b/dm/pb/dmmaster.pb.go @@ -4,14 +4,19 @@ package pb import ( - context "context" - fmt "fmt" - io "io" - math "math" + "fmt" proto "github.com/gogo/protobuf/proto" + + math "math" + _ "google.golang.org/genproto/googleapis/api/annotations" + + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" + + io "io" ) // Reference imports to suppress errors if they are not otherwise used. @@ -35,7 +40,7 @@ func (m *MigrateWorkerRelayRequest) Reset() { *m = MigrateWorkerRelayReq func (m *MigrateWorkerRelayRequest) String() string { return proto.CompactTextString(m) } func (*MigrateWorkerRelayRequest) ProtoMessage() {} func (*MigrateWorkerRelayRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{0} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{0} } func (m *MigrateWorkerRelayRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -52,8 +57,8 @@ func (m *MigrateWorkerRelayRequest) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *MigrateWorkerRelayRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MigrateWorkerRelayRequest.Merge(m, src) +func (dst *MigrateWorkerRelayRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MigrateWorkerRelayRequest.Merge(dst, src) } func (m *MigrateWorkerRelayRequest) XXX_Size() int { return m.Size() @@ -94,7 +99,7 @@ func (m *UpdateWorkerRelayConfigRequest) Reset() { *m = UpdateWorkerRela func (m *UpdateWorkerRelayConfigRequest) String() string { return proto.CompactTextString(m) } func (*UpdateWorkerRelayConfigRequest) ProtoMessage() {} func (*UpdateWorkerRelayConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{1} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{1} } func (m *UpdateWorkerRelayConfigRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -111,8 +116,8 @@ func (m *UpdateWorkerRelayConfigRequest) XXX_Marshal(b []byte, deterministic boo return b[:n], nil } } -func (m *UpdateWorkerRelayConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateWorkerRelayConfigRequest.Merge(m, src) +func (dst *UpdateWorkerRelayConfigRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateWorkerRelayConfigRequest.Merge(dst, src) } func (m *UpdateWorkerRelayConfigRequest) XXX_Size() int { return m.Size() @@ -139,14 +144,14 @@ func (m *UpdateWorkerRelayConfigRequest) GetWorker() string { type StartTaskRequest struct { Task string `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` - Workers []string `protobuf:"bytes,2,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []string `protobuf:"bytes,2,rep,name=workers" json:"workers,omitempty"` } func (m *StartTaskRequest) Reset() { *m = StartTaskRequest{} } func (m *StartTaskRequest) String() string { return proto.CompactTextString(m) } func (*StartTaskRequest) ProtoMessage() {} func (*StartTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{2} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{2} } func (m *StartTaskRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -163,8 +168,8 @@ func (m *StartTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *StartTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartTaskRequest.Merge(m, src) +func (dst *StartTaskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartTaskRequest.Merge(dst, src) } func (m *StartTaskRequest) XXX_Size() int { return m.Size() @@ -192,14 +197,14 @@ func (m *StartTaskRequest) GetWorkers() []string { type StartTaskResponse struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` - Workers []*CommonWorkerResponse `protobuf:"bytes,3,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []*CommonWorkerResponse `protobuf:"bytes,3,rep,name=workers" json:"workers,omitempty"` } func (m *StartTaskResponse) Reset() { *m = StartTaskResponse{} } func (m *StartTaskResponse) String() string { return proto.CompactTextString(m) } func (*StartTaskResponse) ProtoMessage() {} func (*StartTaskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{3} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{3} } func (m *StartTaskResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -216,8 +221,8 @@ func (m *StartTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *StartTaskResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartTaskResponse.Merge(m, src) +func (dst *StartTaskResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartTaskResponse.Merge(dst, src) } func (m *StartTaskResponse) XXX_Size() int { return m.Size() @@ -257,7 +262,7 @@ func (m *UpdateMasterConfigRequest) Reset() { *m = UpdateMasterConfigReq func (m *UpdateMasterConfigRequest) String() string { return proto.CompactTextString(m) } func (*UpdateMasterConfigRequest) ProtoMessage() {} func (*UpdateMasterConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{4} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{4} } func (m *UpdateMasterConfigRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -274,8 +279,8 @@ func (m *UpdateMasterConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *UpdateMasterConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateMasterConfigRequest.Merge(m, src) +func (dst *UpdateMasterConfigRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateMasterConfigRequest.Merge(dst, src) } func (m *UpdateMasterConfigRequest) XXX_Size() int { return m.Size() @@ -296,14 +301,14 @@ func (m *UpdateMasterConfigRequest) GetConfig() string { type UpdateMasterConfigResponse struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` - Workers []*QueryStatusResponse `protobuf:"bytes,3,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []*QueryStatusResponse `protobuf:"bytes,3,rep,name=workers" json:"workers,omitempty"` } func (m *UpdateMasterConfigResponse) Reset() { *m = UpdateMasterConfigResponse{} } func (m *UpdateMasterConfigResponse) String() string { return proto.CompactTextString(m) } func (*UpdateMasterConfigResponse) ProtoMessage() {} func (*UpdateMasterConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{5} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{5} } func (m *UpdateMasterConfigResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -320,8 +325,8 @@ func (m *UpdateMasterConfigResponse) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } -func (m *UpdateMasterConfigResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateMasterConfigResponse.Merge(m, src) +func (dst *UpdateMasterConfigResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateMasterConfigResponse.Merge(dst, src) } func (m *UpdateMasterConfigResponse) XXX_Size() int { return m.Size() @@ -356,14 +361,14 @@ func (m *UpdateMasterConfigResponse) GetWorkers() []*QueryStatusResponse { type OperateTaskRequest struct { Op TaskOp `protobuf:"varint,1,opt,name=op,proto3,enum=pb.TaskOp" json:"op,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Workers []string `protobuf:"bytes,3,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []string `protobuf:"bytes,3,rep,name=workers" json:"workers,omitempty"` } func (m *OperateTaskRequest) Reset() { *m = OperateTaskRequest{} } func (m *OperateTaskRequest) String() string { return proto.CompactTextString(m) } func (*OperateTaskRequest) ProtoMessage() {} func (*OperateTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{6} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{6} } func (m *OperateTaskRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -380,8 +385,8 @@ func (m *OperateTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *OperateTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperateTaskRequest.Merge(m, src) +func (dst *OperateTaskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_OperateTaskRequest.Merge(dst, src) } func (m *OperateTaskRequest) XXX_Size() int { return m.Size() @@ -417,14 +422,14 @@ type OperateTaskResponse struct { Op TaskOp `protobuf:"varint,1,opt,name=op,proto3,enum=pb.TaskOp" json:"op,omitempty"` Result bool `protobuf:"varint,2,opt,name=result,proto3" json:"result,omitempty"` Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` - Workers []*OperateSubTaskResponse `protobuf:"bytes,4,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []*OperateSubTaskResponse `protobuf:"bytes,4,rep,name=workers" json:"workers,omitempty"` } func (m *OperateTaskResponse) Reset() { *m = OperateTaskResponse{} } func (m *OperateTaskResponse) String() string { return proto.CompactTextString(m) } func (*OperateTaskResponse) ProtoMessage() {} func (*OperateTaskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{7} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{7} } func (m *OperateTaskResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -441,8 +446,8 @@ func (m *OperateTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *OperateTaskResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperateTaskResponse.Merge(m, src) +func (dst *OperateTaskResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_OperateTaskResponse.Merge(dst, src) } func (m *OperateTaskResponse) XXX_Size() int { return m.Size() @@ -488,14 +493,14 @@ func (m *OperateTaskResponse) GetWorkers() []*OperateSubTaskResponse { // workers need to do update, empty for all workers in processing the task type UpdateTaskRequest struct { Task string `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` - Workers []string `protobuf:"bytes,2,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []string `protobuf:"bytes,2,rep,name=workers" json:"workers,omitempty"` } func (m *UpdateTaskRequest) Reset() { *m = UpdateTaskRequest{} } func (m *UpdateTaskRequest) String() string { return proto.CompactTextString(m) } func (*UpdateTaskRequest) ProtoMessage() {} func (*UpdateTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{8} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{8} } func (m *UpdateTaskRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -512,8 +517,8 @@ func (m *UpdateTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *UpdateTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateTaskRequest.Merge(m, src) +func (dst *UpdateTaskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateTaskRequest.Merge(dst, src) } func (m *UpdateTaskRequest) XXX_Size() int { return m.Size() @@ -541,14 +546,14 @@ func (m *UpdateTaskRequest) GetWorkers() []string { type UpdateTaskResponse struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` - Workers []*CommonWorkerResponse `protobuf:"bytes,3,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []*CommonWorkerResponse `protobuf:"bytes,3,rep,name=workers" json:"workers,omitempty"` } func (m *UpdateTaskResponse) Reset() { *m = UpdateTaskResponse{} } func (m *UpdateTaskResponse) String() string { return proto.CompactTextString(m) } func (*UpdateTaskResponse) ProtoMessage() {} func (*UpdateTaskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{9} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{9} } func (m *UpdateTaskResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -565,8 +570,8 @@ func (m *UpdateTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *UpdateTaskResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateTaskResponse.Merge(m, src) +func (dst *UpdateTaskResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateTaskResponse.Merge(dst, src) } func (m *UpdateTaskResponse) XXX_Size() int { return m.Size() @@ -600,14 +605,14 @@ func (m *UpdateTaskResponse) GetWorkers() []*CommonWorkerResponse { type QueryStatusListRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Workers []string `protobuf:"bytes,2,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []string `protobuf:"bytes,2,rep,name=workers" json:"workers,omitempty"` } func (m *QueryStatusListRequest) Reset() { *m = QueryStatusListRequest{} } func (m *QueryStatusListRequest) String() string { return proto.CompactTextString(m) } func (*QueryStatusListRequest) ProtoMessage() {} func (*QueryStatusListRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{10} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{10} } func (m *QueryStatusListRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -624,8 +629,8 @@ func (m *QueryStatusListRequest) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } -func (m *QueryStatusListRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryStatusListRequest.Merge(m, src) +func (dst *QueryStatusListRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryStatusListRequest.Merge(dst, src) } func (m *QueryStatusListRequest) XXX_Size() int { return m.Size() @@ -653,14 +658,14 @@ func (m *QueryStatusListRequest) GetWorkers() []string { type QueryStatusListResponse struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` - Workers []*QueryStatusResponse `protobuf:"bytes,3,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []*QueryStatusResponse `protobuf:"bytes,3,rep,name=workers" json:"workers,omitempty"` } func (m *QueryStatusListResponse) Reset() { *m = QueryStatusListResponse{} } func (m *QueryStatusListResponse) String() string { return proto.CompactTextString(m) } func (*QueryStatusListResponse) ProtoMessage() {} func (*QueryStatusListResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{11} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{11} } func (m *QueryStatusListResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -677,8 +682,8 @@ func (m *QueryStatusListResponse) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } -func (m *QueryStatusListResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryStatusListResponse.Merge(m, src) +func (dst *QueryStatusListResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryStatusListResponse.Merge(dst, src) } func (m *QueryStatusListResponse) XXX_Size() int { return m.Size() @@ -712,14 +717,14 @@ func (m *QueryStatusListResponse) GetWorkers() []*QueryStatusResponse { type QueryErrorListRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Workers []string `protobuf:"bytes,2,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []string `protobuf:"bytes,2,rep,name=workers" json:"workers,omitempty"` } func (m *QueryErrorListRequest) Reset() { *m = QueryErrorListRequest{} } func (m *QueryErrorListRequest) String() string { return proto.CompactTextString(m) } func (*QueryErrorListRequest) ProtoMessage() {} func (*QueryErrorListRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{12} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{12} } func (m *QueryErrorListRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -736,8 +741,8 @@ func (m *QueryErrorListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *QueryErrorListRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryErrorListRequest.Merge(m, src) +func (dst *QueryErrorListRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryErrorListRequest.Merge(dst, src) } func (m *QueryErrorListRequest) XXX_Size() int { return m.Size() @@ -765,14 +770,14 @@ func (m *QueryErrorListRequest) GetWorkers() []string { type QueryErrorListResponse struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` - Workers []*QueryErrorResponse `protobuf:"bytes,3,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []*QueryErrorResponse `protobuf:"bytes,3,rep,name=workers" json:"workers,omitempty"` } func (m *QueryErrorListResponse) Reset() { *m = QueryErrorListResponse{} } func (m *QueryErrorListResponse) String() string { return proto.CompactTextString(m) } func (*QueryErrorListResponse) ProtoMessage() {} func (*QueryErrorListResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{13} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{13} } func (m *QueryErrorListResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -789,8 +794,8 @@ func (m *QueryErrorListResponse) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } -func (m *QueryErrorListResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryErrorListResponse.Merge(m, src) +func (dst *QueryErrorListResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryErrorListResponse.Merge(dst, src) } func (m *QueryErrorListResponse) XXX_Size() int { return m.Size() @@ -829,14 +834,14 @@ func (m *QueryErrorListResponse) GetWorkers() []*QueryErrorResponse { // if specify task and workers both, and workers not doing the task , it will return empty DDL locks type ShowDDLLocksRequest struct { Task string `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` - Workers []string `protobuf:"bytes,2,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []string `protobuf:"bytes,2,rep,name=workers" json:"workers,omitempty"` } func (m *ShowDDLLocksRequest) Reset() { *m = ShowDDLLocksRequest{} } func (m *ShowDDLLocksRequest) String() string { return proto.CompactTextString(m) } func (*ShowDDLLocksRequest) ProtoMessage() {} func (*ShowDDLLocksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{14} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{14} } func (m *ShowDDLLocksRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -853,8 +858,8 @@ func (m *ShowDDLLocksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *ShowDDLLocksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShowDDLLocksRequest.Merge(m, src) +func (dst *ShowDDLLocksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ShowDDLLocksRequest.Merge(dst, src) } func (m *ShowDDLLocksRequest) XXX_Size() int { return m.Size() @@ -891,16 +896,16 @@ type DDLLock struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Task string `protobuf:"bytes,2,opt,name=task,proto3" json:"task,omitempty"` Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` - DDLs []string `protobuf:"bytes,4,rep,name=DDLs,proto3" json:"DDLs,omitempty"` - Synced []string `protobuf:"bytes,5,rep,name=synced,proto3" json:"synced,omitempty"` - Unsynced []string `protobuf:"bytes,6,rep,name=unsynced,proto3" json:"unsynced,omitempty"` + DDLs []string `protobuf:"bytes,4,rep,name=DDLs" json:"DDLs,omitempty"` + Synced []string `protobuf:"bytes,5,rep,name=synced" json:"synced,omitempty"` + Unsynced []string `protobuf:"bytes,6,rep,name=unsynced" json:"unsynced,omitempty"` } func (m *DDLLock) Reset() { *m = DDLLock{} } func (m *DDLLock) String() string { return proto.CompactTextString(m) } func (*DDLLock) ProtoMessage() {} func (*DDLLock) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{15} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{15} } func (m *DDLLock) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -917,8 +922,8 @@ func (m *DDLLock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *DDLLock) XXX_Merge(src proto.Message) { - xxx_messageInfo_DDLLock.Merge(m, src) +func (dst *DDLLock) XXX_Merge(src proto.Message) { + xxx_messageInfo_DDLLock.Merge(dst, src) } func (m *DDLLock) XXX_Size() int { return m.Size() @@ -974,14 +979,14 @@ func (m *DDLLock) GetUnsynced() []string { type ShowDDLLocksResponse struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` - Locks []*DDLLock `protobuf:"bytes,3,rep,name=locks,proto3" json:"locks,omitempty"` + Locks []*DDLLock `protobuf:"bytes,3,rep,name=locks" json:"locks,omitempty"` } func (m *ShowDDLLocksResponse) Reset() { *m = ShowDDLLocksResponse{} } func (m *ShowDDLLocksResponse) String() string { return proto.CompactTextString(m) } func (*ShowDDLLocksResponse) ProtoMessage() {} func (*ShowDDLLocksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{16} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{16} } func (m *ShowDDLLocksResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -998,8 +1003,8 @@ func (m *ShowDDLLocksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *ShowDDLLocksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShowDDLLocksResponse.Merge(m, src) +func (dst *ShowDDLLocksResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ShowDDLLocksResponse.Merge(dst, src) } func (m *ShowDDLLocksResponse) XXX_Size() int { return m.Size() @@ -1040,7 +1045,7 @@ func (m *ShowDDLLocksResponse) GetLocks() []*DDLLock { type UnlockDDLLockRequest struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` ReplaceOwner string `protobuf:"bytes,2,opt,name=replaceOwner,proto3" json:"replaceOwner,omitempty"` - Workers []string `protobuf:"bytes,3,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []string `protobuf:"bytes,3,rep,name=workers" json:"workers,omitempty"` ForceRemove bool `protobuf:"varint,4,opt,name=forceRemove,proto3" json:"forceRemove,omitempty"` } @@ -1048,7 +1053,7 @@ func (m *UnlockDDLLockRequest) Reset() { *m = UnlockDDLLockRequest{} } func (m *UnlockDDLLockRequest) String() string { return proto.CompactTextString(m) } func (*UnlockDDLLockRequest) ProtoMessage() {} func (*UnlockDDLLockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{17} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{17} } func (m *UnlockDDLLockRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1065,8 +1070,8 @@ func (m *UnlockDDLLockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *UnlockDDLLockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnlockDDLLockRequest.Merge(m, src) +func (dst *UnlockDDLLockRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnlockDDLLockRequest.Merge(dst, src) } func (m *UnlockDDLLockRequest) XXX_Size() int { return m.Size() @@ -1108,14 +1113,14 @@ func (m *UnlockDDLLockRequest) GetForceRemove() bool { type UnlockDDLLockResponse struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` - Workers []*CommonWorkerResponse `protobuf:"bytes,3,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []*CommonWorkerResponse `protobuf:"bytes,3,rep,name=workers" json:"workers,omitempty"` } func (m *UnlockDDLLockResponse) Reset() { *m = UnlockDDLLockResponse{} } func (m *UnlockDDLLockResponse) String() string { return proto.CompactTextString(m) } func (*UnlockDDLLockResponse) ProtoMessage() {} func (*UnlockDDLLockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{18} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{18} } func (m *UnlockDDLLockResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1132,8 +1137,8 @@ func (m *UnlockDDLLockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *UnlockDDLLockResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnlockDDLLockResponse.Merge(m, src) +func (dst *UnlockDDLLockResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnlockDDLLockResponse.Merge(dst, src) } func (m *UnlockDDLLockResponse) XXX_Size() int { return m.Size() @@ -1173,7 +1178,7 @@ func (m *UnlockDDLLockResponse) GetWorkers() []*CommonWorkerResponse { // skipDDL: skip DDL which is blocking // execDDL and skipDDL can not specify both at the same time, but can specify neither type BreakWorkerDDLLockRequest struct { - Workers []string `protobuf:"bytes,1,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []string `protobuf:"bytes,1,rep,name=workers" json:"workers,omitempty"` Task string `protobuf:"bytes,2,opt,name=task,proto3" json:"task,omitempty"` RemoveLockID string `protobuf:"bytes,3,opt,name=removeLockID,proto3" json:"removeLockID,omitempty"` ExecDDL bool `protobuf:"varint,4,opt,name=execDDL,proto3" json:"execDDL,omitempty"` @@ -1184,7 +1189,7 @@ func (m *BreakWorkerDDLLockRequest) Reset() { *m = BreakWorkerDDLLockReq func (m *BreakWorkerDDLLockRequest) String() string { return proto.CompactTextString(m) } func (*BreakWorkerDDLLockRequest) ProtoMessage() {} func (*BreakWorkerDDLLockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{19} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{19} } func (m *BreakWorkerDDLLockRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1201,8 +1206,8 @@ func (m *BreakWorkerDDLLockRequest) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *BreakWorkerDDLLockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BreakWorkerDDLLockRequest.Merge(m, src) +func (dst *BreakWorkerDDLLockRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_BreakWorkerDDLLockRequest.Merge(dst, src) } func (m *BreakWorkerDDLLockRequest) XXX_Size() int { return m.Size() @@ -1251,14 +1256,14 @@ func (m *BreakWorkerDDLLockRequest) GetSkipDDL() bool { type BreakWorkerDDLLockResponse struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` - Workers []*CommonWorkerResponse `protobuf:"bytes,3,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []*CommonWorkerResponse `protobuf:"bytes,3,rep,name=workers" json:"workers,omitempty"` } func (m *BreakWorkerDDLLockResponse) Reset() { *m = BreakWorkerDDLLockResponse{} } func (m *BreakWorkerDDLLockResponse) String() string { return proto.CompactTextString(m) } func (*BreakWorkerDDLLockResponse) ProtoMessage() {} func (*BreakWorkerDDLLockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{20} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{20} } func (m *BreakWorkerDDLLockResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1275,8 +1280,8 @@ func (m *BreakWorkerDDLLockResponse) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } -func (m *BreakWorkerDDLLockResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BreakWorkerDDLLockResponse.Merge(m, src) +func (dst *BreakWorkerDDLLockResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_BreakWorkerDDLLockResponse.Merge(dst, src) } func (m *BreakWorkerDDLLockResponse) XXX_Size() int { return m.Size() @@ -1311,14 +1316,14 @@ func (m *BreakWorkerDDLLockResponse) GetWorkers() []*CommonWorkerResponse { // SwitchWorkerRelayMasterRequest represents a request for some dm-workers to switch relay unit's master server // workers: relay unit in these dm-workers need to switch master server type SwitchWorkerRelayMasterRequest struct { - Workers []string `protobuf:"bytes,1,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []string `protobuf:"bytes,1,rep,name=workers" json:"workers,omitempty"` } func (m *SwitchWorkerRelayMasterRequest) Reset() { *m = SwitchWorkerRelayMasterRequest{} } func (m *SwitchWorkerRelayMasterRequest) String() string { return proto.CompactTextString(m) } func (*SwitchWorkerRelayMasterRequest) ProtoMessage() {} func (*SwitchWorkerRelayMasterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{21} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{21} } func (m *SwitchWorkerRelayMasterRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1335,8 +1340,8 @@ func (m *SwitchWorkerRelayMasterRequest) XXX_Marshal(b []byte, deterministic boo return b[:n], nil } } -func (m *SwitchWorkerRelayMasterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SwitchWorkerRelayMasterRequest.Merge(m, src) +func (dst *SwitchWorkerRelayMasterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SwitchWorkerRelayMasterRequest.Merge(dst, src) } func (m *SwitchWorkerRelayMasterRequest) XXX_Size() int { return m.Size() @@ -1357,14 +1362,14 @@ func (m *SwitchWorkerRelayMasterRequest) GetWorkers() []string { type SwitchWorkerRelayMasterResponse struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` - Workers []*CommonWorkerResponse `protobuf:"bytes,3,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []*CommonWorkerResponse `protobuf:"bytes,3,rep,name=workers" json:"workers,omitempty"` } func (m *SwitchWorkerRelayMasterResponse) Reset() { *m = SwitchWorkerRelayMasterResponse{} } func (m *SwitchWorkerRelayMasterResponse) String() string { return proto.CompactTextString(m) } func (*SwitchWorkerRelayMasterResponse) ProtoMessage() {} func (*SwitchWorkerRelayMasterResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{22} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{22} } func (m *SwitchWorkerRelayMasterResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1381,8 +1386,8 @@ func (m *SwitchWorkerRelayMasterResponse) XXX_Marshal(b []byte, deterministic bo return b[:n], nil } } -func (m *SwitchWorkerRelayMasterResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SwitchWorkerRelayMasterResponse.Merge(m, src) +func (dst *SwitchWorkerRelayMasterResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SwitchWorkerRelayMasterResponse.Merge(dst, src) } func (m *SwitchWorkerRelayMasterResponse) XXX_Size() int { return m.Size() @@ -1417,14 +1422,14 @@ func (m *SwitchWorkerRelayMasterResponse) GetWorkers() []*CommonWorkerResponse { // OperateWorkerRelayRequest represents a request for some dm-workers to operate relay unit type OperateWorkerRelayRequest struct { Op RelayOp `protobuf:"varint,1,opt,name=op,proto3,enum=pb.RelayOp" json:"op,omitempty"` - Workers []string `protobuf:"bytes,2,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []string `protobuf:"bytes,2,rep,name=workers" json:"workers,omitempty"` } func (m *OperateWorkerRelayRequest) Reset() { *m = OperateWorkerRelayRequest{} } func (m *OperateWorkerRelayRequest) String() string { return proto.CompactTextString(m) } func (*OperateWorkerRelayRequest) ProtoMessage() {} func (*OperateWorkerRelayRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{23} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{23} } func (m *OperateWorkerRelayRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1441,8 +1446,8 @@ func (m *OperateWorkerRelayRequest) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *OperateWorkerRelayRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperateWorkerRelayRequest.Merge(m, src) +func (dst *OperateWorkerRelayRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_OperateWorkerRelayRequest.Merge(dst, src) } func (m *OperateWorkerRelayRequest) XXX_Size() int { return m.Size() @@ -1471,14 +1476,14 @@ type OperateWorkerRelayResponse struct { Op RelayOp `protobuf:"varint,1,opt,name=op,proto3,enum=pb.RelayOp" json:"op,omitempty"` Result bool `protobuf:"varint,2,opt,name=result,proto3" json:"result,omitempty"` Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` - Workers []*OperateRelayResponse `protobuf:"bytes,4,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []*OperateRelayResponse `protobuf:"bytes,4,rep,name=workers" json:"workers,omitempty"` } func (m *OperateWorkerRelayResponse) Reset() { *m = OperateWorkerRelayResponse{} } func (m *OperateWorkerRelayResponse) String() string { return proto.CompactTextString(m) } func (*OperateWorkerRelayResponse) ProtoMessage() {} func (*OperateWorkerRelayResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{24} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{24} } func (m *OperateWorkerRelayResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1495,8 +1500,8 @@ func (m *OperateWorkerRelayResponse) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } -func (m *OperateWorkerRelayResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperateWorkerRelayResponse.Merge(m, src) +func (dst *OperateWorkerRelayResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_OperateWorkerRelayResponse.Merge(dst, src) } func (m *OperateWorkerRelayResponse) XXX_Size() int { return m.Size() @@ -1542,7 +1547,7 @@ func (m *RefreshWorkerTasksRequest) Reset() { *m = RefreshWorkerTasksReq func (m *RefreshWorkerTasksRequest) String() string { return proto.CompactTextString(m) } func (*RefreshWorkerTasksRequest) ProtoMessage() {} func (*RefreshWorkerTasksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{25} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{25} } func (m *RefreshWorkerTasksRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1559,8 +1564,8 @@ func (m *RefreshWorkerTasksRequest) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *RefreshWorkerTasksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RefreshWorkerTasksRequest.Merge(m, src) +func (dst *RefreshWorkerTasksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RefreshWorkerTasksRequest.Merge(dst, src) } func (m *RefreshWorkerTasksRequest) XXX_Size() int { return m.Size() @@ -1580,7 +1585,7 @@ func (m *RefreshWorkerTasksMsg) Reset() { *m = RefreshWorkerTasksMsg{} } func (m *RefreshWorkerTasksMsg) String() string { return proto.CompactTextString(m) } func (*RefreshWorkerTasksMsg) ProtoMessage() {} func (*RefreshWorkerTasksMsg) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{26} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{26} } func (m *RefreshWorkerTasksMsg) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1597,8 +1602,8 @@ func (m *RefreshWorkerTasksMsg) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *RefreshWorkerTasksMsg) XXX_Merge(src proto.Message) { - xxx_messageInfo_RefreshWorkerTasksMsg.Merge(m, src) +func (dst *RefreshWorkerTasksMsg) XXX_Merge(src proto.Message) { + xxx_messageInfo_RefreshWorkerTasksMsg.Merge(dst, src) } func (m *RefreshWorkerTasksMsg) XXX_Size() int { return m.Size() @@ -1625,14 +1630,14 @@ func (m *RefreshWorkerTasksMsg) GetMsg() string { type RefreshWorkerTasksResponse struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` - Workers []*RefreshWorkerTasksMsg `protobuf:"bytes,2,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []*RefreshWorkerTasksMsg `protobuf:"bytes,2,rep,name=workers" json:"workers,omitempty"` } func (m *RefreshWorkerTasksResponse) Reset() { *m = RefreshWorkerTasksResponse{} } func (m *RefreshWorkerTasksResponse) String() string { return proto.CompactTextString(m) } func (*RefreshWorkerTasksResponse) ProtoMessage() {} func (*RefreshWorkerTasksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{27} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{27} } func (m *RefreshWorkerTasksResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1649,8 +1654,8 @@ func (m *RefreshWorkerTasksResponse) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } -func (m *RefreshWorkerTasksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RefreshWorkerTasksResponse.Merge(m, src) +func (dst *RefreshWorkerTasksResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RefreshWorkerTasksResponse.Merge(dst, src) } func (m *RefreshWorkerTasksResponse) XXX_Size() int { return m.Size() @@ -1678,7 +1683,7 @@ func (m *RefreshWorkerTasksResponse) GetWorkers() []*RefreshWorkerTasksMsg { type HandleSQLsRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Op SQLOp `protobuf:"varint,2,opt,name=op,proto3,enum=pb.SQLOp" json:"op,omitempty"` - Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` + Args []string `protobuf:"bytes,3,rep,name=args" json:"args,omitempty"` BinlogPos string `protobuf:"bytes,4,opt,name=binlogPos,proto3" json:"binlogPos,omitempty"` Worker string `protobuf:"bytes,5,opt,name=worker,proto3" json:"worker,omitempty"` SqlPattern string `protobuf:"bytes,6,opt,name=sqlPattern,proto3" json:"sqlPattern,omitempty"` @@ -1689,7 +1694,7 @@ func (m *HandleSQLsRequest) Reset() { *m = HandleSQLsRequest{} } func (m *HandleSQLsRequest) String() string { return proto.CompactTextString(m) } func (*HandleSQLsRequest) ProtoMessage() {} func (*HandleSQLsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{28} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{28} } func (m *HandleSQLsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1706,8 +1711,8 @@ func (m *HandleSQLsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *HandleSQLsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_HandleSQLsRequest.Merge(m, src) +func (dst *HandleSQLsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_HandleSQLsRequest.Merge(dst, src) } func (m *HandleSQLsRequest) XXX_Size() int { return m.Size() @@ -1770,14 +1775,14 @@ func (m *HandleSQLsRequest) GetSharding() bool { type HandleSQLsResponse struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` - Workers []*CommonWorkerResponse `protobuf:"bytes,3,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []*CommonWorkerResponse `protobuf:"bytes,3,rep,name=workers" json:"workers,omitempty"` } func (m *HandleSQLsResponse) Reset() { *m = HandleSQLsResponse{} } func (m *HandleSQLsResponse) String() string { return proto.CompactTextString(m) } func (*HandleSQLsResponse) ProtoMessage() {} func (*HandleSQLsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{29} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{29} } func (m *HandleSQLsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1794,8 +1799,8 @@ func (m *HandleSQLsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *HandleSQLsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_HandleSQLsResponse.Merge(m, src) +func (dst *HandleSQLsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_HandleSQLsResponse.Merge(dst, src) } func (m *HandleSQLsResponse) XXX_Size() int { return m.Size() @@ -1834,7 +1839,7 @@ func (m *HandleSQLsResponse) GetWorkers() []*CommonWorkerResponse { // filename: whether purge relay log files before this filename // subDir: specify relay sub directory for @filename type PurgeWorkerRelayRequest struct { - Workers []string `protobuf:"bytes,1,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []string `protobuf:"bytes,1,rep,name=workers" json:"workers,omitempty"` Inactive bool `protobuf:"varint,2,opt,name=inactive,proto3" json:"inactive,omitempty"` Time int64 `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"` Filename string `protobuf:"bytes,4,opt,name=filename,proto3" json:"filename,omitempty"` @@ -1845,7 +1850,7 @@ func (m *PurgeWorkerRelayRequest) Reset() { *m = PurgeWorkerRelayRequest func (m *PurgeWorkerRelayRequest) String() string { return proto.CompactTextString(m) } func (*PurgeWorkerRelayRequest) ProtoMessage() {} func (*PurgeWorkerRelayRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{30} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{30} } func (m *PurgeWorkerRelayRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1862,8 +1867,8 @@ func (m *PurgeWorkerRelayRequest) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } -func (m *PurgeWorkerRelayRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PurgeWorkerRelayRequest.Merge(m, src) +func (dst *PurgeWorkerRelayRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PurgeWorkerRelayRequest.Merge(dst, src) } func (m *PurgeWorkerRelayRequest) XXX_Size() int { return m.Size() @@ -1912,14 +1917,14 @@ func (m *PurgeWorkerRelayRequest) GetSubDir() string { type PurgeWorkerRelayResponse struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` - Workers []*CommonWorkerResponse `protobuf:"bytes,3,rep,name=workers,proto3" json:"workers,omitempty"` + Workers []*CommonWorkerResponse `protobuf:"bytes,3,rep,name=workers" json:"workers,omitempty"` } func (m *PurgeWorkerRelayResponse) Reset() { *m = PurgeWorkerRelayResponse{} } func (m *PurgeWorkerRelayResponse) String() string { return proto.CompactTextString(m) } func (*PurgeWorkerRelayResponse) ProtoMessage() {} func (*PurgeWorkerRelayResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{31} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{31} } func (m *PurgeWorkerRelayResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1936,8 +1941,8 @@ func (m *PurgeWorkerRelayResponse) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } -func (m *PurgeWorkerRelayResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PurgeWorkerRelayResponse.Merge(m, src) +func (dst *PurgeWorkerRelayResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PurgeWorkerRelayResponse.Merge(dst, src) } func (m *PurgeWorkerRelayResponse) XXX_Size() int { return m.Size() @@ -1977,7 +1982,7 @@ func (m *CheckTaskRequest) Reset() { *m = CheckTaskRequest{} } func (m *CheckTaskRequest) String() string { return proto.CompactTextString(m) } func (*CheckTaskRequest) ProtoMessage() {} func (*CheckTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{32} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{32} } func (m *CheckTaskRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1994,8 +1999,8 @@ func (m *CheckTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *CheckTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CheckTaskRequest.Merge(m, src) +func (dst *CheckTaskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CheckTaskRequest.Merge(dst, src) } func (m *CheckTaskRequest) XXX_Size() int { return m.Size() @@ -2022,7 +2027,7 @@ func (m *CheckTaskResponse) Reset() { *m = CheckTaskResponse{} } func (m *CheckTaskResponse) String() string { return proto.CompactTextString(m) } func (*CheckTaskResponse) ProtoMessage() {} func (*CheckTaskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_f9bef11f2a341f03, []int{33} + return fileDescriptor_dmmaster_04ca92798618dca8, []int{33} } func (m *CheckTaskResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2039,8 +2044,8 @@ func (m *CheckTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *CheckTaskResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CheckTaskResponse.Merge(m, src) +func (dst *CheckTaskResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CheckTaskResponse.Merge(dst, src) } func (m *CheckTaskResponse) XXX_Size() int { return m.Size() @@ -2102,98 +2107,6 @@ func init() { proto.RegisterType((*CheckTaskResponse)(nil), "pb.CheckTaskResponse") } -func init() { proto.RegisterFile("dmmaster.proto", fileDescriptor_f9bef11f2a341f03) } - -var fileDescriptor_f9bef11f2a341f03 = []byte{ - // 1362 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcf, 0x4f, 0xe3, 0xc6, - 0x17, 0x8f, 0x13, 0xc8, 0x92, 0x97, 0x5d, 0x04, 0xb3, 0x90, 0x38, 0x86, 0xf5, 0xf2, 0xf5, 0xb7, - 0x5a, 0xa1, 0x1e, 0xa0, 0x84, 0x9e, 0x90, 0x56, 0xea, 0x42, 0x58, 0x15, 0x29, 0x14, 0x70, 0x8a, - 0xaa, 0xbd, 0x54, 0x72, 0x92, 0x21, 0x58, 0x49, 0x6c, 0x63, 0x3b, 0xb0, 0xb4, 0xaa, 0x2a, 0xf5, - 0xd0, 0x43, 0x7b, 0x69, 0xd5, 0xc3, 0x9e, 0xfb, 0xdf, 0xec, 0x71, 0xa5, 0x5e, 0x7a, 0xac, 0xa0, - 0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ac, 0xda, 0xcb, 0x13, - 0x00, 0x00, -} - // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -5064,7 +4977,7 @@ func (m *MigrateWorkerRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -5092,7 +5005,7 @@ func (m *MigrateWorkerRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -5102,9 +5015,6 @@ func (m *MigrateWorkerRelayRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5124,7 +5034,7 @@ func (m *MigrateWorkerRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.BinlogPos |= uint32(b&0x7F) << shift + m.BinlogPos |= (uint32(b) & 0x7F) << shift if b < 0x80 { break } @@ -5143,7 +5053,7 @@ func (m *MigrateWorkerRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -5153,9 +5063,6 @@ func (m *MigrateWorkerRelayRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5170,9 +5077,6 @@ func (m *MigrateWorkerRelayRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -5200,7 +5104,7 @@ func (m *UpdateWorkerRelayConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -5228,7 +5132,7 @@ func (m *UpdateWorkerRelayConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -5238,9 +5142,6 @@ func (m *UpdateWorkerRelayConfigRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5260,7 +5161,7 @@ func (m *UpdateWorkerRelayConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -5270,9 +5171,6 @@ func (m *UpdateWorkerRelayConfigRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5287,9 +5185,6 @@ func (m *UpdateWorkerRelayConfigRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -5317,7 +5212,7 @@ func (m *StartTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -5345,7 +5240,7 @@ func (m *StartTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -5355,9 +5250,6 @@ func (m *StartTaskRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5377,7 +5269,7 @@ func (m *StartTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -5387,9 +5279,6 @@ func (m *StartTaskRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5404,9 +5293,6 @@ func (m *StartTaskRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -5434,7 +5320,7 @@ func (m *StartTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -5462,7 +5348,7 @@ func (m *StartTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -5482,7 +5368,7 @@ func (m *StartTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -5492,9 +5378,6 @@ func (m *StartTaskResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5514,7 +5397,7 @@ func (m *StartTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -5523,9 +5406,6 @@ func (m *StartTaskResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5543,9 +5423,6 @@ func (m *StartTaskResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -5573,7 +5450,7 @@ func (m *UpdateMasterConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -5601,7 +5478,7 @@ func (m *UpdateMasterConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -5611,9 +5488,6 @@ func (m *UpdateMasterConfigRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5628,9 +5502,6 @@ func (m *UpdateMasterConfigRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -5658,7 +5529,7 @@ func (m *UpdateMasterConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -5686,7 +5557,7 @@ func (m *UpdateMasterConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -5706,7 +5577,7 @@ func (m *UpdateMasterConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -5716,9 +5587,6 @@ func (m *UpdateMasterConfigResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5738,7 +5606,7 @@ func (m *UpdateMasterConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -5747,9 +5615,6 @@ func (m *UpdateMasterConfigResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5767,9 +5632,6 @@ func (m *UpdateMasterConfigResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -5797,7 +5659,7 @@ func (m *OperateTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -5825,7 +5687,7 @@ func (m *OperateTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Op |= TaskOp(b&0x7F) << shift + m.Op |= (TaskOp(b) & 0x7F) << shift if b < 0x80 { break } @@ -5844,7 +5706,7 @@ func (m *OperateTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -5854,9 +5716,6 @@ func (m *OperateTaskRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5876,7 +5735,7 @@ func (m *OperateTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -5886,9 +5745,6 @@ func (m *OperateTaskRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5903,9 +5759,6 @@ func (m *OperateTaskRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -5933,7 +5786,7 @@ func (m *OperateTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -5961,7 +5814,7 @@ func (m *OperateTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Op |= TaskOp(b&0x7F) << shift + m.Op |= (TaskOp(b) & 0x7F) << shift if b < 0x80 { break } @@ -5980,7 +5833,7 @@ func (m *OperateTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -6000,7 +5853,7 @@ func (m *OperateTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -6010,9 +5863,6 @@ func (m *OperateTaskResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6032,7 +5882,7 @@ func (m *OperateTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -6041,9 +5891,6 @@ func (m *OperateTaskResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6061,9 +5908,6 @@ func (m *OperateTaskResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -6091,7 +5935,7 @@ func (m *UpdateTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -6119,7 +5963,7 @@ func (m *UpdateTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -6129,9 +5973,6 @@ func (m *UpdateTaskRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6151,7 +5992,7 @@ func (m *UpdateTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -6161,9 +6002,6 @@ func (m *UpdateTaskRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6178,9 +6016,6 @@ func (m *UpdateTaskRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -6208,7 +6043,7 @@ func (m *UpdateTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -6236,7 +6071,7 @@ func (m *UpdateTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -6256,7 +6091,7 @@ func (m *UpdateTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -6266,9 +6101,6 @@ func (m *UpdateTaskResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6288,7 +6120,7 @@ func (m *UpdateTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -6297,9 +6129,6 @@ func (m *UpdateTaskResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6317,9 +6146,6 @@ func (m *UpdateTaskResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -6347,7 +6173,7 @@ func (m *QueryStatusListRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -6375,7 +6201,7 @@ func (m *QueryStatusListRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -6385,9 +6211,6 @@ func (m *QueryStatusListRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6407,7 +6230,7 @@ func (m *QueryStatusListRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -6417,9 +6240,6 @@ func (m *QueryStatusListRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6434,9 +6254,6 @@ func (m *QueryStatusListRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -6464,7 +6281,7 @@ func (m *QueryStatusListResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -6492,7 +6309,7 @@ func (m *QueryStatusListResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -6512,7 +6329,7 @@ func (m *QueryStatusListResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -6522,9 +6339,6 @@ func (m *QueryStatusListResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6544,7 +6358,7 @@ func (m *QueryStatusListResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -6553,9 +6367,6 @@ func (m *QueryStatusListResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6573,9 +6384,6 @@ func (m *QueryStatusListResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -6603,7 +6411,7 @@ func (m *QueryErrorListRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -6631,7 +6439,7 @@ func (m *QueryErrorListRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -6641,9 +6449,6 @@ func (m *QueryErrorListRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6663,7 +6468,7 @@ func (m *QueryErrorListRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -6673,9 +6478,6 @@ func (m *QueryErrorListRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6690,9 +6492,6 @@ func (m *QueryErrorListRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -6720,7 +6519,7 @@ func (m *QueryErrorListResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -6748,7 +6547,7 @@ func (m *QueryErrorListResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -6768,7 +6567,7 @@ func (m *QueryErrorListResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -6778,9 +6577,6 @@ func (m *QueryErrorListResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6800,7 +6596,7 @@ func (m *QueryErrorListResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -6809,9 +6605,6 @@ func (m *QueryErrorListResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6829,9 +6622,6 @@ func (m *QueryErrorListResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -6859,7 +6649,7 @@ func (m *ShowDDLLocksRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -6887,7 +6677,7 @@ func (m *ShowDDLLocksRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -6897,9 +6687,6 @@ func (m *ShowDDLLocksRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6919,7 +6706,7 @@ func (m *ShowDDLLocksRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -6929,9 +6716,6 @@ func (m *ShowDDLLocksRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6946,9 +6730,6 @@ func (m *ShowDDLLocksRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -6976,7 +6757,7 @@ func (m *DDLLock) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7004,7 +6785,7 @@ func (m *DDLLock) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7014,9 +6795,6 @@ func (m *DDLLock) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7036,7 +6814,7 @@ func (m *DDLLock) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7046,9 +6824,6 @@ func (m *DDLLock) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7068,7 +6843,7 @@ func (m *DDLLock) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7078,9 +6853,6 @@ func (m *DDLLock) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7100,7 +6872,7 @@ func (m *DDLLock) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7110,9 +6882,6 @@ func (m *DDLLock) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7132,7 +6901,7 @@ func (m *DDLLock) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7142,9 +6911,6 @@ func (m *DDLLock) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7164,7 +6930,7 @@ func (m *DDLLock) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7174,9 +6940,6 @@ func (m *DDLLock) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7191,9 +6954,6 @@ func (m *DDLLock) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -7221,7 +6981,7 @@ func (m *ShowDDLLocksResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7249,7 +7009,7 @@ func (m *ShowDDLLocksResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -7269,7 +7029,7 @@ func (m *ShowDDLLocksResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7279,9 +7039,6 @@ func (m *ShowDDLLocksResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7301,7 +7058,7 @@ func (m *ShowDDLLocksResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -7310,9 +7067,6 @@ func (m *ShowDDLLocksResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7330,9 +7084,6 @@ func (m *ShowDDLLocksResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -7360,7 +7111,7 @@ func (m *UnlockDDLLockRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7388,7 +7139,7 @@ func (m *UnlockDDLLockRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7398,9 +7149,6 @@ func (m *UnlockDDLLockRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7420,7 +7168,7 @@ func (m *UnlockDDLLockRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7430,9 +7178,6 @@ func (m *UnlockDDLLockRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7452,7 +7197,7 @@ func (m *UnlockDDLLockRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7462,9 +7207,6 @@ func (m *UnlockDDLLockRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7484,7 +7226,7 @@ func (m *UnlockDDLLockRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -7499,9 +7241,6 @@ func (m *UnlockDDLLockRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -7529,7 +7268,7 @@ func (m *UnlockDDLLockResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7557,7 +7296,7 @@ func (m *UnlockDDLLockResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -7577,7 +7316,7 @@ func (m *UnlockDDLLockResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7587,9 +7326,6 @@ func (m *UnlockDDLLockResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7609,7 +7345,7 @@ func (m *UnlockDDLLockResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -7618,9 +7354,6 @@ func (m *UnlockDDLLockResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7638,9 +7371,6 @@ func (m *UnlockDDLLockResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -7668,7 +7398,7 @@ func (m *BreakWorkerDDLLockRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7696,7 +7426,7 @@ func (m *BreakWorkerDDLLockRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7706,9 +7436,6 @@ func (m *BreakWorkerDDLLockRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7728,7 +7455,7 @@ func (m *BreakWorkerDDLLockRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7738,9 +7465,6 @@ func (m *BreakWorkerDDLLockRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7760,7 +7484,7 @@ func (m *BreakWorkerDDLLockRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7770,9 +7494,6 @@ func (m *BreakWorkerDDLLockRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7792,7 +7513,7 @@ func (m *BreakWorkerDDLLockRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -7812,7 +7533,7 @@ func (m *BreakWorkerDDLLockRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -7827,9 +7548,6 @@ func (m *BreakWorkerDDLLockRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -7857,7 +7575,7 @@ func (m *BreakWorkerDDLLockResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7885,7 +7603,7 @@ func (m *BreakWorkerDDLLockResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -7905,7 +7623,7 @@ func (m *BreakWorkerDDLLockResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7915,9 +7633,6 @@ func (m *BreakWorkerDDLLockResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7937,7 +7652,7 @@ func (m *BreakWorkerDDLLockResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -7946,9 +7661,6 @@ func (m *BreakWorkerDDLLockResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7966,9 +7678,6 @@ func (m *BreakWorkerDDLLockResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -7996,7 +7705,7 @@ func (m *SwitchWorkerRelayMasterRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8024,7 +7733,7 @@ func (m *SwitchWorkerRelayMasterRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8034,9 +7743,6 @@ func (m *SwitchWorkerRelayMasterRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8051,9 +7757,6 @@ func (m *SwitchWorkerRelayMasterRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -8081,7 +7784,7 @@ func (m *SwitchWorkerRelayMasterResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8109,7 +7812,7 @@ func (m *SwitchWorkerRelayMasterResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -8129,7 +7832,7 @@ func (m *SwitchWorkerRelayMasterResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8139,9 +7842,6 @@ func (m *SwitchWorkerRelayMasterResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8161,7 +7861,7 @@ func (m *SwitchWorkerRelayMasterResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -8170,9 +7870,6 @@ func (m *SwitchWorkerRelayMasterResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8190,9 +7887,6 @@ func (m *SwitchWorkerRelayMasterResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -8220,7 +7914,7 @@ func (m *OperateWorkerRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8248,7 +7942,7 @@ func (m *OperateWorkerRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Op |= RelayOp(b&0x7F) << shift + m.Op |= (RelayOp(b) & 0x7F) << shift if b < 0x80 { break } @@ -8267,7 +7961,7 @@ func (m *OperateWorkerRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8277,9 +7971,6 @@ func (m *OperateWorkerRelayRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8294,9 +7985,6 @@ func (m *OperateWorkerRelayRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -8324,7 +8012,7 @@ func (m *OperateWorkerRelayResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8352,7 +8040,7 @@ func (m *OperateWorkerRelayResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Op |= RelayOp(b&0x7F) << shift + m.Op |= (RelayOp(b) & 0x7F) << shift if b < 0x80 { break } @@ -8371,7 +8059,7 @@ func (m *OperateWorkerRelayResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -8391,7 +8079,7 @@ func (m *OperateWorkerRelayResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8401,9 +8089,6 @@ func (m *OperateWorkerRelayResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8423,7 +8108,7 @@ func (m *OperateWorkerRelayResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -8432,9 +8117,6 @@ func (m *OperateWorkerRelayResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8452,9 +8134,6 @@ func (m *OperateWorkerRelayResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -8482,7 +8161,7 @@ func (m *RefreshWorkerTasksRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8505,9 +8184,6 @@ func (m *RefreshWorkerTasksRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -8535,7 +8211,7 @@ func (m *RefreshWorkerTasksMsg) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8563,7 +8239,7 @@ func (m *RefreshWorkerTasksMsg) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8573,9 +8249,6 @@ func (m *RefreshWorkerTasksMsg) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8595,7 +8268,7 @@ func (m *RefreshWorkerTasksMsg) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8605,9 +8278,6 @@ func (m *RefreshWorkerTasksMsg) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8622,9 +8292,6 @@ func (m *RefreshWorkerTasksMsg) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -8652,7 +8319,7 @@ func (m *RefreshWorkerTasksResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8680,7 +8347,7 @@ func (m *RefreshWorkerTasksResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -8700,7 +8367,7 @@ func (m *RefreshWorkerTasksResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -8709,9 +8376,6 @@ func (m *RefreshWorkerTasksResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8729,9 +8393,6 @@ func (m *RefreshWorkerTasksResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -8759,7 +8420,7 @@ func (m *HandleSQLsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8787,7 +8448,7 @@ func (m *HandleSQLsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8797,9 +8458,6 @@ func (m *HandleSQLsRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8819,7 +8477,7 @@ func (m *HandleSQLsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Op |= SQLOp(b&0x7F) << shift + m.Op |= (SQLOp(b) & 0x7F) << shift if b < 0x80 { break } @@ -8838,7 +8496,7 @@ func (m *HandleSQLsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8848,9 +8506,6 @@ func (m *HandleSQLsRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8870,7 +8525,7 @@ func (m *HandleSQLsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8880,9 +8535,6 @@ func (m *HandleSQLsRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8902,7 +8554,7 @@ func (m *HandleSQLsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8912,9 +8564,6 @@ func (m *HandleSQLsRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8934,7 +8583,7 @@ func (m *HandleSQLsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8944,9 +8593,6 @@ func (m *HandleSQLsRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8966,7 +8612,7 @@ func (m *HandleSQLsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -8981,9 +8627,6 @@ func (m *HandleSQLsRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9011,7 +8654,7 @@ func (m *HandleSQLsResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9039,7 +8682,7 @@ func (m *HandleSQLsResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -9059,7 +8702,7 @@ func (m *HandleSQLsResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9069,9 +8712,6 @@ func (m *HandleSQLsResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9091,7 +8731,7 @@ func (m *HandleSQLsResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -9100,9 +8740,6 @@ func (m *HandleSQLsResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9120,9 +8757,6 @@ func (m *HandleSQLsResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9150,7 +8784,7 @@ func (m *PurgeWorkerRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9178,7 +8812,7 @@ func (m *PurgeWorkerRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9188,9 +8822,6 @@ func (m *PurgeWorkerRelayRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9210,7 +8841,7 @@ func (m *PurgeWorkerRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -9230,7 +8861,7 @@ func (m *PurgeWorkerRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Time |= int64(b&0x7F) << shift + m.Time |= (int64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9249,7 +8880,7 @@ func (m *PurgeWorkerRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9259,9 +8890,6 @@ func (m *PurgeWorkerRelayRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9281,7 +8909,7 @@ func (m *PurgeWorkerRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9291,9 +8919,6 @@ func (m *PurgeWorkerRelayRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9308,9 +8933,6 @@ func (m *PurgeWorkerRelayRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9338,7 +8960,7 @@ func (m *PurgeWorkerRelayResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9366,7 +8988,7 @@ func (m *PurgeWorkerRelayResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -9386,7 +9008,7 @@ func (m *PurgeWorkerRelayResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9396,9 +9018,6 @@ func (m *PurgeWorkerRelayResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9418,7 +9037,7 @@ func (m *PurgeWorkerRelayResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -9427,9 +9046,6 @@ func (m *PurgeWorkerRelayResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9447,9 +9063,6 @@ func (m *PurgeWorkerRelayResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9477,7 +9090,7 @@ func (m *CheckTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9505,7 +9118,7 @@ func (m *CheckTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9515,9 +9128,6 @@ func (m *CheckTaskRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9532,9 +9142,6 @@ func (m *CheckTaskRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9562,7 +9169,7 @@ func (m *CheckTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9590,7 +9197,7 @@ func (m *CheckTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -9610,7 +9217,7 @@ func (m *CheckTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9620,9 +9227,6 @@ func (m *CheckTaskResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmmaster } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmmaster - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9637,9 +9241,6 @@ func (m *CheckTaskResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmmaster } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmmaster - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9706,11 +9307,8 @@ func skipDmmaster(dAtA []byte) (n int, err error) { break } } - if length < 0 { - return 0, ErrInvalidLengthDmmaster - } iNdEx += length - if iNdEx < 0 { + if length < 0 { return 0, ErrInvalidLengthDmmaster } return iNdEx, nil @@ -9741,9 +9339,6 @@ func skipDmmaster(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next - if iNdEx < 0 { - return 0, ErrInvalidLengthDmmaster - } } return iNdEx, nil case 4: @@ -9762,3 +9357,95 @@ var ( ErrInvalidLengthDmmaster = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDmmaster = fmt.Errorf("proto: integer overflow") ) + +func init() { proto.RegisterFile("dmmaster.proto", fileDescriptor_dmmaster_04ca92798618dca8) } + +var fileDescriptor_dmmaster_04ca92798618dca8 = []byte{ + // 1362 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcf, 0x4f, 0xe3, 0xc6, + 0x17, 0x8f, 0x13, 0xc8, 0x92, 0x97, 0x5d, 0x04, 0xb3, 0x90, 0x38, 0x86, 0xf5, 0xf2, 0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0xd5, 0xa2, 0x8a, 0x51, 0xf4, 0xa5, 0xa4, 0x99, 0x02, 0xd2, 0x7b, 0xf0, 0x58, 0x94, + 0x5d, 0x88, 0x26, 0x31, 0x45, 0x5b, 0x2a, 0x72, 0xd2, 0x10, 0x80, 0xbc, 0x86, 0x27, 0x11, 0x35, + 0x83, 0xe8, 0xcb, 0x69, 0x42, 0x4b, 0xa9, 0xa5, 0x58, 0x02, 0x9c, 0xd3, 0xf1, 0x77, 0x8c, 0xf8, + 0xe5, 0x89, 0x9e, 0x85, 0x19, 0x4f, 0xf9, 0x8c, 0x55, 0xd4, 0x2c, 0x73, 0x00, 0xfb, 0x06, 0xaa, + 0x19, 0x3f, 0x03, 0x90, 0x16, 0x2e, 0xce, 0xfa, 0x53, 0xa0, 0x64, 0x1e, 0x37, 0xc6, 0x38, 0x29, + 0x56, 0x18, 0xe3, 0x4c, 0x9d, 0xc5, 0x18, 0x67, 0x6b, 0x1c, 0x2d, 0x47, 0x2a, 0x31, 0x6c, 0xa3, + 0xac, 0x12, 0x13, 0x17, 0x04, 0xab, 0xc4, 0x64, 0xb7, 0xd5, 0x72, 0xa8, 0x0b, 0xd5, 0x0c, 0x29, + 0xc2, 0x02, 0x9e, 0xac, 0x71, 0x94, 0xff, 0x4f, 0x7c, 0x47, 0x48, 0x6b, 0x25, 0x29, 0x0d, 0xe8, + 0xd1, 0x79, 0x26, 0x9c, 0xc4, 0x64, 0x53, 0x66, 0xf1, 0x67, 0xab, 0x0a, 0x2d, 0x87, 0x8e, 0x60, + 0x21, 0xde, 0x38, 0x11, 0x3d, 0x33, 0x19, 0x7d, 0x5e, 0x59, 0x4d, 0x37, 0x8a, 0xfb, 0x94, 0xbc, + 0x84, 0x19, 0xcf, 0x4c, 0x15, 0xc1, 0x78, 0x66, 0x8b, 0x00, 0xca, 0x13, 0x25, 0xff, 0x6c, 0x31, + 0xd8, 0xcc, 0x3f, 0x5e, 0x13, 0xeb, 0x69, 0x07, 0x4a, 0x41, 0x3f, 0x66, 0x5d, 0x34, 0xde, 0xc6, + 0x59, 0x17, 0x4d, 0x34, 0x6d, 0x2d, 0xb7, 0x2b, 0xbf, 0xbf, 0x51, 0xa5, 0x0f, 0x37, 0xaa, 0xf4, + 0xcf, 0x8d, 0x2a, 0xfd, 0x76, 0xab, 0xe6, 0x3e, 0xdc, 0xaa, 0xb9, 0xbf, 0x6f, 0xd5, 0x5c, 0xbb, + 0x48, 0xff, 0xc3, 0x6d, 0xff, 0x17, 0x00, 0x00, 0xff, 0xff, 0x1f, 0xa8, 0xac, 0xda, 0xcb, 0x13, + 0x00, 0x00, +} diff --git a/dm/pb/dmworker.pb.go b/dm/pb/dmworker.pb.go index 463c7f66a3..73bcc78cd0 100644 --- a/dm/pb/dmworker.pb.go +++ b/dm/pb/dmworker.pb.go @@ -4,13 +4,17 @@ package pb import ( - context "context" - fmt "fmt" - io "io" - math "math" + "fmt" proto "github.com/gogo/protobuf/proto" + + math "math" + + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" + + io "io" ) // Reference imports to suppress errors if they are not otherwise used. @@ -45,7 +49,6 @@ var TaskOp_name = map[int32]string{ 5: "Update", 6: "AutoResume", } - var TaskOp_value = map[string]int32{ "InvalidOp": 0, "Stop": 1, @@ -59,9 +62,8 @@ var TaskOp_value = map[string]int32{ func (x TaskOp) String() string { return proto.EnumName(TaskOp_name, int32(x)) } - func (TaskOp) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{0} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{0} } type SQLOp int32 @@ -77,7 +79,6 @@ var SQLOp_name = map[int32]string{ 1: "REPLACE", 2: "INJECT", } - var SQLOp_value = map[string]int32{ "SKIP": 0, "REPLACE": 1, @@ -87,9 +88,8 @@ var SQLOp_value = map[string]int32{ func (x SQLOp) String() string { return proto.EnumName(SQLOp_name, int32(x)) } - func (SQLOp) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{1} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{1} } // Stage represents current stage for a (sub) task @@ -133,7 +133,6 @@ var Stage_name = map[int32]string{ 4: "Stopped", 5: "Finished", } - var Stage_value = map[string]int32{ "InvalidStage": 0, "New": 1, @@ -146,9 +145,8 @@ var Stage_value = map[string]int32{ func (x Stage) String() string { return proto.EnumName(Stage_name, int32(x)) } - func (Stage) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{2} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{2} } // UnitType represents the dm unit's type @@ -171,7 +169,6 @@ var UnitType_name = map[int32]string{ 4: "Sync", 100: "Relay", } - var UnitType_value = map[string]int32{ "InvalidUnit": 0, "Check": 1, @@ -184,9 +181,8 @@ var UnitType_value = map[string]int32{ func (x UnitType) String() string { return proto.EnumName(UnitType_name, int32(x)) } - func (UnitType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{3} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{3} } // ErrorType represents type of error produced by a dm unit @@ -204,7 +200,6 @@ var ErrorType_name = map[int32]string{ 1: "ExecSQL", 2: "CheckFailed", } - var ErrorType_value = map[string]int32{ "UnknownError": 0, "ExecSQL": 1, @@ -214,9 +209,8 @@ var ErrorType_value = map[string]int32{ func (x ErrorType) String() string { return proto.EnumName(ErrorType_name, int32(x)) } - func (ErrorType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{4} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{4} } // RelayOp differs from TaskOp @@ -235,7 +229,6 @@ var RelayOp_name = map[int32]string{ 2: "PauseRelay", 3: "ResumeRelay", } - var RelayOp_value = map[string]int32{ "InvalidRelayOp": 0, "StopRelay": 1, @@ -246,9 +239,8 @@ var RelayOp_value = map[string]int32{ func (x RelayOp) String() string { return proto.EnumName(RelayOp_name, int32(x)) } - func (RelayOp) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{5} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{5} } type StartSubTaskRequest struct { @@ -259,7 +251,7 @@ func (m *StartSubTaskRequest) Reset() { *m = StartSubTaskRequest{} } func (m *StartSubTaskRequest) String() string { return proto.CompactTextString(m) } func (*StartSubTaskRequest) ProtoMessage() {} func (*StartSubTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{0} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{0} } func (m *StartSubTaskRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -276,8 +268,8 @@ func (m *StartSubTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *StartSubTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StartSubTaskRequest.Merge(m, src) +func (dst *StartSubTaskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartSubTaskRequest.Merge(dst, src) } func (m *StartSubTaskRequest) XXX_Size() int { return m.Size() @@ -303,7 +295,7 @@ func (m *UpdateRelayRequest) Reset() { *m = UpdateRelayRequest{} } func (m *UpdateRelayRequest) String() string { return proto.CompactTextString(m) } func (*UpdateRelayRequest) ProtoMessage() {} func (*UpdateRelayRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{1} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{1} } func (m *UpdateRelayRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -320,8 +312,8 @@ func (m *UpdateRelayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *UpdateRelayRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateRelayRequest.Merge(m, src) +func (dst *UpdateRelayRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateRelayRequest.Merge(dst, src) } func (m *UpdateRelayRequest) XXX_Size() int { return m.Size() @@ -348,7 +340,7 @@ func (m *MigrateRelayRequest) Reset() { *m = MigrateRelayRequest{} } func (m *MigrateRelayRequest) String() string { return proto.CompactTextString(m) } func (*MigrateRelayRequest) ProtoMessage() {} func (*MigrateRelayRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{2} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{2} } func (m *MigrateRelayRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -365,8 +357,8 @@ func (m *MigrateRelayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *MigrateRelayRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MigrateRelayRequest.Merge(m, src) +func (dst *MigrateRelayRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_MigrateRelayRequest.Merge(dst, src) } func (m *MigrateRelayRequest) XXX_Size() int { return m.Size() @@ -400,7 +392,7 @@ func (m *OperateSubTaskRequest) Reset() { *m = OperateSubTaskRequest{} } func (m *OperateSubTaskRequest) String() string { return proto.CompactTextString(m) } func (*OperateSubTaskRequest) ProtoMessage() {} func (*OperateSubTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{3} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{3} } func (m *OperateSubTaskRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -417,8 +409,8 @@ func (m *OperateSubTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *OperateSubTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperateSubTaskRequest.Merge(m, src) +func (dst *OperateSubTaskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_OperateSubTaskRequest.Merge(dst, src) } func (m *OperateSubTaskRequest) XXX_Size() int { return m.Size() @@ -444,7 +436,7 @@ func (m *OperateSubTaskRequest) GetName() string { } type OperateSubTaskResponse struct { - Meta *CommonWorkerResponse `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` + Meta *CommonWorkerResponse `protobuf:"bytes,1,opt,name=meta" json:"meta,omitempty"` Op TaskOp `protobuf:"varint,2,opt,name=op,proto3,enum=pb.TaskOp" json:"op,omitempty"` LogID int64 `protobuf:"varint,3,opt,name=logID,proto3" json:"logID,omitempty"` } @@ -453,7 +445,7 @@ func (m *OperateSubTaskResponse) Reset() { *m = OperateSubTaskResponse{} func (m *OperateSubTaskResponse) String() string { return proto.CompactTextString(m) } func (*OperateSubTaskResponse) ProtoMessage() {} func (*OperateSubTaskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{4} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{4} } func (m *OperateSubTaskResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -470,8 +462,8 @@ func (m *OperateSubTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } -func (m *OperateSubTaskResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperateSubTaskResponse.Merge(m, src) +func (dst *OperateSubTaskResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_OperateSubTaskResponse.Merge(dst, src) } func (m *OperateSubTaskResponse) XXX_Size() int { return m.Size() @@ -512,7 +504,7 @@ func (m *QueryTaskOperationRequest) Reset() { *m = QueryTaskOperationReq func (m *QueryTaskOperationRequest) String() string { return proto.CompactTextString(m) } func (*QueryTaskOperationRequest) ProtoMessage() {} func (*QueryTaskOperationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{5} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{5} } func (m *QueryTaskOperationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -529,8 +521,8 @@ func (m *QueryTaskOperationRequest) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *QueryTaskOperationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryTaskOperationRequest.Merge(m, src) +func (dst *QueryTaskOperationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryTaskOperationRequest.Merge(dst, src) } func (m *QueryTaskOperationRequest) XXX_Size() int { return m.Size() @@ -556,15 +548,15 @@ func (m *QueryTaskOperationRequest) GetLogID() int64 { } type QueryTaskOperationResponse struct { - Meta *CommonWorkerResponse `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` - Log *TaskLog `protobuf:"bytes,2,opt,name=log,proto3" json:"log,omitempty"` + Meta *CommonWorkerResponse `protobuf:"bytes,1,opt,name=meta" json:"meta,omitempty"` + Log *TaskLog `protobuf:"bytes,2,opt,name=log" json:"log,omitempty"` } func (m *QueryTaskOperationResponse) Reset() { *m = QueryTaskOperationResponse{} } func (m *QueryTaskOperationResponse) String() string { return proto.CompactTextString(m) } func (*QueryTaskOperationResponse) ProtoMessage() {} func (*QueryTaskOperationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{6} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{6} } func (m *QueryTaskOperationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -581,8 +573,8 @@ func (m *QueryTaskOperationResponse) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } -func (m *QueryTaskOperationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryTaskOperationResponse.Merge(m, src) +func (dst *QueryTaskOperationResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryTaskOperationResponse.Merge(dst, src) } func (m *QueryTaskOperationResponse) XXX_Size() int { return m.Size() @@ -615,7 +607,7 @@ func (m *UpdateSubTaskRequest) Reset() { *m = UpdateSubTaskRequest{} } func (m *UpdateSubTaskRequest) String() string { return proto.CompactTextString(m) } func (*UpdateSubTaskRequest) ProtoMessage() {} func (*UpdateSubTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{7} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{7} } func (m *UpdateSubTaskRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -632,8 +624,8 @@ func (m *UpdateSubTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *UpdateSubTaskRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateSubTaskRequest.Merge(m, src) +func (dst *UpdateSubTaskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateSubTaskRequest.Merge(dst, src) } func (m *UpdateSubTaskRequest) XXX_Size() int { return m.Size() @@ -659,7 +651,7 @@ func (m *QueryStatusRequest) Reset() { *m = QueryStatusRequest{} } func (m *QueryStatusRequest) String() string { return proto.CompactTextString(m) } func (*QueryStatusRequest) ProtoMessage() {} func (*QueryStatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{8} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{8} } func (m *QueryStatusRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -676,8 +668,8 @@ func (m *QueryStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *QueryStatusRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryStatusRequest.Merge(m, src) +func (dst *QueryStatusRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryStatusRequest.Merge(dst, src) } func (m *QueryStatusRequest) XXX_Size() int { return m.Size() @@ -703,7 +695,7 @@ func (m *QueryErrorRequest) Reset() { *m = QueryErrorRequest{} } func (m *QueryErrorRequest) String() string { return proto.CompactTextString(m) } func (*QueryErrorRequest) ProtoMessage() {} func (*QueryErrorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{9} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{9} } func (m *QueryErrorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -720,8 +712,8 @@ func (m *QueryErrorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *QueryErrorRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryErrorRequest.Merge(m, src) +func (dst *QueryErrorRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryErrorRequest.Merge(dst, src) } func (m *QueryErrorRequest) XXX_Size() int { return m.Size() @@ -743,7 +735,7 @@ func (m *QueryErrorRequest) GetName() string { type HandleSubTaskSQLsRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Op SQLOp `protobuf:"varint,2,opt,name=op,proto3,enum=pb.SQLOp" json:"op,omitempty"` - Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` + Args []string `protobuf:"bytes,3,rep,name=args" json:"args,omitempty"` BinlogPos string `protobuf:"bytes,4,opt,name=binlogPos,proto3" json:"binlogPos,omitempty"` SqlPattern string `protobuf:"bytes,5,opt,name=sqlPattern,proto3" json:"sqlPattern,omitempty"` } @@ -752,7 +744,7 @@ func (m *HandleSubTaskSQLsRequest) Reset() { *m = HandleSubTaskSQLsReque func (m *HandleSubTaskSQLsRequest) String() string { return proto.CompactTextString(m) } func (*HandleSubTaskSQLsRequest) ProtoMessage() {} func (*HandleSubTaskSQLsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{10} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{10} } func (m *HandleSubTaskSQLsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -769,8 +761,8 @@ func (m *HandleSubTaskSQLsRequest) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } -func (m *HandleSubTaskSQLsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_HandleSubTaskSQLsRequest.Merge(m, src) +func (dst *HandleSubTaskSQLsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_HandleSubTaskSQLsRequest.Merge(dst, src) } func (m *HandleSubTaskSQLsRequest) XXX_Size() int { return m.Size() @@ -826,7 +818,7 @@ func (m *CommonWorkerResponse) Reset() { *m = CommonWorkerResponse{} } func (m *CommonWorkerResponse) String() string { return proto.CompactTextString(m) } func (*CommonWorkerResponse) ProtoMessage() {} func (*CommonWorkerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{11} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{11} } func (m *CommonWorkerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -843,8 +835,8 @@ func (m *CommonWorkerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *CommonWorkerResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommonWorkerResponse.Merge(m, src) +func (dst *CommonWorkerResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommonWorkerResponse.Merge(dst, src) } func (m *CommonWorkerResponse) XXX_Size() int { return m.Size() @@ -882,8 +874,8 @@ type QueryStatusResponse struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` Worker string `protobuf:"bytes,2,opt,name=worker,proto3" json:"worker,omitempty"` Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` - SubTaskStatus []*SubTaskStatus `protobuf:"bytes,4,rep,name=subTaskStatus,proto3" json:"subTaskStatus,omitempty"` - RelayStatus *RelayStatus `protobuf:"bytes,5,opt,name=relayStatus,proto3" json:"relayStatus,omitempty"` + SubTaskStatus []*SubTaskStatus `protobuf:"bytes,4,rep,name=subTaskStatus" json:"subTaskStatus,omitempty"` + RelayStatus *RelayStatus `protobuf:"bytes,5,opt,name=relayStatus" json:"relayStatus,omitempty"` SourceID string `protobuf:"bytes,6,opt,name=sourceID,proto3" json:"sourceID,omitempty"` } @@ -891,7 +883,7 @@ func (m *QueryStatusResponse) Reset() { *m = QueryStatusResponse{} } func (m *QueryStatusResponse) String() string { return proto.CompactTextString(m) } func (*QueryStatusResponse) ProtoMessage() {} func (*QueryStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{12} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{12} } func (m *QueryStatusResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -908,8 +900,8 @@ func (m *QueryStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *QueryStatusResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryStatusResponse.Merge(m, src) +func (dst *QueryStatusResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryStatusResponse.Merge(dst, src) } func (m *QueryStatusResponse) XXX_Size() int { return m.Size() @@ -967,15 +959,15 @@ type QueryErrorResponse struct { Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` Worker string `protobuf:"bytes,2,opt,name=worker,proto3" json:"worker,omitempty"` Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` - SubTaskError []*SubTaskError `protobuf:"bytes,4,rep,name=subTaskError,proto3" json:"subTaskError,omitempty"` - RelayError *RelayError `protobuf:"bytes,5,opt,name=RelayError,proto3" json:"RelayError,omitempty"` + SubTaskError []*SubTaskError `protobuf:"bytes,4,rep,name=subTaskError" json:"subTaskError,omitempty"` + RelayError *RelayError `protobuf:"bytes,5,opt,name=RelayError" json:"RelayError,omitempty"` } func (m *QueryErrorResponse) Reset() { *m = QueryErrorResponse{} } func (m *QueryErrorResponse) String() string { return proto.CompactTextString(m) } func (*QueryErrorResponse) ProtoMessage() {} func (*QueryErrorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{13} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{13} } func (m *QueryErrorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -992,8 +984,8 @@ func (m *QueryErrorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *QueryErrorResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryErrorResponse.Merge(m, src) +func (dst *QueryErrorResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryErrorResponse.Merge(dst, src) } func (m *QueryErrorResponse) XXX_Size() int { return m.Size() @@ -1054,7 +1046,7 @@ func (m *CheckStatus) Reset() { *m = CheckStatus{} } func (m *CheckStatus) String() string { return proto.CompactTextString(m) } func (*CheckStatus) ProtoMessage() {} func (*CheckStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{14} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{14} } func (m *CheckStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1071,8 +1063,8 @@ func (m *CheckStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *CheckStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_CheckStatus.Merge(m, src) +func (dst *CheckStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_CheckStatus.Merge(dst, src) } func (m *CheckStatus) XXX_Size() int { return m.Size() @@ -1134,7 +1126,7 @@ func (m *DumpStatus) Reset() { *m = DumpStatus{} } func (m *DumpStatus) String() string { return proto.CompactTextString(m) } func (*DumpStatus) ProtoMessage() {} func (*DumpStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{15} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{15} } func (m *DumpStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1151,8 +1143,8 @@ func (m *DumpStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *DumpStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_DumpStatus.Merge(m, src) +func (dst *DumpStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_DumpStatus.Merge(dst, src) } func (m *DumpStatus) XXX_Size() int { return m.Size() @@ -1175,7 +1167,7 @@ func (m *LoadStatus) Reset() { *m = LoadStatus{} } func (m *LoadStatus) String() string { return proto.CompactTextString(m) } func (*LoadStatus) ProtoMessage() {} func (*LoadStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{16} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{16} } func (m *LoadStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1192,8 +1184,8 @@ func (m *LoadStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *LoadStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_LoadStatus.Merge(m, src) +func (dst *LoadStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_LoadStatus.Merge(dst, src) } func (m *LoadStatus) XXX_Size() int { return m.Size() @@ -1240,17 +1232,17 @@ func (m *LoadStatus) GetMetaBinlog() string { // unsynced: unsynced source tables type ShardingGroup struct { Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` - DDLs []string `protobuf:"bytes,2,rep,name=DDLs,proto3" json:"DDLs,omitempty"` + DDLs []string `protobuf:"bytes,2,rep,name=DDLs" json:"DDLs,omitempty"` FirstPos string `protobuf:"bytes,3,opt,name=firstPos,proto3" json:"firstPos,omitempty"` - Synced []string `protobuf:"bytes,4,rep,name=synced,proto3" json:"synced,omitempty"` - Unsynced []string `protobuf:"bytes,5,rep,name=unsynced,proto3" json:"unsynced,omitempty"` + Synced []string `protobuf:"bytes,4,rep,name=synced" json:"synced,omitempty"` + Unsynced []string `protobuf:"bytes,5,rep,name=unsynced" json:"unsynced,omitempty"` } func (m *ShardingGroup) Reset() { *m = ShardingGroup{} } func (m *ShardingGroup) String() string { return proto.CompactTextString(m) } func (*ShardingGroup) ProtoMessage() {} func (*ShardingGroup) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{17} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{17} } func (m *ShardingGroup) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1267,8 +1259,8 @@ func (m *ShardingGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error return b[:n], nil } } -func (m *ShardingGroup) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShardingGroup.Merge(m, src) +func (dst *ShardingGroup) XXX_Merge(src proto.Message) { + xxx_messageInfo_ShardingGroup.Merge(dst, src) } func (m *ShardingGroup) XXX_Size() int { return m.Size() @@ -1323,8 +1315,8 @@ type SyncStatus struct { MasterBinlogGtid string `protobuf:"bytes,5,opt,name=masterBinlogGtid,proto3" json:"masterBinlogGtid,omitempty"` SyncerBinlog string `protobuf:"bytes,6,opt,name=syncerBinlog,proto3" json:"syncerBinlog,omitempty"` SyncerBinlogGtid string `protobuf:"bytes,7,opt,name=syncerBinlogGtid,proto3" json:"syncerBinlogGtid,omitempty"` - BlockingDDLs []string `protobuf:"bytes,8,rep,name=blockingDDLs,proto3" json:"blockingDDLs,omitempty"` - UnresolvedGroups []*ShardingGroup `protobuf:"bytes,9,rep,name=unresolvedGroups,proto3" json:"unresolvedGroups,omitempty"` + BlockingDDLs []string `protobuf:"bytes,8,rep,name=blockingDDLs" json:"blockingDDLs,omitempty"` + UnresolvedGroups []*ShardingGroup `protobuf:"bytes,9,rep,name=unresolvedGroups" json:"unresolvedGroups,omitempty"` Synced bool `protobuf:"varint,10,opt,name=synced,proto3" json:"synced,omitempty"` } @@ -1332,7 +1324,7 @@ func (m *SyncStatus) Reset() { *m = SyncStatus{} } func (m *SyncStatus) String() string { return proto.CompactTextString(m) } func (*SyncStatus) ProtoMessage() {} func (*SyncStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{18} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{18} } func (m *SyncStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1349,8 +1341,8 @@ func (m *SyncStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *SyncStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_SyncStatus.Merge(m, src) +func (dst *SyncStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncStatus.Merge(dst, src) } func (m *SyncStatus) XXX_Size() int { return m.Size() @@ -1440,14 +1432,14 @@ type RelayStatus struct { RelayBinlogGtid string `protobuf:"bytes,5,opt,name=relayBinlogGtid,proto3" json:"relayBinlogGtid,omitempty"` RelayCatchUpMaster bool `protobuf:"varint,6,opt,name=relayCatchUpMaster,proto3" json:"relayCatchUpMaster,omitempty"` Stage Stage `protobuf:"varint,7,opt,name=stage,proto3,enum=pb.Stage" json:"stage,omitempty"` - Result *ProcessResult `protobuf:"bytes,8,opt,name=result,proto3" json:"result,omitempty"` + Result *ProcessResult `protobuf:"bytes,8,opt,name=result" json:"result,omitempty"` } func (m *RelayStatus) Reset() { *m = RelayStatus{} } func (m *RelayStatus) String() string { return proto.CompactTextString(m) } func (*RelayStatus) ProtoMessage() {} func (*RelayStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{19} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{19} } func (m *RelayStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1464,8 +1456,8 @@ func (m *RelayStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *RelayStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_RelayStatus.Merge(m, src) +func (dst *RelayStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_RelayStatus.Merge(dst, src) } func (m *RelayStatus) XXX_Size() int { return m.Size() @@ -1546,7 +1538,7 @@ type SubTaskStatus struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Stage Stage `protobuf:"varint,2,opt,name=stage,proto3,enum=pb.Stage" json:"stage,omitempty"` Unit UnitType `protobuf:"varint,3,opt,name=unit,proto3,enum=pb.UnitType" json:"unit,omitempty"` - Result *ProcessResult `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` + Result *ProcessResult `protobuf:"bytes,4,opt,name=result" json:"result,omitempty"` UnresolvedDDLLockID string `protobuf:"bytes,5,opt,name=unresolvedDDLLockID,proto3" json:"unresolvedDDLLockID,omitempty"` // Types that are valid to be assigned to Status: // *SubTaskStatus_Msg @@ -1561,7 +1553,7 @@ func (m *SubTaskStatus) Reset() { *m = SubTaskStatus{} } func (m *SubTaskStatus) String() string { return proto.CompactTextString(m) } func (*SubTaskStatus) ProtoMessage() {} func (*SubTaskStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{20} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{20} } func (m *SubTaskStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1578,8 +1570,8 @@ func (m *SubTaskStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error return b[:n], nil } } -func (m *SubTaskStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubTaskStatus.Merge(m, src) +func (dst *SubTaskStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_SubTaskStatus.Merge(dst, src) } func (m *SubTaskStatus) XXX_Size() int { return m.Size() @@ -1600,16 +1592,16 @@ type SubTaskStatus_Msg struct { Msg string `protobuf:"bytes,6,opt,name=msg,proto3,oneof"` } type SubTaskStatus_Check struct { - Check *CheckStatus `protobuf:"bytes,7,opt,name=check,proto3,oneof"` + Check *CheckStatus `protobuf:"bytes,7,opt,name=check,oneof"` } type SubTaskStatus_Dump struct { - Dump *DumpStatus `protobuf:"bytes,8,opt,name=dump,proto3,oneof"` + Dump *DumpStatus `protobuf:"bytes,8,opt,name=dump,oneof"` } type SubTaskStatus_Load struct { - Load *LoadStatus `protobuf:"bytes,9,opt,name=load,proto3,oneof"` + Load *LoadStatus `protobuf:"bytes,9,opt,name=load,oneof"` } type SubTaskStatus_Sync struct { - Sync *SyncStatus `protobuf:"bytes,10,opt,name=sync,proto3,oneof"` + Sync *SyncStatus `protobuf:"bytes,10,opt,name=sync,oneof"` } func (*SubTaskStatus_Msg) isSubTaskStatus_Status() {} @@ -1824,14 +1816,14 @@ func _SubTaskStatus_OneofSizer(msg proto.Message) (n int) { // SubTaskStatusList used for internal jsonpb marshal type SubTaskStatusList struct { - Status []*SubTaskStatus `protobuf:"bytes,1,rep,name=status,proto3" json:"status,omitempty"` + Status []*SubTaskStatus `protobuf:"bytes,1,rep,name=status" json:"status,omitempty"` } func (m *SubTaskStatusList) Reset() { *m = SubTaskStatusList{} } func (m *SubTaskStatusList) String() string { return proto.CompactTextString(m) } func (*SubTaskStatusList) ProtoMessage() {} func (*SubTaskStatusList) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{21} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{21} } func (m *SubTaskStatusList) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1848,8 +1840,8 @@ func (m *SubTaskStatusList) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *SubTaskStatusList) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubTaskStatusList.Merge(m, src) +func (dst *SubTaskStatusList) XXX_Merge(src proto.Message) { + xxx_messageInfo_SubTaskStatusList.Merge(dst, src) } func (m *SubTaskStatusList) XXX_Size() int { return m.Size() @@ -1877,7 +1869,7 @@ func (m *CheckError) Reset() { *m = CheckError{} } func (m *CheckError) String() string { return proto.CompactTextString(m) } func (*CheckError) ProtoMessage() {} func (*CheckError) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{22} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{22} } func (m *CheckError) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1894,8 +1886,8 @@ func (m *CheckError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *CheckError) XXX_Merge(src proto.Message) { - xxx_messageInfo_CheckError.Merge(m, src) +func (dst *CheckError) XXX_Merge(src proto.Message) { + xxx_messageInfo_CheckError.Merge(dst, src) } func (m *CheckError) XXX_Size() int { return m.Size() @@ -1923,7 +1915,7 @@ func (m *DumpError) Reset() { *m = DumpError{} } func (m *DumpError) String() string { return proto.CompactTextString(m) } func (*DumpError) ProtoMessage() {} func (*DumpError) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{23} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{23} } func (m *DumpError) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1940,8 +1932,8 @@ func (m *DumpError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *DumpError) XXX_Merge(src proto.Message) { - xxx_messageInfo_DumpError.Merge(m, src) +func (dst *DumpError) XXX_Merge(src proto.Message) { + xxx_messageInfo_DumpError.Merge(dst, src) } func (m *DumpError) XXX_Size() int { return m.Size() @@ -1968,7 +1960,7 @@ func (m *LoadError) Reset() { *m = LoadError{} } func (m *LoadError) String() string { return proto.CompactTextString(m) } func (*LoadError) ProtoMessage() {} func (*LoadError) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{24} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{24} } func (m *LoadError) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1985,8 +1977,8 @@ func (m *LoadError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *LoadError) XXX_Merge(src proto.Message) { - xxx_messageInfo_LoadError.Merge(m, src) +func (dst *LoadError) XXX_Merge(src proto.Message) { + xxx_messageInfo_LoadError.Merge(dst, src) } func (m *LoadError) XXX_Size() int { return m.Size() @@ -2015,7 +2007,7 @@ func (m *SyncSQLError) Reset() { *m = SyncSQLError{} } func (m *SyncSQLError) String() string { return proto.CompactTextString(m) } func (*SyncSQLError) ProtoMessage() {} func (*SyncSQLError) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{25} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{25} } func (m *SyncSQLError) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2032,8 +2024,8 @@ func (m *SyncSQLError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *SyncSQLError) XXX_Merge(src proto.Message) { - xxx_messageInfo_SyncSQLError.Merge(m, src) +func (dst *SyncSQLError) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncSQLError.Merge(dst, src) } func (m *SyncSQLError) XXX_Size() int { return m.Size() @@ -2067,14 +2059,14 @@ func (m *SyncSQLError) GetErrorSQL() string { // SyncError represents error list for sync unit type SyncError struct { - Errors []*SyncSQLError `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"` + Errors []*SyncSQLError `protobuf:"bytes,1,rep,name=errors" json:"errors,omitempty"` } func (m *SyncError) Reset() { *m = SyncError{} } func (m *SyncError) String() string { return proto.CompactTextString(m) } func (*SyncError) ProtoMessage() {} func (*SyncError) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{26} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{26} } func (m *SyncError) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2091,8 +2083,8 @@ func (m *SyncError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *SyncError) XXX_Merge(src proto.Message) { - xxx_messageInfo_SyncError.Merge(m, src) +func (dst *SyncError) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncError.Merge(dst, src) } func (m *SyncError) XXX_Size() int { return m.Size() @@ -2119,7 +2111,7 @@ func (m *RelayError) Reset() { *m = RelayError{} } func (m *RelayError) String() string { return proto.CompactTextString(m) } func (*RelayError) ProtoMessage() {} func (*RelayError) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{27} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{27} } func (m *RelayError) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2136,8 +2128,8 @@ func (m *RelayError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *RelayError) XXX_Merge(src proto.Message) { - xxx_messageInfo_RelayError.Merge(m, src) +func (dst *RelayError) XXX_Merge(src proto.Message) { + xxx_messageInfo_RelayError.Merge(dst, src) } func (m *RelayError) XXX_Size() int { return m.Size() @@ -2178,7 +2170,7 @@ func (m *SubTaskError) Reset() { *m = SubTaskError{} } func (m *SubTaskError) String() string { return proto.CompactTextString(m) } func (*SubTaskError) ProtoMessage() {} func (*SubTaskError) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{28} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{28} } func (m *SubTaskError) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2195,8 +2187,8 @@ func (m *SubTaskError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *SubTaskError) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubTaskError.Merge(m, src) +func (dst *SubTaskError) XXX_Merge(src proto.Message) { + xxx_messageInfo_SubTaskError.Merge(dst, src) } func (m *SubTaskError) XXX_Size() int { return m.Size() @@ -2217,16 +2209,16 @@ type SubTaskError_Msg struct { Msg string `protobuf:"bytes,4,opt,name=msg,proto3,oneof"` } type SubTaskError_Check struct { - Check *CheckError `protobuf:"bytes,5,opt,name=check,proto3,oneof"` + Check *CheckError `protobuf:"bytes,5,opt,name=check,oneof"` } type SubTaskError_Dump struct { - Dump *DumpError `protobuf:"bytes,6,opt,name=dump,proto3,oneof"` + Dump *DumpError `protobuf:"bytes,6,opt,name=dump,oneof"` } type SubTaskError_Load struct { - Load *LoadError `protobuf:"bytes,7,opt,name=load,proto3,oneof"` + Load *LoadError `protobuf:"bytes,7,opt,name=load,oneof"` } type SubTaskError_Sync struct { - Sync *SyncError `protobuf:"bytes,8,opt,name=sync,proto3,oneof"` + Sync *SyncError `protobuf:"bytes,8,opt,name=sync,oneof"` } func (*SubTaskError_Msg) isSubTaskError_Error() {} @@ -2427,14 +2419,14 @@ func _SubTaskError_OneofSizer(msg proto.Message) (n int) { // SubTaskErrorList used for internal jsonpb marshal type SubTaskErrorList struct { - Error []*SubTaskError `protobuf:"bytes,1,rep,name=error,proto3" json:"error,omitempty"` + Error []*SubTaskError `protobuf:"bytes,1,rep,name=error" json:"error,omitempty"` } func (m *SubTaskErrorList) Reset() { *m = SubTaskErrorList{} } func (m *SubTaskErrorList) String() string { return proto.CompactTextString(m) } func (*SubTaskErrorList) ProtoMessage() {} func (*SubTaskErrorList) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{29} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{29} } func (m *SubTaskErrorList) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2451,8 +2443,8 @@ func (m *SubTaskErrorList) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *SubTaskErrorList) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubTaskErrorList.Merge(m, src) +func (dst *SubTaskErrorList) XXX_Merge(src proto.Message) { + xxx_messageInfo_SubTaskErrorList.Merge(dst, src) } func (m *SubTaskErrorList) XXX_Size() int { return m.Size() @@ -2476,7 +2468,7 @@ func (m *SubTaskErrorList) GetError() []*SubTaskError { // errors: includes all (potential) errors occured when processing type ProcessResult struct { IsCanceled bool `protobuf:"varint,1,opt,name=isCanceled,proto3" json:"isCanceled,omitempty"` - Errors []*ProcessError `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"` + Errors []*ProcessError `protobuf:"bytes,2,rep,name=errors" json:"errors,omitempty"` Detail []byte `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"` } @@ -2484,7 +2476,7 @@ func (m *ProcessResult) Reset() { *m = ProcessResult{} } func (m *ProcessResult) String() string { return proto.CompactTextString(m) } func (*ProcessResult) ProtoMessage() {} func (*ProcessResult) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{30} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{30} } func (m *ProcessResult) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2501,8 +2493,8 @@ func (m *ProcessResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error return b[:n], nil } } -func (m *ProcessResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProcessResult.Merge(m, src) +func (dst *ProcessResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProcessResult.Merge(dst, src) } func (m *ProcessResult) XXX_Size() int { return m.Size() @@ -2550,7 +2542,7 @@ func (m *TError) Reset() { *m = TError{} } func (m *TError) String() string { return proto.CompactTextString(m) } func (*TError) ProtoMessage() {} func (*TError) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{31} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{31} } func (m *TError) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2567,8 +2559,8 @@ func (m *TError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *TError) XXX_Merge(src proto.Message) { - xxx_messageInfo_TError.Merge(m, src) +func (dst *TError) XXX_Merge(src proto.Message) { + xxx_messageInfo_TError.Merge(dst, src) } func (m *TError) XXX_Size() int { return m.Size() @@ -2626,14 +2618,14 @@ func (m *TError) GetRawCause() string { type ProcessError struct { Type ErrorType `protobuf:"varint,1,opt,name=Type,proto3,enum=pb.ErrorType" json:"Type,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` - Error *TError `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` + Error *TError `protobuf:"bytes,3,opt,name=error" json:"error,omitempty"` } func (m *ProcessError) Reset() { *m = ProcessError{} } func (m *ProcessError) String() string { return proto.CompactTextString(m) } func (*ProcessError) ProtoMessage() {} func (*ProcessError) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{32} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{32} } func (m *ProcessError) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2650,8 +2642,8 @@ func (m *ProcessError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *ProcessError) XXX_Merge(src proto.Message) { - xxx_messageInfo_ProcessError.Merge(m, src) +func (dst *ProcessError) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProcessError.Merge(dst, src) } func (m *ProcessError) XXX_Size() int { return m.Size() @@ -2691,14 +2683,14 @@ type DDLInfo struct { Task string `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` Schema string `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"` Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` - DDLs []string `protobuf:"bytes,4,rep,name=DDLs,proto3" json:"DDLs,omitempty"` + DDLs []string `protobuf:"bytes,4,rep,name=DDLs" json:"DDLs,omitempty"` } func (m *DDLInfo) Reset() { *m = DDLInfo{} } func (m *DDLInfo) String() string { return proto.CompactTextString(m) } func (*DDLInfo) ProtoMessage() {} func (*DDLInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{33} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{33} } func (m *DDLInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2715,8 +2707,8 @@ func (m *DDLInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *DDLInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_DDLInfo.Merge(m, src) +func (dst *DDLInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_DDLInfo.Merge(dst, src) } func (m *DDLInfo) XXX_Size() int { return m.Size() @@ -2767,7 +2759,7 @@ func (m *DDLLockInfo) Reset() { *m = DDLLockInfo{} } func (m *DDLLockInfo) String() string { return proto.CompactTextString(m) } func (*DDLLockInfo) ProtoMessage() {} func (*DDLLockInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{34} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{34} } func (m *DDLLockInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2784,8 +2776,8 @@ func (m *DDLLockInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *DDLLockInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_DDLLockInfo.Merge(m, src) +func (dst *DDLLockInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_DDLLockInfo.Merge(dst, src) } func (m *DDLLockInfo) XXX_Size() int { return m.Size() @@ -2812,17 +2804,18 @@ func (m *DDLLockInfo) GetID() string { // ExecDDLRequest represents a request for a dm-worker to execute (or ignore) a DDL type ExecDDLRequest struct { - Task string `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` - LockID string `protobuf:"bytes,2,opt,name=lockID,proto3" json:"lockID,omitempty"` - Exec bool `protobuf:"varint,3,opt,name=exec,proto3" json:"exec,omitempty"` - TraceGID string `protobuf:"bytes,4,opt,name=traceGID,proto3" json:"traceGID,omitempty"` + Task string `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` + LockID string `protobuf:"bytes,2,opt,name=lockID,proto3" json:"lockID,omitempty"` + Exec bool `protobuf:"varint,3,opt,name=exec,proto3" json:"exec,omitempty"` + TraceGID string `protobuf:"bytes,4,opt,name=traceGID,proto3" json:"traceGID,omitempty"` + DDLs []string `protobuf:"bytes,5,rep,name=DDLs" json:"DDLs,omitempty"` } func (m *ExecDDLRequest) Reset() { *m = ExecDDLRequest{} } func (m *ExecDDLRequest) String() string { return proto.CompactTextString(m) } func (*ExecDDLRequest) ProtoMessage() {} func (*ExecDDLRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{35} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{35} } func (m *ExecDDLRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2839,8 +2832,8 @@ func (m *ExecDDLRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, erro return b[:n], nil } } -func (m *ExecDDLRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecDDLRequest.Merge(m, src) +func (dst *ExecDDLRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExecDDLRequest.Merge(dst, src) } func (m *ExecDDLRequest) XXX_Size() int { return m.Size() @@ -2879,6 +2872,13 @@ func (m *ExecDDLRequest) GetTraceGID() string { return "" } +func (m *ExecDDLRequest) GetDDLs() []string { + if m != nil { + return m.DDLs + } + return nil +} + // BreakDDLLockRequest represents a request for a dm-worker to force to break the DDL lock // task: sub task's name // removeLockID: DDLLockInfo's ID which need to remove @@ -2896,7 +2896,7 @@ func (m *BreakDDLLockRequest) Reset() { *m = BreakDDLLockRequest{} } func (m *BreakDDLLockRequest) String() string { return proto.CompactTextString(m) } func (*BreakDDLLockRequest) ProtoMessage() {} func (*BreakDDLLockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{36} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{36} } func (m *BreakDDLLockRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2913,8 +2913,8 @@ func (m *BreakDDLLockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *BreakDDLLockRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BreakDDLLockRequest.Merge(m, src) +func (dst *BreakDDLLockRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_BreakDDLLockRequest.Merge(dst, src) } func (m *BreakDDLLockRequest) XXX_Size() int { return m.Size() @@ -2961,7 +2961,7 @@ func (m *SwitchRelayMasterRequest) Reset() { *m = SwitchRelayMasterReque func (m *SwitchRelayMasterRequest) String() string { return proto.CompactTextString(m) } func (*SwitchRelayMasterRequest) ProtoMessage() {} func (*SwitchRelayMasterRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{37} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{37} } func (m *SwitchRelayMasterRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2978,8 +2978,8 @@ func (m *SwitchRelayMasterRequest) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } -func (m *SwitchRelayMasterRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SwitchRelayMasterRequest.Merge(m, src) +func (dst *SwitchRelayMasterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SwitchRelayMasterRequest.Merge(dst, src) } func (m *SwitchRelayMasterRequest) XXX_Size() int { return m.Size() @@ -2999,7 +2999,7 @@ func (m *OperateRelayRequest) Reset() { *m = OperateRelayRequest{} } func (m *OperateRelayRequest) String() string { return proto.CompactTextString(m) } func (*OperateRelayRequest) ProtoMessage() {} func (*OperateRelayRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{38} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{38} } func (m *OperateRelayRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3016,8 +3016,8 @@ func (m *OperateRelayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *OperateRelayRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperateRelayRequest.Merge(m, src) +func (dst *OperateRelayRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_OperateRelayRequest.Merge(dst, src) } func (m *OperateRelayRequest) XXX_Size() int { return m.Size() @@ -3046,7 +3046,7 @@ func (m *OperateRelayResponse) Reset() { *m = OperateRelayResponse{} } func (m *OperateRelayResponse) String() string { return proto.CompactTextString(m) } func (*OperateRelayResponse) ProtoMessage() {} func (*OperateRelayResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{39} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{39} } func (m *OperateRelayResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3063,8 +3063,8 @@ func (m *OperateRelayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *OperateRelayResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperateRelayResponse.Merge(m, src) +func (dst *OperateRelayResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_OperateRelayResponse.Merge(dst, src) } func (m *OperateRelayResponse) XXX_Size() int { return m.Size() @@ -3119,7 +3119,7 @@ func (m *PurgeRelayRequest) Reset() { *m = PurgeRelayRequest{} } func (m *PurgeRelayRequest) String() string { return proto.CompactTextString(m) } func (*PurgeRelayRequest) ProtoMessage() {} func (*PurgeRelayRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{40} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{40} } func (m *PurgeRelayRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3136,8 +3136,8 @@ func (m *PurgeRelayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *PurgeRelayRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PurgeRelayRequest.Merge(m, src) +func (dst *PurgeRelayRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PurgeRelayRequest.Merge(dst, src) } func (m *PurgeRelayRequest) XXX_Size() int { return m.Size() @@ -3183,7 +3183,7 @@ func (m *QueryWorkerConfigRequest) Reset() { *m = QueryWorkerConfigReque func (m *QueryWorkerConfigRequest) String() string { return proto.CompactTextString(m) } func (*QueryWorkerConfigRequest) ProtoMessage() {} func (*QueryWorkerConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{41} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{41} } func (m *QueryWorkerConfigRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3200,8 +3200,8 @@ func (m *QueryWorkerConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } -func (m *QueryWorkerConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryWorkerConfigRequest.Merge(m, src) +func (dst *QueryWorkerConfigRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryWorkerConfigRequest.Merge(dst, src) } func (m *QueryWorkerConfigRequest) XXX_Size() int { return m.Size() @@ -3224,7 +3224,7 @@ func (m *QueryWorkerConfigResponse) Reset() { *m = QueryWorkerConfigResp func (m *QueryWorkerConfigResponse) String() string { return proto.CompactTextString(m) } func (*QueryWorkerConfigResponse) ProtoMessage() {} func (*QueryWorkerConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{42} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{42} } func (m *QueryWorkerConfigResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3241,8 +3241,8 @@ func (m *QueryWorkerConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *QueryWorkerConfigResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryWorkerConfigResponse.Merge(m, src) +func (dst *QueryWorkerConfigResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryWorkerConfigResponse.Merge(dst, src) } func (m *QueryWorkerConfigResponse) XXX_Size() int { return m.Size() @@ -3299,7 +3299,7 @@ func (m *TaskMeta) Reset() { *m = TaskMeta{} } func (m *TaskMeta) String() string { return proto.CompactTextString(m) } func (*TaskMeta) ProtoMessage() {} func (*TaskMeta) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{43} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{43} } func (m *TaskMeta) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3316,8 +3316,8 @@ func (m *TaskMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *TaskMeta) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskMeta.Merge(m, src) +func (dst *TaskMeta) XXX_Merge(src proto.Message) { + xxx_messageInfo_TaskMeta.Merge(dst, src) } func (m *TaskMeta) XXX_Size() int { return m.Size() @@ -3358,7 +3358,7 @@ func (m *TaskMeta) GetTask() []byte { type TaskLog struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - Task *TaskMeta `protobuf:"bytes,2,opt,name=task,proto3" json:"task,omitempty"` + Task *TaskMeta `protobuf:"bytes,2,opt,name=task" json:"task,omitempty"` Ts int64 `protobuf:"varint,3,opt,name=ts,proto3" json:"ts,omitempty"` // true means this log is applied successfully Success bool `protobuf:"varint,4,opt,name=success,proto3" json:"success,omitempty"` @@ -3369,7 +3369,7 @@ func (m *TaskLog) Reset() { *m = TaskLog{} } func (m *TaskLog) String() string { return proto.CompactTextString(m) } func (*TaskLog) ProtoMessage() {} func (*TaskLog) Descriptor() ([]byte, []int) { - return fileDescriptor_51a1b9e17fd67b10, []int{44} + return fileDescriptor_dmworker_197b0c00ed0d06a5, []int{44} } func (m *TaskLog) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3386,8 +3386,8 @@ func (m *TaskLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *TaskLog) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskLog.Merge(m, src) +func (dst *TaskLog) XXX_Merge(src proto.Message) { + xxx_messageInfo_TaskLog.Merge(dst, src) } func (m *TaskLog) XXX_Size() int { return m.Size() @@ -3434,12 +3434,6 @@ func (m *TaskLog) GetMessage() string { } func init() { - proto.RegisterEnum("pb.TaskOp", TaskOp_name, TaskOp_value) - proto.RegisterEnum("pb.SQLOp", SQLOp_name, SQLOp_value) - proto.RegisterEnum("pb.Stage", Stage_name, Stage_value) - proto.RegisterEnum("pb.UnitType", UnitType_name, UnitType_value) - proto.RegisterEnum("pb.ErrorType", ErrorType_name, ErrorType_value) - proto.RegisterEnum("pb.RelayOp", RelayOp_name, RelayOp_value) proto.RegisterType((*StartSubTaskRequest)(nil), "pb.StartSubTaskRequest") proto.RegisterType((*UpdateRelayRequest)(nil), "pb.UpdateRelayRequest") proto.RegisterType((*MigrateRelayRequest)(nil), "pb.MigrateRelayRequest") @@ -3485,160 +3479,12 @@ func init() { proto.RegisterType((*QueryWorkerConfigResponse)(nil), "pb.QueryWorkerConfigResponse") proto.RegisterType((*TaskMeta)(nil), "pb.TaskMeta") proto.RegisterType((*TaskLog)(nil), "pb.TaskLog") -} - -func init() { proto.RegisterFile("dmworker.proto", fileDescriptor_51a1b9e17fd67b10) } - -var fileDescriptor_51a1b9e17fd67b10 = []byte{ - // 2367 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x19, 0x4d, 0x6f, 0x23, 0x59, - 0xd1, 0xdd, 0x6e, 0x3b, 0x76, 0xd9, 0xc9, 0x74, 0x5e, 0x66, 0x67, 0x3d, 0x66, 0x27, 0x84, 0x9e, - 0xd5, 0x6e, 0x36, 0x42, 0xd1, 0x6e, 0x00, 0x21, 0x01, 0x0b, 0xec, 0xc4, 0x99, 0x4c, 0xc0, 0x99, - 0x49, 0xda, 0x13, 0xe0, 0xb6, 0xea, 0xb4, 0x5f, 0x9c, 0x56, 0xda, 0xdd, 0x3d, 0xfd, 0x91, 0x4c, - 0x4e, 0x08, 0x71, 0x44, 0x42, 0x48, 0x9c, 0x10, 0x67, 0x6e, 0xfc, 0x04, 0xee, 0x70, 0xdc, 0x23, - 0x37, 0xd0, 0xcc, 0x2f, 0xe0, 0xce, 0x01, 0x55, 0xbd, 0xd7, 0xdd, 0xaf, 0x13, 0xdb, 0x33, 0x42, - 0xb3, 0x17, 0xab, 0xeb, 0xe3, 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0x09, 0xa9, 0xd8, 0xb0, 0x73, 0x10, 0x57, 0x8c, - 0x79, 0xea, 0x78, 0x3e, 0x39, 0xba, 0x6b, 0x4b, 0xc8, 0xea, 0x02, 0x0c, 0xb2, 0x69, 0x24, 0xb4, - 0xb4, 0x7e, 0xaf, 0x01, 0x0c, 0x43, 0x67, 0x2c, 0x95, 0xfe, 0x10, 0x96, 0xcf, 0xbc, 0xc0, 0x4b, - 0xce, 0xf9, 0xf8, 0xd1, 0x75, 0xca, 0x13, 0xd2, 0xbd, 0x6e, 0x57, 0x91, 0xa8, 0x2c, 0x69, 0x2d, - 0x58, 0x44, 0x22, 0x52, 0x30, 0x78, 0xca, 0x51, 0x1c, 0x4e, 0x62, 0x9e, 0x24, 0xf2, 0x1c, 0x0a, - 0x18, 0xd7, 0x62, 0x96, 0x11, 0x49, 0x5c, 0x5e, 0x30, 0x05, 0x63, 0xfd, 0x4e, 0x83, 0xe5, 0xd1, - 0xb9, 0x13, 0x8f, 0xbd, 0x60, 0xb2, 0x1f, 0x87, 0x59, 0x84, 0x86, 0xa4, 0x4e, 0x3c, 0xe1, 0x79, - 0x4d, 0x91, 0x10, 0xde, 0xde, 0xc1, 0x60, 0x88, 0xfb, 0xd3, 0xed, 0xc5, 0x6f, 0xdc, 0xf9, 0xcc, - 0x8b, 0x93, 0x14, 0x2f, 0xaf, 0xdc, 0x39, 0x87, 0x51, 0x4e, 0x72, 0x1d, 0xb8, 0xe4, 0x42, 0x5c, - 0x21, 0x21, 0x5c, 0x93, 0x05, 0x92, 0xd2, 0x20, 0x4a, 0x01, 0x5b, 0xbf, 0xad, 0x03, 0x8c, 0xae, - 0x03, 0x57, 0xba, 0x67, 0x03, 0x3a, 0x64, 0xe6, 0xde, 0x25, 0x0f, 0xd2, 0xdc, 0x39, 0x2a, 0x0a, - 0x85, 0x11, 0xf8, 0x3c, 0xca, 0x1d, 0x53, 0xc0, 0x98, 0x5a, 0x62, 0xee, 0xf2, 0x20, 0x45, 0xa2, - 0xa8, 0x02, 0x25, 0x82, 0x59, 0xd0, 0x9d, 0x3a, 0x49, 0xca, 0xe3, 0x8a, 0x6b, 0x2a, 0x38, 0xb6, - 0x05, 0xa6, 0x0a, 0xef, 0xa7, 0xde, 0x58, 0x26, 0xa1, 0x5b, 0x78, 0x94, 0x47, 0x46, 0xe4, 0xf2, - 0xc4, 0x75, 0xab, 0xe0, 0x50, 0x9e, 0x0a, 0x93, 0xbc, 0x25, 0x21, 0xef, 0x26, 0x1e, 0xe5, 0x9d, - 0xfa, 0xa1, 0x7b, 0xe1, 0x05, 0x13, 0x72, 0x7b, 0x8b, 0x5c, 0x55, 0xc1, 0xb1, 0xcf, 0xc1, 0xcc, - 0x82, 0x98, 0x27, 0xa1, 0x7f, 0xc9, 0xc7, 0x74, 0x7a, 0x49, 0xaf, 0xad, 0x64, 0x13, 0xf5, 0x5c, - 0xed, 0x5b, 0xac, 0xca, 0x09, 0x81, 0xb8, 0x32, 0xf2, 0x14, 0xfe, 0xae, 0x43, 0x47, 0x49, 0x29, - 0xb7, 0x5c, 0xa5, 0xbd, 0xa5, 0xab, 0xf4, 0x39, 0xae, 0xda, 0xc8, 0x13, 0x59, 0x76, 0x3a, 0xf0, - 0x62, 0x19, 0x38, 0x2a, 0xaa, 0xe0, 0xa8, 0x9c, 0x8d, 0x8a, 0x62, 0x9b, 0x70, 0x47, 0x01, 0x95, - 0x93, 0xb9, 0x89, 0x66, 0xdb, 0xc0, 0x08, 0xb5, 0xeb, 0xa4, 0xee, 0xf9, 0x49, 0x74, 0x48, 0xda, - 0xd0, 0xf1, 0xb4, 0xec, 0x19, 0x14, 0xf6, 0x4d, 0x68, 0x24, 0xa9, 0x33, 0xe1, 0x74, 0x32, 0x79, - 0x0d, 0x43, 0x84, 0x2d, 0xf0, 0xec, 0x93, 0x22, 0x43, 0xb6, 0x28, 0x4b, 0x91, 0xaf, 0x8f, 0xe2, - 0x10, 0x73, 0x87, 0x4d, 0x84, 0x3c, 0x69, 0x5a, 0xff, 0xd5, 0x61, 0xb9, 0x92, 0xd3, 0x67, 0x96, - 0xcc, 0x62, 0x47, 0x7d, 0xce, 0x8e, 0x1b, 0x60, 0x64, 0x81, 0x97, 0x92, 0xa7, 0x56, 0x76, 0xba, - 0x48, 0x3f, 0x09, 0xbc, 0xf4, 0xf9, 0x75, 0xc4, 0x6d, 0xa2, 0x28, 0x3a, 0x19, 0x6f, 0xd0, 0x89, - 0x7d, 0x0a, 0x6b, 0x65, 0x24, 0x0c, 0x06, 0xc3, 0x61, 0xe8, 0x5e, 0x1c, 0x0c, 0xa4, 0xf7, 0x66, - 0x91, 0x18, 0x13, 0x29, 0x9e, 0x22, 0xfa, 0x49, 0x4d, 0x24, 0xf9, 0x8f, 0xa1, 0xe1, 0x62, 0xf6, - 0x25, 0x2f, 0xc9, 0x32, 0xa4, 0xa4, 0xe3, 0x27, 0x35, 0x5b, 0xd0, 0xd9, 0x87, 0x60, 0x8c, 0xb3, - 0x69, 0x24, 0x7d, 0x45, 0x19, 0xbd, 0xcc, 0x87, 0x4f, 0x6a, 0x36, 0x51, 0x91, 0xcb, 0x0f, 0x9d, - 0x71, 0xaf, 0x5d, 0x72, 0x95, 0x69, 0x12, 0xb9, 0x90, 0x8a, 0x5c, 0x18, 0xa2, 0x14, 0xae, 0x92, - 0xab, 0xcc, 0x16, 0xc8, 0x85, 0xd4, 0x47, 0x2d, 0x68, 0x26, 0x22, 0xdb, 0xfe, 0x18, 0x56, 0x2b, - 0xde, 0x1f, 0x7a, 0x09, 0xb9, 0x4a, 0x90, 0x7b, 0xda, 0xbc, 0xc2, 0x9b, 0xaf, 0x5f, 0x07, 0x20, - 0x9b, 0x44, 0x85, 0x92, 0x95, 0x4e, 0x2b, 0x9b, 0x84, 0x07, 0xd0, 0x46, 0x5b, 0x16, 0x90, 0xd1, - 0x88, 0x79, 0xe4, 0x08, 0xba, 0xa4, 0xfd, 0xf1, 0x70, 0x0e, 0x07, 0xdb, 0x81, 0xbb, 0xa2, 0xee, - 0x14,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x1e, 0x96, 0xb3, 0x9e, 0xd9, 0x33, 0xa6, 0x37, 0xd6, 0x96, 0xbc, 0x20, 0xd5, - 0x95, 0x82, 0x94, 0x87, 0xae, 0x41, 0x09, 0x50, 0x0c, 0x50, 0x7e, 0x0d, 0x4b, 0x72, 0xf8, 0x82, - 0xf7, 0xcd, 0x1b, 0xcb, 0x27, 0x87, 0x4e, 0x4d, 0xab, 0x60, 0x17, 0x73, 0x9a, 0x6e, 0xae, 0x01, - 0xea, 0x56, 0xde, 0xd0, 0x34, 0x7f, 0x68, 0xe8, 0x69, 0x42, 0x91, 0x2c, 0x5e, 0x94, 0x45, 0x24, - 0x0b, 0x10, 0x29, 0xd3, 0x6a, 0xb2, 0x93, 0xe0, 0xd6, 0x97, 0xd0, 0x14, 0x76, 0xb1, 0x65, 0x68, - 0x1f, 0x04, 0x97, 0x8e, 0xef, 0x8d, 0x9f, 0x45, 0x66, 0x8d, 0xb5, 0xc0, 0x18, 0xa5, 0x61, 0x64, - 0x6a, 0xac, 0x0d, 0x8d, 0x23, 0x4c, 0x7e, 0xa6, 0xce, 0x00, 0x9a, 0x58, 0x19, 0xa6, 0xdc, 0xac, - 0x23, 0x9a, 0x86, 0x89, 0xa6, 0x81, 0x68, 0x31, 0x32, 0x32, 0x1b, 0x6c, 0x05, 0xe0, 0x8b, 0x2c, - 0x0d, 0x25, 0x5b, 0x73, 0x6b, 0x0b, 0x1a, 0x34, 0x90, 0x21, 0x81, 0x3f, 0x3f, 0x38, 0x32, 0x6b, - 0xac, 0x03, 0x4b, 0xf6, 0xde, 0xd1, 0xf0, 0x8b, 0xdd, 0x3d, 0x53, 0xc3, 0xb5, 0x07, 0x4f, 0x7f, - 0xb6, 0xb7, 0xfb, 0xdc, 0xd4, 0xb7, 0x7e, 0x41, 0x22, 0x27, 0x98, 0x33, 0xbb, 0x52, 0x17, 0x82, - 0xcd, 0x1a, 0x5b, 0x82, 0xfa, 0x53, 0x7e, 0x65, 0x6a, 0xb4, 0x38, 0x0b, 0xf0, 0x05, 0x2c, 0xf4, - 0x21, 0xd5, 0xc6, 0x66, 0x1d, 0x09, 0xa8, 0x70, 0xc4, 0xc7, 0xa6, 0xc1, 0xba, 0xd0, 0x7a, 0x2c, - 0x9f, 0xb4, 0x66, 0x63, 0xeb, 0x19, 0xb4, 0xf2, 0xca, 0xce, 0xee, 0x40, 0x47, 0x8a, 0x46, 0x94, - 0x59, 0x43, 0x3b, 0xa8, 0x7e, 0x9b, 0x1a, 0xaa, 0x88, 0x35, 0xda, 0xd4, 0xf1, 0x0b, 0x0b, 0xb1, - 0x59, 0x27, 0xb5, 0xaf, 0x03, 0xd7, 0x34, 0x90, 0x91, 0xae, 0x90, 0x39, 0xde, 0xfa, 0x21, 0xb4, - 0x8b, 0x34, 0x8f, 0xca, 0x9e, 0x04, 0x17, 0x41, 0x78, 0x15, 0x10, 0x4e, 0x18, 0x88, 0xa9, 0x72, - 0x74, 0x3c, 0x34, 0x35, 0xdc, 0x90, 0xe4, 0x3f, 0xa6, 0xe6, 0xc9, 0xd4, 0xb7, 0x0e, 0x61, 0x49, - 0x5e, 0x70, 0xc6, 0x60, 0x45, 0x2a, 0x23, 0x31, 0x66, 0x0d, 0xcf, 0x01, 0xed, 0x10, 0x5b, 0x69, - 0xe8, 0x4f, 0x32, 0x51, 0xc0, 0x3a, 0x8a, 0x13, 0xbe, 0x15, 0x88, 0xfa, 0xce, 0x7f, 0x5a, 0xd0, - 0x14, 0x97, 0x88, 0xed, 0x41, 0x57, 0x9d, 0xef, 0xb2, 0xf7, 0x65, 0x5c, 0xde, 0x9c, 0xf8, 0xf6, - 0xfb, 0x48, 0x98, 0x3d, 0x11, 0xb5, 0x6a, 0xec, 0x00, 0x56, 0xaa, 0x34, 0x76, 0x7f, 0x16, 0xff, - 0xdb, 0x88, 0xda, 0x87, 0xe5, 0xca, 0x30, 0x91, 0xd1, 0x70, 0x72, 0xd6, 0x7c, 0xf1, 0x0d, 0x82, - 0x7e, 0x0a, 0x1d, 0x65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, 0x85, 0x77, 0xe6, 0xd5, 0xd5, 0xfe, 0x83, - 0x39, 0x54, 0xd5, 0x45, 0xea, 0x1f, 0x35, 0xc2, 0x45, 0x33, 0xfe, 0xba, 0x59, 0xa4, 0xd8, 0xa3, - 0xde, 0x3f, 0x5e, 0xad, 0x6b, 0x5f, 0xbd, 0x5a, 0xd7, 0xfe, 0xfd, 0x6a, 0x5d, 0xfb, 0xc3, 0xeb, - 0xf5, 0xda, 0x57, 0xaf, 0xd7, 0x6b, 0xff, 0x7c, 0xbd, 0x5e, 0x3b, 0x6d, 0xd2, 0xbf, 0x4d, 0xdf, - 0xf9, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc4, 0xce, 0x19, 0xc2, 0x7f, 0x1a, 0x00, 0x00, + proto.RegisterEnum("pb.TaskOp", TaskOp_name, TaskOp_value) + proto.RegisterEnum("pb.SQLOp", SQLOp_name, SQLOp_value) + proto.RegisterEnum("pb.Stage", Stage_name, Stage_value) + proto.RegisterEnum("pb.UnitType", UnitType_name, UnitType_value) + proto.RegisterEnum("pb.ErrorType", ErrorType_name, ErrorType_value) + proto.RegisterEnum("pb.RelayOp", RelayOp_name, RelayOp_value) } // Reference imports to suppress errors if they are not otherwise used. @@ -5831,6 +5677,21 @@ func (m *ExecDDLRequest) MarshalTo(dAtA []byte) (int, error) { i = encodeVarintDmworker(dAtA, i, uint64(len(m.TraceGID))) i += copy(dAtA[i:], m.TraceGID) } + if len(m.DDLs) > 0 { + for _, s := range m.DDLs { + dAtA[i] = 0x2a + i++ + l = len(s) + for l >= 1<<7 { + dAtA[i] = uint8(uint64(l)&0x7f | 0x80) + l >>= 7 + i++ + } + dAtA[i] = uint8(l) + i++ + i += copy(dAtA[i:], s) + } + } return i, nil } @@ -7056,6 +6917,12 @@ func (m *ExecDDLRequest) Size() (n int) { if l > 0 { n += 1 + l + sovDmworker(uint64(l)) } + if len(m.DDLs) > 0 { + for _, s := range m.DDLs { + l = len(s) + n += 1 + l + sovDmworker(uint64(l)) + } + } return n } @@ -7263,7 +7130,7 @@ func (m *StartSubTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7291,7 +7158,7 @@ func (m *StartSubTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7301,9 +7168,6 @@ func (m *StartSubTaskRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7318,9 +7182,6 @@ func (m *StartSubTaskRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -7348,7 +7209,7 @@ func (m *UpdateRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7376,7 +7237,7 @@ func (m *UpdateRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7386,9 +7247,6 @@ func (m *UpdateRelayRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7403,9 +7261,6 @@ func (m *UpdateRelayRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -7433,7 +7288,7 @@ func (m *MigrateRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7461,7 +7316,7 @@ func (m *MigrateRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7471,9 +7326,6 @@ func (m *MigrateRelayRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7493,7 +7345,7 @@ func (m *MigrateRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.BinlogPos |= uint32(b&0x7F) << shift + m.BinlogPos |= (uint32(b) & 0x7F) << shift if b < 0x80 { break } @@ -7507,9 +7359,6 @@ func (m *MigrateRelayRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -7537,7 +7386,7 @@ func (m *OperateSubTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7565,7 +7414,7 @@ func (m *OperateSubTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Op |= TaskOp(b&0x7F) << shift + m.Op |= (TaskOp(b) & 0x7F) << shift if b < 0x80 { break } @@ -7584,7 +7433,7 @@ func (m *OperateSubTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7594,9 +7443,6 @@ func (m *OperateSubTaskRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7611,9 +7457,6 @@ func (m *OperateSubTaskRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -7641,7 +7484,7 @@ func (m *OperateSubTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7669,7 +7512,7 @@ func (m *OperateSubTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -7678,9 +7521,6 @@ func (m *OperateSubTaskResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7705,7 +7545,7 @@ func (m *OperateSubTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Op |= TaskOp(b&0x7F) << shift + m.Op |= (TaskOp(b) & 0x7F) << shift if b < 0x80 { break } @@ -7724,7 +7564,7 @@ func (m *OperateSubTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.LogID |= int64(b&0x7F) << shift + m.LogID |= (int64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7738,9 +7578,6 @@ func (m *OperateSubTaskResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -7768,7 +7605,7 @@ func (m *QueryTaskOperationRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7796,7 +7633,7 @@ func (m *QueryTaskOperationRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7806,9 +7643,6 @@ func (m *QueryTaskOperationRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7828,7 +7662,7 @@ func (m *QueryTaskOperationRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.LogID |= int64(b&0x7F) << shift + m.LogID |= (int64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7842,9 +7676,6 @@ func (m *QueryTaskOperationRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -7872,7 +7703,7 @@ func (m *QueryTaskOperationResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -7900,7 +7731,7 @@ func (m *QueryTaskOperationResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -7909,9 +7740,6 @@ func (m *QueryTaskOperationResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7936,7 +7764,7 @@ func (m *QueryTaskOperationResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -7945,9 +7773,6 @@ func (m *QueryTaskOperationResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7967,9 +7792,6 @@ func (m *QueryTaskOperationResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -7997,7 +7819,7 @@ func (m *UpdateSubTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8025,7 +7847,7 @@ func (m *UpdateSubTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8035,9 +7857,6 @@ func (m *UpdateSubTaskRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8052,9 +7871,6 @@ func (m *UpdateSubTaskRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -8082,7 +7898,7 @@ func (m *QueryStatusRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8110,7 +7926,7 @@ func (m *QueryStatusRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8120,9 +7936,6 @@ func (m *QueryStatusRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8137,9 +7950,6 @@ func (m *QueryStatusRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -8167,7 +7977,7 @@ func (m *QueryErrorRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8195,7 +8005,7 @@ func (m *QueryErrorRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8205,9 +8015,6 @@ func (m *QueryErrorRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8222,9 +8029,6 @@ func (m *QueryErrorRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -8252,7 +8056,7 @@ func (m *HandleSubTaskSQLsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8280,7 +8084,7 @@ func (m *HandleSubTaskSQLsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8290,9 +8094,6 @@ func (m *HandleSubTaskSQLsRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8312,7 +8113,7 @@ func (m *HandleSubTaskSQLsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Op |= SQLOp(b&0x7F) << shift + m.Op |= (SQLOp(b) & 0x7F) << shift if b < 0x80 { break } @@ -8331,7 +8132,7 @@ func (m *HandleSubTaskSQLsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8341,9 +8142,6 @@ func (m *HandleSubTaskSQLsRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8363,7 +8161,7 @@ func (m *HandleSubTaskSQLsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8373,9 +8171,6 @@ func (m *HandleSubTaskSQLsRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8395,7 +8190,7 @@ func (m *HandleSubTaskSQLsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8405,9 +8200,6 @@ func (m *HandleSubTaskSQLsRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8422,9 +8214,6 @@ func (m *HandleSubTaskSQLsRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -8452,7 +8241,7 @@ func (m *CommonWorkerResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8480,7 +8269,7 @@ func (m *CommonWorkerResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -8500,7 +8289,7 @@ func (m *CommonWorkerResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8510,9 +8299,6 @@ func (m *CommonWorkerResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8532,7 +8318,7 @@ func (m *CommonWorkerResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8542,9 +8328,6 @@ func (m *CommonWorkerResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8559,9 +8342,6 @@ func (m *CommonWorkerResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -8589,7 +8369,7 @@ func (m *QueryStatusResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8617,7 +8397,7 @@ func (m *QueryStatusResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -8637,7 +8417,7 @@ func (m *QueryStatusResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8647,9 +8427,6 @@ func (m *QueryStatusResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8669,7 +8446,7 @@ func (m *QueryStatusResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8679,9 +8456,6 @@ func (m *QueryStatusResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8701,7 +8475,7 @@ func (m *QueryStatusResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -8710,9 +8484,6 @@ func (m *QueryStatusResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8735,7 +8506,7 @@ func (m *QueryStatusResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -8744,9 +8515,6 @@ func (m *QueryStatusResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8771,7 +8539,7 @@ func (m *QueryStatusResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8781,9 +8549,6 @@ func (m *QueryStatusResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8798,9 +8563,6 @@ func (m *QueryStatusResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -8828,7 +8590,7 @@ func (m *QueryErrorResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8856,7 +8618,7 @@ func (m *QueryErrorResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -8876,7 +8638,7 @@ func (m *QueryErrorResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8886,9 +8648,6 @@ func (m *QueryErrorResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8908,7 +8667,7 @@ func (m *QueryErrorResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -8918,9 +8677,6 @@ func (m *QueryErrorResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8940,7 +8696,7 @@ func (m *QueryErrorResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -8949,9 +8705,6 @@ func (m *QueryErrorResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8974,7 +8727,7 @@ func (m *QueryErrorResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -8983,9 +8736,6 @@ func (m *QueryErrorResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9005,9 +8755,6 @@ func (m *QueryErrorResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9035,7 +8782,7 @@ func (m *CheckStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9063,7 +8810,7 @@ func (m *CheckStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -9083,7 +8830,7 @@ func (m *CheckStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Total |= int32(b&0x7F) << shift + m.Total |= (int32(b) & 0x7F) << shift if b < 0x80 { break } @@ -9102,7 +8849,7 @@ func (m *CheckStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Successful |= int32(b&0x7F) << shift + m.Successful |= (int32(b) & 0x7F) << shift if b < 0x80 { break } @@ -9121,7 +8868,7 @@ func (m *CheckStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Failed |= int32(b&0x7F) << shift + m.Failed |= (int32(b) & 0x7F) << shift if b < 0x80 { break } @@ -9140,7 +8887,7 @@ func (m *CheckStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Warning |= int32(b&0x7F) << shift + m.Warning |= (int32(b) & 0x7F) << shift if b < 0x80 { break } @@ -9159,7 +8906,7 @@ func (m *CheckStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + byteLen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -9168,9 +8915,6 @@ func (m *CheckStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9188,9 +8932,6 @@ func (m *CheckStatus) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9218,7 +8959,7 @@ func (m *DumpStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9241,9 +8982,6 @@ func (m *DumpStatus) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9271,7 +9009,7 @@ func (m *LoadStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9299,7 +9037,7 @@ func (m *LoadStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.FinishedBytes |= int64(b&0x7F) << shift + m.FinishedBytes |= (int64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9318,7 +9056,7 @@ func (m *LoadStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.TotalBytes |= int64(b&0x7F) << shift + m.TotalBytes |= (int64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9337,7 +9075,7 @@ func (m *LoadStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9347,9 +9085,6 @@ func (m *LoadStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9369,7 +9104,7 @@ func (m *LoadStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9379,9 +9114,6 @@ func (m *LoadStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9396,9 +9128,6 @@ func (m *LoadStatus) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9426,7 +9155,7 @@ func (m *ShardingGroup) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9454,7 +9183,7 @@ func (m *ShardingGroup) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9464,9 +9193,6 @@ func (m *ShardingGroup) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9486,7 +9212,7 @@ func (m *ShardingGroup) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9496,9 +9222,6 @@ func (m *ShardingGroup) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9518,7 +9241,7 @@ func (m *ShardingGroup) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9528,9 +9251,6 @@ func (m *ShardingGroup) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9550,7 +9270,7 @@ func (m *ShardingGroup) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9560,9 +9280,6 @@ func (m *ShardingGroup) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9582,7 +9299,7 @@ func (m *ShardingGroup) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9592,9 +9309,6 @@ func (m *ShardingGroup) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9609,9 +9323,6 @@ func (m *ShardingGroup) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9639,7 +9350,7 @@ func (m *SyncStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9667,7 +9378,7 @@ func (m *SyncStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.TotalEvents |= int64(b&0x7F) << shift + m.TotalEvents |= (int64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9686,7 +9397,7 @@ func (m *SyncStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.TotalTps |= int64(b&0x7F) << shift + m.TotalTps |= (int64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9705,7 +9416,7 @@ func (m *SyncStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.RecentTps |= int64(b&0x7F) << shift + m.RecentTps |= (int64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9724,7 +9435,7 @@ func (m *SyncStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9734,9 +9445,6 @@ func (m *SyncStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9756,7 +9464,7 @@ func (m *SyncStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9766,9 +9474,6 @@ func (m *SyncStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9788,7 +9493,7 @@ func (m *SyncStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9798,9 +9503,6 @@ func (m *SyncStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9820,7 +9522,7 @@ func (m *SyncStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9830,9 +9532,6 @@ func (m *SyncStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9852,7 +9551,7 @@ func (m *SyncStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9862,9 +9561,6 @@ func (m *SyncStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9884,7 +9580,7 @@ func (m *SyncStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -9893,9 +9589,6 @@ func (m *SyncStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9918,7 +9611,7 @@ func (m *SyncStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -9933,9 +9626,6 @@ func (m *SyncStatus) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9963,7 +9653,7 @@ func (m *RelayStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -9991,7 +9681,7 @@ func (m *RelayStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -10001,9 +9691,6 @@ func (m *RelayStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10023,7 +9710,7 @@ func (m *RelayStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -10033,9 +9720,6 @@ func (m *RelayStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10055,7 +9739,7 @@ func (m *RelayStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -10065,9 +9749,6 @@ func (m *RelayStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10087,7 +9768,7 @@ func (m *RelayStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -10097,9 +9778,6 @@ func (m *RelayStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10119,7 +9797,7 @@ func (m *RelayStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -10129,9 +9807,6 @@ func (m *RelayStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10151,7 +9826,7 @@ func (m *RelayStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -10171,7 +9846,7 @@ func (m *RelayStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Stage |= Stage(b&0x7F) << shift + m.Stage |= (Stage(b) & 0x7F) << shift if b < 0x80 { break } @@ -10190,7 +9865,7 @@ func (m *RelayStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -10199,9 +9874,6 @@ func (m *RelayStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10221,9 +9893,6 @@ func (m *RelayStatus) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -10251,7 +9920,7 @@ func (m *SubTaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -10279,7 +9948,7 @@ func (m *SubTaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -10289,9 +9958,6 @@ func (m *SubTaskStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10311,7 +9977,7 @@ func (m *SubTaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Stage |= Stage(b&0x7F) << shift + m.Stage |= (Stage(b) & 0x7F) << shift if b < 0x80 { break } @@ -10330,7 +9996,7 @@ func (m *SubTaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Unit |= UnitType(b&0x7F) << shift + m.Unit |= (UnitType(b) & 0x7F) << shift if b < 0x80 { break } @@ -10349,7 +10015,7 @@ func (m *SubTaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -10358,9 +10024,6 @@ func (m *SubTaskStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10385,7 +10048,7 @@ func (m *SubTaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -10395,9 +10058,6 @@ func (m *SubTaskStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10417,7 +10077,7 @@ func (m *SubTaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -10427,9 +10087,6 @@ func (m *SubTaskStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10449,7 +10106,7 @@ func (m *SubTaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -10458,9 +10115,6 @@ func (m *SubTaskStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10484,7 +10138,7 @@ func (m *SubTaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -10493,9 +10147,6 @@ func (m *SubTaskStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10519,7 +10170,7 @@ func (m *SubTaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -10528,9 +10179,6 @@ func (m *SubTaskStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10554,7 +10202,7 @@ func (m *SubTaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -10563,9 +10211,6 @@ func (m *SubTaskStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10584,9 +10229,6 @@ func (m *SubTaskStatus) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -10614,7 +10256,7 @@ func (m *SubTaskStatusList) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -10642,7 +10284,7 @@ func (m *SubTaskStatusList) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -10651,9 +10293,6 @@ func (m *SubTaskStatusList) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10671,9 +10310,6 @@ func (m *SubTaskStatusList) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -10701,7 +10337,7 @@ func (m *CheckError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -10729,7 +10365,7 @@ func (m *CheckError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -10739,9 +10375,6 @@ func (m *CheckError) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10756,9 +10389,6 @@ func (m *CheckError) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -10786,7 +10416,7 @@ func (m *DumpError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -10814,7 +10444,7 @@ func (m *DumpError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -10824,9 +10454,6 @@ func (m *DumpError) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10841,9 +10468,6 @@ func (m *DumpError) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -10871,7 +10495,7 @@ func (m *LoadError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -10899,7 +10523,7 @@ func (m *LoadError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -10909,9 +10533,6 @@ func (m *LoadError) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10926,9 +10547,6 @@ func (m *LoadError) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -10956,7 +10574,7 @@ func (m *SyncSQLError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -10984,7 +10602,7 @@ func (m *SyncSQLError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -10994,9 +10612,6 @@ func (m *SyncSQLError) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11016,7 +10631,7 @@ func (m *SyncSQLError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -11026,9 +10641,6 @@ func (m *SyncSQLError) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11048,7 +10660,7 @@ func (m *SyncSQLError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -11058,9 +10670,6 @@ func (m *SyncSQLError) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11075,9 +10684,6 @@ func (m *SyncSQLError) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11105,7 +10711,7 @@ func (m *SyncError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -11133,7 +10739,7 @@ func (m *SyncError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -11142,9 +10748,6 @@ func (m *SyncError) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11162,9 +10765,6 @@ func (m *SyncError) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11192,7 +10792,7 @@ func (m *RelayError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -11220,7 +10820,7 @@ func (m *RelayError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -11230,9 +10830,6 @@ func (m *RelayError) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11247,9 +10844,6 @@ func (m *RelayError) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11277,7 +10871,7 @@ func (m *SubTaskError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -11305,7 +10899,7 @@ func (m *SubTaskError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -11315,9 +10909,6 @@ func (m *SubTaskError) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11337,7 +10928,7 @@ func (m *SubTaskError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Stage |= Stage(b&0x7F) << shift + m.Stage |= (Stage(b) & 0x7F) << shift if b < 0x80 { break } @@ -11356,7 +10947,7 @@ func (m *SubTaskError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Unit |= UnitType(b&0x7F) << shift + m.Unit |= (UnitType(b) & 0x7F) << shift if b < 0x80 { break } @@ -11375,7 +10966,7 @@ func (m *SubTaskError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -11385,9 +10976,6 @@ func (m *SubTaskError) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11407,7 +10995,7 @@ func (m *SubTaskError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -11416,9 +11004,6 @@ func (m *SubTaskError) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11442,7 +11027,7 @@ func (m *SubTaskError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -11451,9 +11036,6 @@ func (m *SubTaskError) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11477,7 +11059,7 @@ func (m *SubTaskError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -11486,9 +11068,6 @@ func (m *SubTaskError) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11512,7 +11091,7 @@ func (m *SubTaskError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -11521,9 +11100,6 @@ func (m *SubTaskError) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11542,9 +11118,6 @@ func (m *SubTaskError) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11572,7 +11145,7 @@ func (m *SubTaskErrorList) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -11600,7 +11173,7 @@ func (m *SubTaskErrorList) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -11609,9 +11182,6 @@ func (m *SubTaskErrorList) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11629,9 +11199,6 @@ func (m *SubTaskErrorList) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11659,7 +11226,7 @@ func (m *ProcessResult) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -11687,7 +11254,7 @@ func (m *ProcessResult) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -11707,7 +11274,7 @@ func (m *ProcessResult) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -11716,9 +11283,6 @@ func (m *ProcessResult) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11741,7 +11305,7 @@ func (m *ProcessResult) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + byteLen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -11750,9 +11314,6 @@ func (m *ProcessResult) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11770,9 +11331,6 @@ func (m *ProcessResult) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11800,7 +11358,7 @@ func (m *TError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -11828,7 +11386,7 @@ func (m *TError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ErrCode |= int32(b&0x7F) << shift + m.ErrCode |= (int32(b) & 0x7F) << shift if b < 0x80 { break } @@ -11847,7 +11405,7 @@ func (m *TError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ErrClass |= int32(b&0x7F) << shift + m.ErrClass |= (int32(b) & 0x7F) << shift if b < 0x80 { break } @@ -11866,7 +11424,7 @@ func (m *TError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ErrScope |= int32(b&0x7F) << shift + m.ErrScope |= (int32(b) & 0x7F) << shift if b < 0x80 { break } @@ -11885,7 +11443,7 @@ func (m *TError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ErrLevel |= int32(b&0x7F) << shift + m.ErrLevel |= (int32(b) & 0x7F) << shift if b < 0x80 { break } @@ -11904,7 +11462,7 @@ func (m *TError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -11914,9 +11472,6 @@ func (m *TError) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11936,7 +11491,7 @@ func (m *TError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -11946,9 +11501,6 @@ func (m *TError) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11963,9 +11515,6 @@ func (m *TError) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11993,7 +11542,7 @@ func (m *ProcessError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -12021,7 +11570,7 @@ func (m *ProcessError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Type |= ErrorType(b&0x7F) << shift + m.Type |= (ErrorType(b) & 0x7F) << shift if b < 0x80 { break } @@ -12040,7 +11589,7 @@ func (m *ProcessError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -12050,9 +11599,6 @@ func (m *ProcessError) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12072,7 +11618,7 @@ func (m *ProcessError) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -12081,9 +11627,6 @@ func (m *ProcessError) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12103,9 +11646,6 @@ func (m *ProcessError) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12133,7 +11673,7 @@ func (m *DDLInfo) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -12161,7 +11701,7 @@ func (m *DDLInfo) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -12171,9 +11711,6 @@ func (m *DDLInfo) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12193,7 +11730,7 @@ func (m *DDLInfo) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -12203,9 +11740,6 @@ func (m *DDLInfo) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12225,7 +11759,7 @@ func (m *DDLInfo) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -12235,9 +11769,6 @@ func (m *DDLInfo) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12257,7 +11788,7 @@ func (m *DDLInfo) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -12267,9 +11798,6 @@ func (m *DDLInfo) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12284,9 +11812,6 @@ func (m *DDLInfo) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12314,7 +11839,7 @@ func (m *DDLLockInfo) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -12342,7 +11867,7 @@ func (m *DDLLockInfo) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -12352,9 +11877,6 @@ func (m *DDLLockInfo) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12374,7 +11896,7 @@ func (m *DDLLockInfo) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -12384,9 +11906,6 @@ func (m *DDLLockInfo) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12401,9 +11920,6 @@ func (m *DDLLockInfo) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12431,7 +11947,7 @@ func (m *ExecDDLRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -12459,7 +11975,7 @@ func (m *ExecDDLRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -12469,9 +11985,6 @@ func (m *ExecDDLRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12491,7 +12004,7 @@ func (m *ExecDDLRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -12501,9 +12014,6 @@ func (m *ExecDDLRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12523,7 +12033,7 @@ func (m *ExecDDLRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -12543,7 +12053,7 @@ func (m *ExecDDLRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -12553,13 +12063,39 @@ func (m *ExecDDLRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TraceGID = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DDLs", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDmworker + } + 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 ErrInvalidLengthDmworker } + postIndex := iNdEx + intStringLen if postIndex > l { return io.ErrUnexpectedEOF } - m.TraceGID = string(dAtA[iNdEx:postIndex]) + m.DDLs = append(m.DDLs, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -12570,9 +12106,6 @@ func (m *ExecDDLRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12600,7 +12133,7 @@ func (m *BreakDDLLockRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -12628,7 +12161,7 @@ func (m *BreakDDLLockRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -12638,9 +12171,6 @@ func (m *BreakDDLLockRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12660,7 +12190,7 @@ func (m *BreakDDLLockRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -12670,9 +12200,6 @@ func (m *BreakDDLLockRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12692,7 +12219,7 @@ func (m *BreakDDLLockRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -12712,7 +12239,7 @@ func (m *BreakDDLLockRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -12727,9 +12254,6 @@ func (m *BreakDDLLockRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12757,7 +12281,7 @@ func (m *SwitchRelayMasterRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -12780,9 +12304,6 @@ func (m *SwitchRelayMasterRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12810,7 +12331,7 @@ func (m *OperateRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -12838,7 +12359,7 @@ func (m *OperateRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Op |= RelayOp(b&0x7F) << shift + m.Op |= (RelayOp(b) & 0x7F) << shift if b < 0x80 { break } @@ -12852,9 +12373,6 @@ func (m *OperateRelayRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12882,7 +12400,7 @@ func (m *OperateRelayResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -12910,7 +12428,7 @@ func (m *OperateRelayResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Op |= RelayOp(b&0x7F) << shift + m.Op |= (RelayOp(b) & 0x7F) << shift if b < 0x80 { break } @@ -12929,7 +12447,7 @@ func (m *OperateRelayResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -12949,7 +12467,7 @@ func (m *OperateRelayResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -12959,9 +12477,6 @@ func (m *OperateRelayResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12981,7 +12496,7 @@ func (m *OperateRelayResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -12991,9 +12506,6 @@ func (m *OperateRelayResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13008,9 +12520,6 @@ func (m *OperateRelayResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13038,7 +12547,7 @@ func (m *PurgeRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -13066,7 +12575,7 @@ func (m *PurgeRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -13086,7 +12595,7 @@ func (m *PurgeRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Time |= int64(b&0x7F) << shift + m.Time |= (int64(b) & 0x7F) << shift if b < 0x80 { break } @@ -13105,7 +12614,7 @@ func (m *PurgeRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -13115,9 +12624,6 @@ func (m *PurgeRelayRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13137,7 +12643,7 @@ func (m *PurgeRelayRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -13147,9 +12653,6 @@ func (m *PurgeRelayRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13164,9 +12667,6 @@ func (m *PurgeRelayRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13194,7 +12694,7 @@ func (m *QueryWorkerConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -13217,9 +12717,6 @@ func (m *QueryWorkerConfigRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13247,7 +12744,7 @@ func (m *QueryWorkerConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -13275,7 +12772,7 @@ func (m *QueryWorkerConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -13295,7 +12792,7 @@ func (m *QueryWorkerConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -13305,9 +12802,6 @@ func (m *QueryWorkerConfigResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13327,7 +12821,7 @@ func (m *QueryWorkerConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -13337,9 +12831,6 @@ func (m *QueryWorkerConfigResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13359,7 +12850,7 @@ func (m *QueryWorkerConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -13369,9 +12860,6 @@ func (m *QueryWorkerConfigResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13391,7 +12879,7 @@ func (m *QueryWorkerConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -13401,9 +12889,6 @@ func (m *QueryWorkerConfigResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13418,9 +12903,6 @@ func (m *QueryWorkerConfigResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13448,7 +12930,7 @@ func (m *TaskMeta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -13476,7 +12958,7 @@ func (m *TaskMeta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Op |= TaskOp(b&0x7F) << shift + m.Op |= (TaskOp(b) & 0x7F) << shift if b < 0x80 { break } @@ -13495,7 +12977,7 @@ func (m *TaskMeta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Stage |= Stage(b&0x7F) << shift + m.Stage |= (Stage(b) & 0x7F) << shift if b < 0x80 { break } @@ -13514,7 +12996,7 @@ func (m *TaskMeta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -13524,9 +13006,6 @@ func (m *TaskMeta) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13546,7 +13025,7 @@ func (m *TaskMeta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + byteLen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -13555,9 +13034,6 @@ func (m *TaskMeta) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13575,9 +13051,6 @@ func (m *TaskMeta) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13605,7 +13078,7 @@ func (m *TaskLog) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -13633,7 +13106,7 @@ func (m *TaskLog) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Id |= int64(b&0x7F) << shift + m.Id |= (int64(b) & 0x7F) << shift if b < 0x80 { break } @@ -13652,7 +13125,7 @@ func (m *TaskLog) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -13661,9 +13134,6 @@ func (m *TaskLog) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13688,7 +13158,7 @@ func (m *TaskLog) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Ts |= int64(b&0x7F) << shift + m.Ts |= (int64(b) & 0x7F) << shift if b < 0x80 { break } @@ -13707,7 +13177,7 @@ func (m *TaskLog) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -13727,7 +13197,7 @@ func (m *TaskLog) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -13737,9 +13207,6 @@ func (m *TaskLog) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDmworker } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDmworker - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13754,9 +13221,6 @@ func (m *TaskLog) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDmworker } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthDmworker - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13823,11 +13287,8 @@ func skipDmworker(dAtA []byte) (n int, err error) { break } } - if length < 0 { - return 0, ErrInvalidLengthDmworker - } iNdEx += length - if iNdEx < 0 { + if length < 0 { return 0, ErrInvalidLengthDmworker } return iNdEx, nil @@ -13858,9 +13319,6 @@ func skipDmworker(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next - if iNdEx < 0 { - return 0, ErrInvalidLengthDmworker - } } return iNdEx, nil case 4: @@ -13879,3 +13337,158 @@ var ( ErrInvalidLengthDmworker = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDmworker = fmt.Errorf("proto: integer overflow") ) + +func init() { proto.RegisterFile("dmworker.proto", fileDescriptor_dmworker_197b0c00ed0d06a5) } + +var fileDescriptor_dmworker_197b0c00ed0d06a5 = []byte{ + // 2372 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x19, 0x4d, 0x6f, 0x23, 0x59, + 0xd1, 0xdd, 0x6e, 0x3b, 0x76, 0xd9, 0xc9, 0x74, 0x5e, 0x66, 0x67, 0x3d, 0x66, 0x27, 0x84, 0x9e, + 0xd5, 0x6e, 0x36, 0x42, 0xd1, 0x6e, 0x00, 0x21, 0x01, 0x0b, 0xec, 0xc4, 0x99, 0x4c, 0xc0, 0x99, + 0x49, 0xda, 0x13, 0xe0, 0xb6, 0xea, 0xb4, 0x5f, 0x9c, 0x56, 0xda, 0xdd, 0x3d, 0xfd, 0x91, 0x4c, + 0x4e, 0x80, 0x38, 0x22, 0x21, 0x24, 0x4e, 0x88, 0x33, 0x37, 0x7e, 0x02,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 0xbd, 0x86, 0x88, 0xd7, 0x12, 0x63, 0xfd, + 0x02, 0xee, 0xce, 0xf2, 0x2c, 0xbb, 0x07, 0xcd, 0x98, 0x27, 0x99, 0x2f, 0xee, 0x45, 0xcb, 0x96, + 0x10, 0xe2, 0xc5, 0x2d, 0x94, 0xe1, 0x28, 0x21, 0x66, 0x42, 0x7d, 0x9a, 0x4c, 0x28, 0x54, 0xda, + 0x36, 0x7e, 0x5a, 0xff, 0xd4, 0x60, 0xad, 0xe2, 0xcb, 0x77, 0x25, 0x99, 0x7d, 0x17, 0x96, 0x13, + 0xe9, 0x4a, 0x12, 0xdd, 0x33, 0x36, 0xea, 0x9b, 0x9d, 0x9d, 0x55, 0xf2, 0x95, 0x4a, 0xb0, 0xab, + 0x7c, 0xec, 0x33, 0xe8, 0xc4, 0x78, 0x99, 0xe5, 0xb2, 0x06, 0x05, 0xcc, 0x1d, 0x5c, 0x66, 0x97, + 0x68, 0x5b, 0xe5, 0x61, 0x7d, 0x68, 0x25, 0x61, 0x16, 0xbb, 0xfc, 0x60, 0xd0, 0x6b, 0x92, 0x0a, + 0x05, 0x6c, 0xfd, 0x55, 0x93, 0xd1, 0x22, 0x63, 0xe0, 0x9d, 0x19, 0xf8, 0x6d, 0xe8, 0x4a, 0xc5, + 0x49, 0xb2, 0xb4, 0xcf, 0x54, 0xec, 0x13, 0x3b, 0x56, 0xb8, 0xd8, 0x36, 0x00, 0x99, 0x21, 0xd6, + 0x08, 0xe3, 0x56, 0x0a, 0xe3, 0xc4, 0x0a, 0x85, 0xc3, 0xfa, 0xb3, 0x06, 0x9d, 0xdd, 0x73, 0xee, + 0xe6, 0xde, 0xb9, 0x07, 0xcd, 0xc8, 0x49, 0x12, 0x3e, 0xce, 0xf5, 0x16, 0x10, 0x5e, 0xe0, 0x34, + 0x4c, 0x1d, 0x9f, 0xd4, 0x6e, 0xd8, 0x02, 0xa0, 0xc0, 0xca, 0x5c, 0x97, 0x27, 0xc9, 0x59, 0xe6, + 0x93, 0xf2, 0x0d, 0x5b, 0xc1, 0xa0, 0xb4, 0x33, 0xc7, 0xf3, 0xf9, 0x98, 0x62, 0xb2, 0x61, 0x4b, + 0x08, 0x33, 0xee, 0x95, 0x13, 0x07, 0x5e, 0x30, 0x21, 0x15, 0x1b, 0x76, 0x0e, 0xe2, 0x8a, 0x31, + 0x4f, 0x1d, 0xcf, 0x27, 0x47, 0x77, 0x6d, 0x09, 0x59, 0x5d, 0x80, 0x41, 0x36, 0x8d, 0x84, 0x96, + 0xd6, 0xef, 0x34, 0x80, 0x61, 0xe8, 0x8c, 0xa5, 0xd2, 0x1f, 0xc2, 0xf2, 0x99, 0x17, 0x78, 0xc9, + 0x39, 0x1f, 0x3f, 0xba, 0x4e, 0x79, 0x42, 0xba, 0xd7, 0xed, 0x2a, 0x12, 0x95, 0x25, 0xad, 0x05, + 0x8b, 0x48, 0x44, 0x0a, 0x06, 0x4f, 0x39, 0x8a, 0xc3, 0x49, 0xcc, 0x93, 0x44, 0x9e, 0x43, 0x01, + 0xe3, 0x5a, 0xcc, 0x32, 0x22, 0x89, 0xcb, 0x0b, 0xa6, 0x60, 0xac, 0xdf, 0x6a, 0xb0, 0x3c, 0x3a, + 0x77, 0xe2, 0xb1, 0x17, 0x4c, 0xf6, 0xe3, 0x30, 0x8b, 0xd0, 0x90, 0xd4, 0x89, 0x27, 0x3c, 0xaf, + 0x29, 0x12, 0xc2, 0xdb, 0x3b, 0x18, 0x0c, 0x71, 0x7f, 0xba, 0xbd, 0xf8, 0x8d, 0x3b, 0x9f, 0x79, + 0x71, 0x92, 0xe2, 0xe5, 0x95, 0x3b, 0xe7, 0x30, 0xca, 0x49, 0xae, 0x03, 0x97, 0x5c, 0x88, 0x2b, + 0x24, 0x84, 0x6b, 0xb2, 0x40, 0x52, 0x1a, 0x44, 0x29, 0x60, 0xeb, 0x37, 0x75, 0x80, 0xd1, 0x75, + 0xe0, 0x4a, 0xf7, 0x6c, 0x40, 0x87, 0xcc, 0xdc, 0xbb,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 0x61, 0x88, 0xb0, 0x05, 0x9e, 0x7d, 0x52, 0x64, 0xc8, 0x16, 0x65, 0x29, 0xf2, 0xf5, 0x51, 0x1c, + 0x62, 0xee, 0xb0, 0x89, 0x90, 0x27, 0x4d, 0xeb, 0x3f, 0x3a, 0x2c, 0x57, 0x72, 0xfa, 0xcc, 0x92, + 0x59, 0xec, 0xa8, 0xcf, 0xd9, 0x71, 0x03, 0x8c, 0x2c, 0xf0, 0x52, 0xf2, 0xd4, 0xca, 0x4e, 0x17, + 0xe9, 0x27, 0x81, 0x97, 0x3e, 0xbf, 0x8e, 0xb8, 0x4d, 0x14, 0x45, 0x27, 0xe3, 0x0d, 0x3a, 0xb1, + 0x4f, 0x61, 0xad, 0x8c, 0x84, 0xc1, 0x60, 0x38, 0x0c, 0xdd, 0x8b, 0x83, 0x81, 0xf4, 0xde, 0x2c, + 0x12, 0x63, 0x22, 0xc5, 0x53, 0x44, 0x3f, 0xa9, 0x89, 0x24, 0xff, 0x31, 0x34, 0x5c, 0xcc, 0xbe, + 0xe4, 0x25, 0x59, 0x86, 0x94, 0x74, 0xfc, 0xa4, 0x66, 0x0b, 0x3a, 0xfb, 0x10, 0x8c, 0x71, 0x36, + 0x8d, 0xa4, 0xaf, 0x28, 0xa3, 0x97, 0xf9, 0xf0, 0x49, 0xcd, 0x26, 0x2a, 0x72, 0xf9, 0xa1, 0x33, + 0xee, 0xb5, 0x4b, 0xae, 0x32, 0x4d, 0x22, 0x17, 0x52, 0x91, 0x0b, 0x43, 0x94, 0xc2, 0x55, 0x72, + 0x95, 0xd9, 0x02, 0xb9, 0x90, 0xfa, 0xa8, 0x05, 0xcd, 0x44, 0x64, 0xdb, 0x1f, 0xc2, 0x6a, 0xc5, + 0xfb, 0x43, 0x2f, 0x21, 0x57, 0x09, 0x72, 0x4f, 0x9b, 0x57, 0x78, 0xf3, 0xf5, 0xeb, 0x00, 0x64, + 0x93, 0xa8, 0x50, 0xb2, 0xd2, 0x69, 0x65, 0x93, 0xf0, 0x00, 0xda, 0x68, 0xcb, 0x02, 0x32, 0x1a, + 0x31, 0x8f, 0x1c, 0x41, 0x97, 0xb4, 0x3f, 0x1e, 0xce, 0xe1, 0x60, 0x3b, 0x70, 0x57, 0xd4, 0x9d, + 0xa2, 0x07, 0xf7, 0xb0, 0xd1, 0x94, 0x17, 0x6b, 0x26, 0x0d, 0x33, 0x22, 0x47, 0x71, 0xa3, 0xe3, + 0x61, 0x9e, 0x92, 0x73, 0xd8, 0xfa, 0x0e, 0xb4, 0x71, 0x47, 0xb1, 0xdd, 0x26, 0x34, 0x89, 0x90, + 0xfb, 0xc1, 0x2c, 0xdc, 0x29, 0x15, 0xb2, 0x25, 0x1d, 0xdd, 0x50, 0x16, 0xde, 0x19, 0x86, 0xfc, + 0x51, 0x87, 0xae, 0x5a, 0xd9, 0xff, 0x5f, 0x41, 0x2e, 0xe3, 0xd0, 0x50, 0xe3, 0xf0, 0xa3, 0x3c, + 0x0e, 0x95, 0x8e, 0xa1, 0x3c, 0xb3, 0x32, 0x0c, 0x1f, 0xca, 0x30, 0x6c, 0x12, 0xdb, 0x72, 0x1e, + 0x86, 0x39, 0x97, 0x88, 0xc2, 0x87, 0x32, 0x0a, 0x97, 0x4a, 0xa6, 0xe2, 0x00, 0x8b, 0x20, 0x7c, + 0x28, 0x83, 0xb0, 0x55, 0x32, 0x15, 0x4e, 0x2d, 0x62, 0x70, 0x09, 0x1a, 0xe4, 0x3c, 0xeb, 0x7b, + 0x60, 0xaa, 0xae, 0xa1, 0x08, 0xfc, 0x48, 0x12, 0x2b, 0x8e, 0x57, 0x3b, 0x23, 0xb9, 0xf6, 0x05, + 0x2c, 0x57, 0xae, 0x30, 0x16, 0x73, 0x2f, 0xd9, 0x75, 0x02, 0x97, 0xfb, 0x45, 0x9f, 0xa3, 0x60, + 0x94, 0x23, 0xd5, 0x4b, 0xc9, 0x52, 0x44, 0xe5, 0x48, 0x95, 0x6e, 0xa5, 0x5e, 0xe9, 0x56, 0xfe, + 0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xac, 0x97, 0x22, 0x50, 0x6e, 0xd5, 0xcf, 0x85, 0x5a, 0xec, 0xc3, 0xaa, 0xf2, 0x87, 0x8a, 0x28, + 0x6d, 0x22, 0x62, 0x6f, 0xff, 0xcf, 0xb2, 0x50, 0x90, 0x2d, 0x27, 0xe9, 0x6a, 0x8d, 0x14, 0xde, + 0x99, 0x57, 0x57, 0xfb, 0x0f, 0xe6, 0x50, 0x55, 0x17, 0xa9, 0xff, 0xde, 0x08, 0x17, 0xcd, 0xf8, + 0x3f, 0x67, 0x91, 0x62, 0x8f, 0x7a, 0x7f, 0x7f, 0xb5, 0xae, 0x7d, 0xf5, 0x6a, 0x5d, 0xfb, 0xd7, + 0xab, 0x75, 0xed, 0xf7, 0xaf, 0xd7, 0x6b, 0x5f, 0xbd, 0x5e, 0xaf, 0xfd, 0xe3, 0xf5, 0x7a, 0xed, + 0xb4, 0x49, 0x7f, 0x41, 0x7d, 0xeb, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xde, 0x4f, 0x95, 0x7e, + 0x94, 0x1a, 0x00, 0x00, +} diff --git a/dm/pb/tracer.pb.go b/dm/pb/tracer.pb.go index 59809e9c1e..4646582de1 100644 --- a/dm/pb/tracer.pb.go +++ b/dm/pb/tracer.pb.go @@ -4,13 +4,17 @@ package pb import ( - context "context" - fmt "fmt" - io "io" - math "math" + "fmt" proto "github.com/gogo/protobuf/proto" + + math "math" + + context "golang.org/x/net/context" + grpc "google.golang.org/grpc" + + io "io" ) // Reference imports to suppress errors if they are not otherwise used. @@ -32,7 +36,7 @@ func (m *GetTSORequest) Reset() { *m = GetTSORequest{} } func (m *GetTSORequest) String() string { return proto.CompactTextString(m) } func (*GetTSORequest) ProtoMessage() {} func (*GetTSORequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6d422d7c66fbbd8f, []int{0} + return fileDescriptor_tracer_1adb952205408096, []int{0} } func (m *GetTSORequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -49,8 +53,8 @@ func (m *GetTSORequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error return b[:n], nil } } -func (m *GetTSORequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTSORequest.Merge(m, src) +func (dst *GetTSORequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTSORequest.Merge(dst, src) } func (m *GetTSORequest) XXX_Size() int { return m.Size() @@ -78,7 +82,7 @@ func (m *GetTSOResponse) Reset() { *m = GetTSOResponse{} } func (m *GetTSOResponse) String() string { return proto.CompactTextString(m) } func (*GetTSOResponse) ProtoMessage() {} func (*GetTSOResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6d422d7c66fbbd8f, []int{1} + return fileDescriptor_tracer_1adb952205408096, []int{1} } func (m *GetTSOResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -95,8 +99,8 @@ func (m *GetTSOResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, erro return b[:n], nil } } -func (m *GetTSOResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTSOResponse.Merge(m, src) +func (dst *GetTSOResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTSOResponse.Merge(dst, src) } func (m *GetTSOResponse) XXX_Size() int { return m.Size() @@ -137,7 +141,7 @@ func (m *CommonUploadResponse) Reset() { *m = CommonUploadResponse{} } func (m *CommonUploadResponse) String() string { return proto.CompactTextString(m) } func (*CommonUploadResponse) ProtoMessage() {} func (*CommonUploadResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6d422d7c66fbbd8f, []int{2} + return fileDescriptor_tracer_1adb952205408096, []int{2} } func (m *CommonUploadResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -154,8 +158,8 @@ func (m *CommonUploadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *CommonUploadResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommonUploadResponse.Merge(m, src) +func (dst *CommonUploadResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommonUploadResponse.Merge(dst, src) } func (m *CommonUploadResponse) XXX_Size() int { return m.Size() @@ -181,14 +185,14 @@ func (m *CommonUploadResponse) GetMsg() string { } type UploadSyncerBinlogEventRequest struct { - Events []*SyncerBinlogEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` + Events []*SyncerBinlogEvent `protobuf:"bytes,1,rep,name=events" json:"events,omitempty"` } func (m *UploadSyncerBinlogEventRequest) Reset() { *m = UploadSyncerBinlogEventRequest{} } func (m *UploadSyncerBinlogEventRequest) String() string { return proto.CompactTextString(m) } func (*UploadSyncerBinlogEventRequest) ProtoMessage() {} func (*UploadSyncerBinlogEventRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6d422d7c66fbbd8f, []int{3} + return fileDescriptor_tracer_1adb952205408096, []int{3} } func (m *UploadSyncerBinlogEventRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -205,8 +209,8 @@ func (m *UploadSyncerBinlogEventRequest) XXX_Marshal(b []byte, deterministic boo return b[:n], nil } } -func (m *UploadSyncerBinlogEventRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UploadSyncerBinlogEventRequest.Merge(m, src) +func (dst *UploadSyncerBinlogEventRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UploadSyncerBinlogEventRequest.Merge(dst, src) } func (m *UploadSyncerBinlogEventRequest) XXX_Size() int { return m.Size() @@ -225,14 +229,14 @@ func (m *UploadSyncerBinlogEventRequest) GetEvents() []*SyncerBinlogEvent { } type UploadSyncerJobEventRequest struct { - Events []*SyncerJobEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` + Events []*SyncerJobEvent `protobuf:"bytes,1,rep,name=events" json:"events,omitempty"` } func (m *UploadSyncerJobEventRequest) Reset() { *m = UploadSyncerJobEventRequest{} } func (m *UploadSyncerJobEventRequest) String() string { return proto.CompactTextString(m) } func (*UploadSyncerJobEventRequest) ProtoMessage() {} func (*UploadSyncerJobEventRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6d422d7c66fbbd8f, []int{4} + return fileDescriptor_tracer_1adb952205408096, []int{4} } func (m *UploadSyncerJobEventRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -249,8 +253,8 @@ func (m *UploadSyncerJobEventRequest) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } -func (m *UploadSyncerJobEventRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UploadSyncerJobEventRequest.Merge(m, src) +func (dst *UploadSyncerJobEventRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UploadSyncerJobEventRequest.Merge(dst, src) } func (m *UploadSyncerJobEventRequest) XXX_Size() int { return m.Size() @@ -276,33 +280,6 @@ func init() { proto.RegisterType((*UploadSyncerJobEventRequest)(nil), "pb.UploadSyncerJobEventRequest") } -func init() { proto.RegisterFile("tracer.proto", fileDescriptor_6d422d7c66fbbd8f) } - -var fileDescriptor_6d422d7c66fbbd8f = []byte{ - // 325 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0x41, 0x4b, 0xc3, 0x30, - 0x18, 0x86, 0x9b, 0x16, 0x8a, 0x7e, 0xea, 0xd0, 0xcf, 0xa9, 0x61, 0x42, 0x36, 0x72, 0x1a, 0x82, - 0x03, 0xe7, 0x1f, 0x90, 0x89, 0x88, 0xbb, 0x0c, 0xba, 0x79, 0xf0, 0x24, 0xab, 0x0b, 0x63, 0xb0, - 0x35, 0xb5, 0xc9, 0x04, 0xff, 0x85, 0x3f, 0xcb, 0xe3, 0x8e, 0x1e, 0xa5, 0x3d, 0xfa, 0x27, 0x24, - 0x6d, 0x37, 0xb7, 0x3a, 0x07, 0xde, 0xf2, 0x7d, 0x79, 0xdf, 0x87, 0xbc, 0x2f, 0x81, 0x5d, 0x1d, - 0xf5, 0x9f, 0x44, 0xd4, 0x08, 0x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 0xae, 0x50, 0xa3, 0x59, 0x57, - 0x2e, 0xb7, 0xb0, 0x0b, 0xe5, 0x75, 0x19, 0xb1, 0x5a, 0xe4, 0x16, 0xd2, 0x6f, 0x82, 0xb6, 0xe8, - 0x7b, 0xcc, 0xc8, 0x2c, 0x66, 0xe4, 0x33, 0x66, 0xe4, 0x2d, 0x61, 0xd6, 0x2c, 0x61, 0xd6, 0x47, - 0xc2, 0x2c, 0xdf, 0x4d, 0x7f, 0xd6, 0xe5, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x89, 0x04, 0x0e, - 0x15, 0x82, 0x02, 0x00, 0x00, -} - // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn @@ -713,7 +690,7 @@ func (m *GetTSORequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -741,7 +718,7 @@ func (m *GetTSORequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -751,9 +728,6 @@ func (m *GetTSORequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTracer } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTracer - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -768,9 +742,6 @@ func (m *GetTSORequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTracer } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthTracer - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -798,7 +769,7 @@ func (m *GetTSOResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -826,7 +797,7 @@ func (m *GetTSOResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -846,7 +817,7 @@ func (m *GetTSOResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -856,9 +827,6 @@ func (m *GetTSOResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTracer } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTracer - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -878,7 +846,7 @@ func (m *GetTSOResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Ts |= int64(b&0x7F) << shift + m.Ts |= (int64(b) & 0x7F) << shift if b < 0x80 { break } @@ -892,9 +860,6 @@ func (m *GetTSOResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTracer } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthTracer - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -922,7 +887,7 @@ func (m *CommonUploadResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -950,7 +915,7 @@ func (m *CommonUploadResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -970,7 +935,7 @@ func (m *CommonUploadResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -980,9 +945,6 @@ func (m *CommonUploadResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTracer } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTracer - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -997,9 +959,6 @@ func (m *CommonUploadResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTracer } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthTracer - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -1027,7 +986,7 @@ func (m *UploadSyncerBinlogEventRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -1055,7 +1014,7 @@ func (m *UploadSyncerBinlogEventRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -1064,9 +1023,6 @@ func (m *UploadSyncerBinlogEventRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTracer } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTracer - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1084,9 +1040,6 @@ func (m *UploadSyncerBinlogEventRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTracer } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthTracer - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -1114,7 +1067,7 @@ func (m *UploadSyncerJobEventRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -1142,7 +1095,7 @@ func (m *UploadSyncerJobEventRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -1151,9 +1104,6 @@ func (m *UploadSyncerJobEventRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTracer } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTracer - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1171,9 +1121,6 @@ func (m *UploadSyncerJobEventRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTracer } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthTracer - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -1240,11 +1187,8 @@ func skipTracer(dAtA []byte) (n int, err error) { break } } - if length < 0 { - return 0, ErrInvalidLengthTracer - } iNdEx += length - if iNdEx < 0 { + if length < 0 { return 0, ErrInvalidLengthTracer } return iNdEx, nil @@ -1275,9 +1219,6 @@ func skipTracer(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next - if iNdEx < 0 { - return 0, ErrInvalidLengthTracer - } } return iNdEx, nil case 4: @@ -1296,3 +1237,30 @@ var ( ErrInvalidLengthTracer = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTracer = fmt.Errorf("proto: integer overflow") ) + +func init() { proto.RegisterFile("tracer.proto", fileDescriptor_tracer_1adb952205408096) } + +var fileDescriptor_tracer_1adb952205408096 = []byte{ + // 325 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0x41, 0x4b, 0xc3, 0x30, + 0x18, 0x86, 0x9b, 0x16, 0x8a, 0x7e, 0xea, 0xd0, 0xcf, 0xa9, 0x61, 0x42, 0x36, 0x72, 0x1a, 0x82, + 0x03, 0xe7, 0x1f, 0x90, 0x89, 0x88, 0xbb, 0x0c, 0xba, 0x79, 0xf0, 0x24, 0xab, 0x0b, 0x63, 0xb0, + 0x35, 0xb5, 0xc9, 0x04, 0xff, 0x85, 0x3f, 0xcb, 0xe3, 0x8e, 0x1e, 0xa5, 0x3d, 0xfa, 0x27, 0x24, + 0x6d, 0x37, 0xb7, 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xac, 0x34, 0x5c, 0xc1, 0xe5, 0x55, 0xd6, 0x00, + 0xb7, 0xf0, 0x01, 0x4e, 0xfe, 0x48, 0x86, 0xdc, 0x18, 0x36, 0xc7, 0xae, 0x50, 0xa3, 0x59, 0x57, + 0x2e, 0xb7, 0xb0, 0x0b, 0xe5, 0x75, 0x19, 0xb1, 0x5a, 0xe4, 0x16, 0xd2, 0x6f, 0x82, 0xb6, 0xe8, + 0x7b, 0xcc, 0xc8, 0x2c, 0x66, 0xe4, 0x33, 0x66, 0xe4, 0x2d, 0x61, 0xd6, 0x2c, 0x61, 0xd6, 0x47, + 0xc2, 0x2c, 0xdf, 0x4d, 0x7f, 0xd6, 0xe5, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x89, 0x04, 0x0e, + 0x15, 0x82, 0x02, 0x00, 0x00, +} diff --git a/dm/pb/tracer_base.pb.go b/dm/pb/tracer_base.pb.go index 1056771434..77e5367bc3 100644 --- a/dm/pb/tracer_base.pb.go +++ b/dm/pb/tracer_base.pb.go @@ -4,11 +4,13 @@ package pb import ( - fmt "fmt" - io "io" - math "math" + "fmt" proto "github.com/gogo/protobuf/proto" + + math "math" + + io "io" ) // Reference imports to suppress errors if they are not otherwise used. @@ -35,7 +37,6 @@ var TraceType_name = map[int32]string{ 1: "BinlogEvent", 2: "JobEvent", } - var TraceType_value = map[string]int32{ "DummyEvent": 0, "BinlogEvent": 1, @@ -45,9 +46,8 @@ var TraceType_value = map[string]int32{ func (x TraceType) String() string { return proto.EnumName(TraceType_name, int32(x)) } - func (TraceType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_be09eaf025e7bb5c, []int{0} + return fileDescriptor_tracer_base_eb78fe39c9a10136, []int{0} } type BaseEvent struct { @@ -63,7 +63,7 @@ func (m *BaseEvent) Reset() { *m = BaseEvent{} } func (m *BaseEvent) String() string { return proto.CompactTextString(m) } func (*BaseEvent) ProtoMessage() {} func (*BaseEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_be09eaf025e7bb5c, []int{0} + return fileDescriptor_tracer_base_eb78fe39c9a10136, []int{0} } func (m *BaseEvent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -80,8 +80,8 @@ func (m *BaseEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *BaseEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_BaseEvent.Merge(m, src) +func (dst *BaseEvent) XXX_Merge(src proto.Message) { + xxx_messageInfo_BaseEvent.Merge(dst, src) } func (m *BaseEvent) XXX_Size() int { return m.Size() @@ -135,32 +135,9 @@ func (m *BaseEvent) GetType() TraceType { } func init() { - proto.RegisterEnum("pb.TraceType", TraceType_name, TraceType_value) proto.RegisterType((*BaseEvent)(nil), "pb.BaseEvent") + proto.RegisterEnum("pb.TraceType", TraceType_name, TraceType_value) } - -func init() { proto.RegisterFile("tracer_base.proto", fileDescriptor_be09eaf025e7bb5c) } - -var fileDescriptor_be09eaf025e7bb5c = []byte{ - // 246 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x3c, 0x90, 0xb1, 0x4e, 0x84, 0x40, - 0x10, 0x86, 0x19, 0xe0, 0xce, 0x63, 0xd4, 0xf3, 0x9c, 0x6a, 0x63, 0xb1, 0x41, 0x2b, 0x62, 0x41, - 0xa1, 0x9d, 0x25, 0xc1, 0xe2, 0x2c, 0xc9, 0xf5, 0x86, 0x35, 0xeb, 0x85, 0x04, 0xd8, 0x0d, 0xec, - 0x99, 0xf0, 0x16, 0x3e, 0x84, 0x0f, 0x63, 0x79, 0xa5, 0xa5, 0x81, 0x17, 0x31, 0x2c, 0x1e, 0xdd, - 0xff, 0xfd, 0x5f, 0x76, 0x67, 0x32, 0x78, 0x6d, 0x9a, 0xfc, 0x4d, 0x36, 0xaf, 0x22, 0x6f, 0x65, - 0xac, 0x1b, 0x65, 0x14, 0xb9, 0x5a, 0xdc, 0x7d, 0x01, 0x06, 0x49, 0xde, 0xca, 0xe7, 0x0f, 0x59, - 0x1b, 0xba, 0xc1, 0xd5, 0x7b, 0x51, 0xca, 0x3a, 0xaf, 0x24, 0x83, 0x10, 0xa2, 0x20, 0x9b, 0x99, - 0x08, 0xfd, 0xb2, 0xa8, 0x25, 0x73, 0x43, 0x88, 0x16, 0x99, 0xcd, 0xb4, 0x41, 0xcf, 0xb4, 0x8a, - 0x79, 0x21, 0x44, 0x5e, 0x36, 0x46, 0x62, 0x78, 0x66, 0x07, 0x6d, 0x53, 0xe6, 0xdb, 0x0f, 0x4e, - 0x38, 0x9a, 0x7d, 0xa3, 0x0e, 0x7a, 0x9b, 0xb2, 0xc5, 0x64, 0xfe, 0x91, 0x6e, 0xd1, 0x37, 0x9d, - 0x96, 0x6c, 0x19, 0x42, 0xb4, 0x7e, 0xb8, 0x8c, 0xb5, 0x88, 0x77, 0xe3, 0xa3, 0x5d, 0xa7, 0x65, - 0x66, 0xd5, 0xfd, 0x13, 0x06, 0x73, 0x45, 0x6b, 0xc4, 0xf4, 0x50, 0x55, 0x9d, 0xdd, 0x79, 0xe3, - 0xd0, 0x15, 0x9e, 0x27, 0x45, 0x5d, 0xaa, 0xfd, 0x54, 0x00, 0x5d, 0xe0, 0xea, 0x45, 0x89, 0x89, - 0xdc, 0x84, 0x7d, 0xf7, 0x1c, 0x8e, 0x3d, 0x87, 0xdf, 0x9e, 0xc3, 0xe7, 0xc0, 0x9d, 0xe3, 0xc0, - 0x9d, 0x9f, 0x81, 0x3b, 0x62, 0x69, 0xef, 0xf0, 0xf8, 0x17, 0x00, 0x00, 0xff, 0xff, 0x25, 0x73, - 0x7a, 0x49, 0x1c, 0x01, 0x00, 0x00, -} - func (m *BaseEvent) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -279,7 +256,7 @@ func (m *BaseEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -307,7 +284,7 @@ func (m *BaseEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -317,9 +294,6 @@ func (m *BaseEvent) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTracerBase } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTracerBase - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -339,7 +313,7 @@ func (m *BaseEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Line |= int32(b&0x7F) << shift + m.Line |= (int32(b) & 0x7F) << shift if b < 0x80 { break } @@ -358,7 +332,7 @@ func (m *BaseEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Tso |= int64(b&0x7F) << shift + m.Tso |= (int64(b) & 0x7F) << shift if b < 0x80 { break } @@ -377,7 +351,7 @@ func (m *BaseEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -387,9 +361,6 @@ func (m *BaseEvent) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTracerBase } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTracerBase - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -409,7 +380,7 @@ func (m *BaseEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -419,9 +390,6 @@ func (m *BaseEvent) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTracerBase } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTracerBase - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -441,7 +409,7 @@ func (m *BaseEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Type |= TraceType(b&0x7F) << shift + m.Type |= (TraceType(b) & 0x7F) << shift if b < 0x80 { break } @@ -455,9 +423,6 @@ func (m *BaseEvent) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTracerBase } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthTracerBase - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -524,11 +489,8 @@ func skipTracerBase(dAtA []byte) (n int, err error) { break } } - if length < 0 { - return 0, ErrInvalidLengthTracerBase - } iNdEx += length - if iNdEx < 0 { + if length < 0 { return 0, ErrInvalidLengthTracerBase } return iNdEx, nil @@ -559,9 +521,6 @@ func skipTracerBase(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next - if iNdEx < 0 { - return 0, ErrInvalidLengthTracerBase - } } return iNdEx, nil case 4: @@ -580,3 +539,25 @@ var ( ErrInvalidLengthTracerBase = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTracerBase = fmt.Errorf("proto: integer overflow") ) + +func init() { proto.RegisterFile("tracer_base.proto", fileDescriptor_tracer_base_eb78fe39c9a10136) } + +var fileDescriptor_tracer_base_eb78fe39c9a10136 = []byte{ + // 246 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x3c, 0x90, 0xb1, 0x4e, 0x84, 0x40, + 0x10, 0x86, 0x19, 0xe0, 0xce, 0x63, 0xd4, 0xf3, 0x9c, 0x6a, 0x63, 0xb1, 0x41, 0x2b, 0x62, 0x41, + 0xa1, 0x9d, 0x25, 0xc1, 0xe2, 0x2c, 0xc9, 0xf5, 0x86, 0x35, 0xeb, 0x85, 0x04, 0xd8, 0x0d, 0xec, + 0x99, 0xf0, 0x16, 0x3e, 0x84, 0x0f, 0x63, 0x79, 0xa5, 0xa5, 0x81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, 0x1c, 0x01, 0x00, 0x00, +} diff --git a/dm/pb/tracer_syncer.pb.go b/dm/pb/tracer_syncer.pb.go index 0e4a44c088..864be1a33a 100644 --- a/dm/pb/tracer_syncer.pb.go +++ b/dm/pb/tracer_syncer.pb.go @@ -4,11 +4,13 @@ package pb import ( - fmt "fmt" - io "io" - math "math" + "fmt" proto "github.com/gogo/protobuf/proto" + + math "math" + + io "io" ) // Reference imports to suppress errors if they are not otherwise used. @@ -37,7 +39,6 @@ var SyncerJobState_name = map[int32]string{ 2: "success", 3: "error", } - var SyncerJobState_value = map[string]int32{ "init": 0, "queued": 1, @@ -48,9 +49,8 @@ var SyncerJobState_value = map[string]int32{ func (x SyncerJobState) String() string { return proto.EnumName(SyncerJobState_name, int32(x)) } - func (SyncerJobState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_aa4988ddb6d489fb, []int{0} + return fileDescriptor_tracer_syncer_1170dba324220d8f, []int{0} } type MySQLPosition struct { @@ -62,7 +62,7 @@ func (m *MySQLPosition) Reset() { *m = MySQLPosition{} } func (m *MySQLPosition) String() string { return proto.CompactTextString(m) } func (*MySQLPosition) ProtoMessage() {} func (*MySQLPosition) Descriptor() ([]byte, []int) { - return fileDescriptor_aa4988ddb6d489fb, []int{0} + return fileDescriptor_tracer_syncer_1170dba324220d8f, []int{0} } func (m *MySQLPosition) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -79,8 +79,8 @@ func (m *MySQLPosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error return b[:n], nil } } -func (m *MySQLPosition) XXX_Merge(src proto.Message) { - xxx_messageInfo_MySQLPosition.Merge(m, src) +func (dst *MySQLPosition) XXX_Merge(src proto.Message) { + xxx_messageInfo_MySQLPosition.Merge(dst, src) } func (m *MySQLPosition) XXX_Size() int { return m.Size() @@ -108,15 +108,15 @@ func (m *MySQLPosition) GetPos() uint32 { type SyncerState struct { SafeMode bool `protobuf:"varint,1,opt,name=safeMode,proto3" json:"safeMode,omitempty"` TryReSync bool `protobuf:"varint,2,opt,name=tryReSync,proto3" json:"tryReSync,omitempty"` - LastPos *MySQLPosition `protobuf:"bytes,3,opt,name=lastPos,proto3" json:"lastPos,omitempty"` - CurrentPos *MySQLPosition `protobuf:"bytes,4,opt,name=currentPos,proto3" json:"currentPos,omitempty"` + LastPos *MySQLPosition `protobuf:"bytes,3,opt,name=lastPos" json:"lastPos,omitempty"` + CurrentPos *MySQLPosition `protobuf:"bytes,4,opt,name=currentPos" json:"currentPos,omitempty"` } func (m *SyncerState) Reset() { *m = SyncerState{} } func (m *SyncerState) String() string { return proto.CompactTextString(m) } func (*SyncerState) ProtoMessage() {} func (*SyncerState) Descriptor() ([]byte, []int) { - return fileDescriptor_aa4988ddb6d489fb, []int{1} + return fileDescriptor_tracer_syncer_1170dba324220d8f, []int{1} } func (m *SyncerState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -133,8 +133,8 @@ func (m *SyncerState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *SyncerState) XXX_Merge(src proto.Message) { - xxx_messageInfo_SyncerState.Merge(m, src) +func (dst *SyncerState) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncerState.Merge(dst, src) } func (m *SyncerState) XXX_Size() int { return m.Size() @@ -182,7 +182,7 @@ func (m *ExecDDLInfo) Reset() { *m = ExecDDLInfo{} } func (m *ExecDDLInfo) String() string { return proto.CompactTextString(m) } func (*ExecDDLInfo) ProtoMessage() {} func (*ExecDDLInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_aa4988ddb6d489fb, []int{2} + return fileDescriptor_tracer_syncer_1170dba324220d8f, []int{2} } func (m *ExecDDLInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -199,8 +199,8 @@ func (m *ExecDDLInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *ExecDDLInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExecDDLInfo.Merge(m, src) +func (dst *ExecDDLInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExecDDLInfo.Merge(dst, src) } func (m *ExecDDLInfo) XXX_Size() int { return m.Size() @@ -226,8 +226,8 @@ func (m *ExecDDLInfo) GetExec() bool { } type SyncerBinlogEvent struct { - Base *BaseEvent `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` - State *SyncerState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` + Base *BaseEvent `protobuf:"bytes,1,opt,name=base" json:"base,omitempty"` + State *SyncerState `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"` EventType int32 `protobuf:"varint,3,opt,name=eventType,proto3" json:"eventType,omitempty"` OpType int32 `protobuf:"varint,4,opt,name=opType,proto3" json:"opType,omitempty"` } @@ -236,7 +236,7 @@ func (m *SyncerBinlogEvent) Reset() { *m = SyncerBinlogEvent{} } func (m *SyncerBinlogEvent) String() string { return proto.CompactTextString(m) } func (*SyncerBinlogEvent) ProtoMessage() {} func (*SyncerBinlogEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_aa4988ddb6d489fb, []int{3} + return fileDescriptor_tracer_syncer_1170dba324220d8f, []int{3} } func (m *SyncerBinlogEvent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -253,8 +253,8 @@ func (m *SyncerBinlogEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *SyncerBinlogEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_SyncerBinlogEvent.Merge(m, src) +func (dst *SyncerBinlogEvent) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncerBinlogEvent.Merge(dst, src) } func (m *SyncerBinlogEvent) XXX_Size() int { return m.Size() @@ -294,14 +294,14 @@ func (m *SyncerBinlogEvent) GetOpType() int32 { } type SyncerJobEvent struct { - Base *BaseEvent `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` + Base *BaseEvent `protobuf:"bytes,1,opt,name=base" json:"base,omitempty"` OpType int32 `protobuf:"varint,2,opt,name=opType,proto3" json:"opType,omitempty"` - Pos *MySQLPosition `protobuf:"bytes,3,opt,name=pos,proto3" json:"pos,omitempty"` - CurrentPos *MySQLPosition `protobuf:"bytes,4,opt,name=currentPos,proto3" json:"currentPos,omitempty"` + Pos *MySQLPosition `protobuf:"bytes,3,opt,name=pos" json:"pos,omitempty"` + CurrentPos *MySQLPosition `protobuf:"bytes,4,opt,name=currentPos" json:"currentPos,omitempty"` Sql string `protobuf:"bytes,5,opt,name=sql,proto3" json:"sql,omitempty"` - Ddls []string `protobuf:"bytes,6,rep,name=ddls,proto3" json:"ddls,omitempty"` + Ddls []string `protobuf:"bytes,6,rep,name=ddls" json:"ddls,omitempty"` ArgsChecksum uint32 `protobuf:"varint,7,opt,name=argsChecksum,proto3" json:"argsChecksum,omitempty"` - DdlInfo *ExecDDLInfo `protobuf:"bytes,8,opt,name=ddlInfo,proto3" json:"ddlInfo,omitempty"` + DdlInfo *ExecDDLInfo `protobuf:"bytes,8,opt,name=ddlInfo" json:"ddlInfo,omitempty"` QueueBucket string `protobuf:"bytes,9,opt,name=queueBucket,proto3" json:"queueBucket,omitempty"` State SyncerJobState `protobuf:"varint,10,opt,name=state,proto3,enum=pb.SyncerJobState" json:"state,omitempty"` } @@ -310,7 +310,7 @@ func (m *SyncerJobEvent) Reset() { *m = SyncerJobEvent{} } func (m *SyncerJobEvent) String() string { return proto.CompactTextString(m) } func (*SyncerJobEvent) ProtoMessage() {} func (*SyncerJobEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_aa4988ddb6d489fb, []int{4} + return fileDescriptor_tracer_syncer_1170dba324220d8f, []int{4} } func (m *SyncerJobEvent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -327,8 +327,8 @@ func (m *SyncerJobEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, erro return b[:n], nil } } -func (m *SyncerJobEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_SyncerJobEvent.Merge(m, src) +func (dst *SyncerJobEvent) XXX_Merge(src proto.Message) { + xxx_messageInfo_SyncerJobEvent.Merge(dst, src) } func (m *SyncerJobEvent) XXX_Size() int { return m.Size() @@ -410,52 +410,13 @@ func (m *SyncerJobEvent) GetState() SyncerJobState { } func init() { - proto.RegisterEnum("pb.SyncerJobState", SyncerJobState_name, SyncerJobState_value) proto.RegisterType((*MySQLPosition)(nil), "pb.MySQLPosition") proto.RegisterType((*SyncerState)(nil), "pb.SyncerState") proto.RegisterType((*ExecDDLInfo)(nil), "pb.ExecDDLInfo") proto.RegisterType((*SyncerBinlogEvent)(nil), "pb.SyncerBinlogEvent") proto.RegisterType((*SyncerJobEvent)(nil), "pb.SyncerJobEvent") + proto.RegisterEnum("pb.SyncerJobState", SyncerJobState_name, SyncerJobState_value) } - -func init() { proto.RegisterFile("tracer_syncer.proto", fileDescriptor_aa4988ddb6d489fb) } - -var fileDescriptor_aa4988ddb6d489fb = []byte{ - // 510 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0xcf, 0x6e, 0xd3, 0x4e, - 0x10, 0xce, 0xe6, 0x7f, 0xc6, 0xbf, 0xf4, 0x97, 0x0c, 0x12, 0xb2, 0x2a, 0x64, 0x19, 0x23, 0xa4, - 0x00, 0x52, 0x24, 0x82, 0x38, 0x70, 0xe1, 0x10, 0xd2, 0x43, 0xab, 0x56, 0x2a, 0x1b, 0xee, 0xc8, - 0x7f, 0xa6, 0x25, 0x8a, 0xeb, 0x75, 0x77, 0xd7, 0xa8, 0x79, 0x0b, 0x24, 0x1e, 0x82, 0x57, 0xe1, - 0xd8, 0x23, 0x47, 0x94, 0xf0, 0x20, 0x68, 0xd7, 0x09, 0x71, 0x0f, 0x95, 0x10, 0xb7, 0xd9, 0xf9, - 0x66, 0x3e, 0xcf, 0x7c, 0xdf, 0x18, 0x1e, 0x68, 0x19, 0xc6, 0x24, 0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 0x8e, 0x2a, 0xe2, 0x98, 0x94, 0x1a, 0xd4, 0xb1, 0x07, 0x2d, - 0x92, 0x52, 0xc8, 0x41, 0x63, 0xea, 0x7e, 0x5f, 0x7b, 0xec, 0x76, 0xed, 0xb1, 0x9f, 0x6b, 0x8f, - 0x7d, 0xd9, 0x78, 0xb5, 0xdb, 0x8d, 0x57, 0xfb, 0xb1, 0xf1, 0x6a, 0x51, 0xdb, 0xfe, 0x79, 0xaf, - 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0xae, 0x90, 0xfe, 0xb8, 0xa7, 0x03, 0x00, 0x00, -} - func (m *MySQLPosition) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -888,7 +849,7 @@ func (m *MySQLPosition) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -916,7 +877,7 @@ func (m *MySQLPosition) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -926,9 +887,6 @@ func (m *MySQLPosition) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTracerSyncer } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTracerSyncer - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -948,7 +906,7 @@ func (m *MySQLPosition) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Pos |= uint32(b&0x7F) << shift + m.Pos |= (uint32(b) & 0x7F) << shift if b < 0x80 { break } @@ -962,9 +920,6 @@ func (m *MySQLPosition) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTracerSyncer } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthTracerSyncer - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -992,7 +947,7 @@ func (m *SyncerState) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -1020,7 +975,7 @@ func (m *SyncerState) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -1040,7 +995,7 @@ func (m *SyncerState) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -1060,7 +1015,7 @@ func (m *SyncerState) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -1069,9 +1024,6 @@ func (m *SyncerState) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTracerSyncer } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTracerSyncer - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1096,7 +1048,7 @@ func (m *SyncerState) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -1105,9 +1057,6 @@ func (m *SyncerState) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTracerSyncer } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTracerSyncer - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1127,9 +1076,6 @@ func (m *SyncerState) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTracerSyncer } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthTracerSyncer - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -1157,7 +1103,7 @@ func (m *ExecDDLInfo) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -1185,7 +1131,7 @@ func (m *ExecDDLInfo) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -1195,9 +1141,6 @@ func (m *ExecDDLInfo) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTracerSyncer } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTracerSyncer - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1217,7 +1160,7 @@ func (m *ExecDDLInfo) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + v |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -1232,9 +1175,6 @@ func (m *ExecDDLInfo) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTracerSyncer } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthTracerSyncer - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -1262,7 +1202,7 @@ func (m *SyncerBinlogEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -1290,7 +1230,7 @@ func (m *SyncerBinlogEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -1299,9 +1239,6 @@ func (m *SyncerBinlogEvent) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTracerSyncer } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTracerSyncer - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1326,7 +1263,7 @@ func (m *SyncerBinlogEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -1335,9 +1272,6 @@ func (m *SyncerBinlogEvent) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTracerSyncer } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTracerSyncer - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1362,7 +1296,7 @@ func (m *SyncerBinlogEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.EventType |= int32(b&0x7F) << shift + m.EventType |= (int32(b) & 0x7F) << shift if b < 0x80 { break } @@ -1381,7 +1315,7 @@ func (m *SyncerBinlogEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.OpType |= int32(b&0x7F) << shift + m.OpType |= (int32(b) & 0x7F) << shift if b < 0x80 { break } @@ -1395,9 +1329,6 @@ func (m *SyncerBinlogEvent) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTracerSyncer } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthTracerSyncer - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -1425,7 +1356,7 @@ func (m *SyncerJobEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= uint64(b&0x7F) << shift + wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -1453,7 +1384,7 @@ func (m *SyncerJobEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -1462,9 +1393,6 @@ func (m *SyncerJobEvent) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTracerSyncer } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTracerSyncer - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1489,7 +1417,7 @@ func (m *SyncerJobEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.OpType |= int32(b&0x7F) << shift + m.OpType |= (int32(b) & 0x7F) << shift if b < 0x80 { break } @@ -1508,7 +1436,7 @@ func (m *SyncerJobEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -1517,9 +1445,6 @@ func (m *SyncerJobEvent) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTracerSyncer } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTracerSyncer - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1544,7 +1469,7 @@ func (m *SyncerJobEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -1553,9 +1478,6 @@ func (m *SyncerJobEvent) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTracerSyncer } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTracerSyncer - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1580,7 +1502,7 @@ func (m *SyncerJobEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -1590,9 +1512,6 @@ func (m *SyncerJobEvent) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTracerSyncer } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTracerSyncer - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1612,7 +1531,7 @@ func (m *SyncerJobEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -1622,9 +1541,6 @@ func (m *SyncerJobEvent) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTracerSyncer } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTracerSyncer - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1644,7 +1560,7 @@ func (m *SyncerJobEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ArgsChecksum |= uint32(b&0x7F) << shift + m.ArgsChecksum |= (uint32(b) & 0x7F) << shift if b < 0x80 { break } @@ -1663,7 +1579,7 @@ func (m *SyncerJobEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + msglen |= (int(b) & 0x7F) << shift if b < 0x80 { break } @@ -1672,9 +1588,6 @@ func (m *SyncerJobEvent) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTracerSyncer } postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTracerSyncer - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1699,7 +1612,7 @@ func (m *SyncerJobEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { break } @@ -1709,9 +1622,6 @@ func (m *SyncerJobEvent) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTracerSyncer } postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTracerSyncer - } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1731,7 +1641,7 @@ func (m *SyncerJobEvent) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.State |= SyncerJobState(b&0x7F) << shift + m.State |= (SyncerJobState(b) & 0x7F) << shift if b < 0x80 { break } @@ -1745,9 +1655,6 @@ func (m *SyncerJobEvent) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTracerSyncer } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthTracerSyncer - } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -1814,11 +1721,8 @@ func skipTracerSyncer(dAtA []byte) (n int, err error) { break } } - if length < 0 { - return 0, ErrInvalidLengthTracerSyncer - } iNdEx += length - if iNdEx < 0 { + if length < 0 { return 0, ErrInvalidLengthTracerSyncer } return iNdEx, nil @@ -1849,9 +1753,6 @@ func skipTracerSyncer(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next - if iNdEx < 0 { - return 0, ErrInvalidLengthTracerSyncer - } } return iNdEx, nil case 4: @@ -1870,3 +1771,41 @@ var ( ErrInvalidLengthTracerSyncer = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTracerSyncer = fmt.Errorf("proto: integer overflow") ) + +func init() { proto.RegisterFile("tracer_syncer.proto", fileDescriptor_tracer_syncer_1170dba324220d8f) } + +var fileDescriptor_tracer_syncer_1170dba324220d8f = []byte{ + // 510 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0xcf, 0x6e, 0xd3, 0x4e, + 0x10, 0xce, 0xe6, 0x7f, 0xc6, 0xbf, 0xf4, 0x97, 0x0c, 0x12, 0xb2, 0x2a, 0x64, 0x19, 0x23, 0xa4, + 0x00, 0x52, 0x24, 0x82, 0x38, 0x70, 0xe1, 0x10, 0xd2, 0x43, 0xab, 0x56, 0x2a, 0x1b, 0xee, 0xc8, + 0x7f, 0xa6, 0x25, 0x8a, 0xeb, 0x75, 0x77, 0xd7, 0xa8, 0x79, 0x0b, 0x24, 0x1e, 0x82, 0x57, 0xe1, + 0xd8, 0x23, 0x47, 0x94, 0xf0, 0x20, 0x68, 0xd7, 0x09, 0x71, 0x0f, 0x95, 0x10, 0xb7, 0xd9, 0xf9, + 0x66, 0x3e, 0xcf, 0x7c, 0xdf, 0x18, 0x1e, 0x68, 0x19, 0xc6, 0x24, 0x3f, 0xaa, 0x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0xe2, 0x98, 0x94, 0x1a, 0xd4, 0xb1, 0x07, 0x2d, + 0x92, 0x52, 0xc8, 0x41, 0x63, 0xea, 0x7e, 0x5f, 0x7b, 0xec, 0x76, 0xed, 0xb1, 0x9f, 0x6b, 0x8f, + 0x7d, 0xd9, 0x78, 0xb5, 0xdb, 0x8d, 0x57, 0xfb, 0xb1, 0xf1, 0x6a, 0x51, 0xdb, 0xfe, 0x79, 0xaf, + 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0xae, 0x90, 0xfe, 0xb8, 0xa7, 0x03, 0x00, 0x00, +} diff --git a/dm/proto/dmworker.proto b/dm/proto/dmworker.proto index c91153b8c1..0d5aaa187d 100644 --- a/dm/proto/dmworker.proto +++ b/dm/proto/dmworker.proto @@ -396,6 +396,7 @@ message ExecDDLRequest { string lockID = 2; // DDL lock ID bool exec = 3; // true for execute, false for ignore (skip) string traceGID = 4; // trace group ID + repeated string DDLs = 5; // DDL statement } // BreakDDLLockRequest represents a request for a dm-worker to force to break the DDL lock diff --git a/syncer/syncer.go b/syncer/syncer.go index 5f3be5bf37..b9ddb2c4b2 100644 --- a/syncer/syncer.go +++ b/syncer/syncer.go @@ -17,6 +17,7 @@ import ( "context" "fmt" "math" + "reflect" "strconv" "strings" "sync" @@ -1830,13 +1831,22 @@ func (s *Syncer) handleQueryEvent(ev *replication.QueryEvent, ec eventContext) e // block and wait DDL lock to be synced shardLockResolving.WithLabelValues(s.cfg.Name).Set(1) - var ok bool - ddlExecItem, ok = <-s.ddlExecInfo.Chan(needHandleDDLs) - shardLockResolving.WithLabelValues(s.cfg.Name).Set(0) - if !ok { - // chan closed - s.tctx.L().Warn("canceled from exrernal", zap.String("event", "query"), zap.String("source", source), zap.Strings("ddls", needHandleDDLs), zap.ByteString("raw statement", ev.Query), zap.Stringer("start position", startPos), log.WrapStringerField("end position", ec.currentPos)) - return nil + for { + var ok bool + ddlExecItem, ok = <-s.ddlExecInfo.Chan(needHandleDDLs) + if !ok { + // chan closed + shardLockResolving.WithLabelValues(s.cfg.Name).Set(0) + s.tctx.L().Warn("canceled from external", zap.String("event", "query"), zap.String("source", source), zap.Strings("ddls", needHandleDDLs), zap.ByteString("raw statement", ev.Query), zap.Stringer("start position", startPos), log.WrapStringerField("end position", ec.currentPos)) + return nil + } else if len(ddlExecItem.req.DDLs) != 0 && !reflect.DeepEqual(ddlExecItem.req.DDLs, needHandleDDLs) { + // ignore un-cleared cached/duplicate DDL execute request + // check `len(ddlExecItem.req.DDLs) != 0` to support old DM-master and `break-ddl-lock` + s.tctx.L().Warn("ignore mismatched DDL execute request", zap.String("source", source), zap.Strings("expect", needHandleDDLs), zap.Strings("request", ddlExecItem.req.DDLs)) + continue + } + shardLockResolving.WithLabelValues(s.cfg.Name).Set(0) + break } if ddlExecItem.req.Exec { From d11a383be411f6767a20360501bf7ba6335aeaed Mon Sep 17 00:00:00 2001 From: csuzhangxc Date: Sat, 26 Oct 2019 22:49:42 +0800 Subject: [PATCH 5/9] master: fix unit test --- dm/master/server_test.go | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/dm/master/server_test.go b/dm/master/server_test.go index a7bc55d4ae..3c335001c1 100644 --- a/dm/master/server_test.go +++ b/dm/master/server_test.go @@ -861,6 +861,14 @@ func (t *testMaster) TestUnlockDDLLock(c *check.C) { ctrl := gomock.NewController(c) defer ctrl.Finish() + var ( + sqls = []string{"stmt"} + task = "testA" + schema = "test_db" + table = "test_table" + traceGIDIdx = 1 + ) + server := testDefaultMasterServer(c) workers := make([]string, 0, len(server.cfg.DeployMap)) @@ -897,6 +905,7 @@ func (t *testMaster) TestUnlockDDLLock(c *check.C) { LockID: lockID, Exec: exec, TraceGID: traceGID, + DDLs: sqls, }, ).Return(ret...) @@ -904,14 +913,6 @@ func (t *testMaster) TestUnlockDDLLock(c *check.C) { } } - var ( - sqls = []string{"stmt"} - task = "testA" - schema = "test_db" - table = "test_table" - traceGIDIdx = 1 - ) - prepareDDLLock := func() { // prepare ddl lock keeper, mainly use code from ddl_lock_test.go lk := NewLockKeeper() @@ -1445,6 +1446,7 @@ func (t *testMaster) TestFetchWorkerDDLInfo(c *check.C) { LockID: lockID, Exec: true, TraceGID: traceGID, + DDLs: ddls, }, ).Return(&pb.CommonWorkerResponse{Result: true}, nil).MaxTimes(1) mockWorkerClient.EXPECT().ExecuteDDL( @@ -1454,6 +1456,7 @@ func (t *testMaster) TestFetchWorkerDDLInfo(c *check.C) { LockID: lockID, Exec: false, TraceGID: traceGID, + DDLs: ddls, }, ).Return(&pb.CommonWorkerResponse{Result: true}, nil).MaxTimes(1) From 9693cf95f04221d12348243341e74c37bb4c25aa Mon Sep 17 00:00:00 2001 From: csuzhangxc Date: Sun, 27 Oct 2019 10:39:03 +0800 Subject: [PATCH 6/9] master: revert fetch DDL timeout --- dm/master/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dm/master/server.go b/dm/master/server.go index 3a73a6c870..d928c9f298 100644 --- a/dm/master/server.go +++ b/dm/master/server.go @@ -44,7 +44,7 @@ import ( ) var ( - fetchDDLInfoRetryTimeout = 30 * time.Second + fetchDDLInfoRetryTimeout = 5 * time.Second cmuxReadTimeout = 10 * time.Second ) From c89e656eb2ded11c2d5a031ee4b9efa27dc95c53 Mon Sep 17 00:00:00 2001 From: csuzhangxc Date: Sun, 27 Oct 2019 11:32:15 +0800 Subject: [PATCH 7/9] syncer: send mismatch DDL execution request in UT --- syncer/syncer_test.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/syncer/syncer_test.go b/syncer/syncer_test.go index 2f0210abb1..98a9162888 100644 --- a/syncer/syncer_test.go +++ b/syncer/syncer_test.go @@ -1302,9 +1302,14 @@ func (s *testSyncerSuite) TestSharding(c *C) { go syncer.Process(ctx, resultCh) + var wg sync.WaitGroup + wg.Add(1) go func() { - req := &DDLExecItem{&pb.ExecDDLRequest{Exec: true}, make(chan error, 1)} - syncer.ddlExecInfo.Send(ctx, req) + defer wg.Done() + reqMismatch := &DDLExecItem{&pb.ExecDDLRequest{Exec: true, DDLs: []string{"stmt"}}, make(chan error, 1)} + c.Assert(syncer.ddlExecInfo.Send(ctx, reqMismatch), IsNil) + reqMatch := &DDLExecItem{&pb.ExecDDLRequest{Exec: true}, make(chan error, 1)} + c.Assert(syncer.ddlExecInfo.Send(ctx, reqMatch), IsNil) }() select { @@ -1316,6 +1321,7 @@ func (s *testSyncerSuite) TestSharding(c *C) { case <-time.After(2 * time.Second): } cancel() + wg.Wait() syncer.Close() c.Assert(syncer.isClosed(), IsTrue) From 81f4abb17f9fc03eed09a467aab6030ff1ffc805 Mon Sep 17 00:00:00 2001 From: csuzhangxc Date: Mon, 28 Oct 2019 16:00:27 +0800 Subject: [PATCH 8/9] syncer: address comment --- syncer/error.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/syncer/error.go b/syncer/error.go index 385c6417fc..cecb4e1bbe 100644 --- a/syncer/error.go +++ b/syncer/error.go @@ -120,8 +120,6 @@ func (s *Syncer) handleSpecialDDLError(tctx *tcontext.Context, err error, ddls [ case *ast.CreateIndexStmt: handle() return nil // ignore the error - default: - return err } return err } From e4b29b44890b82a951852e0ad33ee14e727087b7 Mon Sep 17 00:00:00 2001 From: csuzhangxc Date: Mon, 28 Oct 2019 17:27:10 +0800 Subject: [PATCH 9/9] syncer: address comment --- syncer/error.go | 10 ++++++++-- syncer/error_test.go | 10 ++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/syncer/error.go b/syncer/error.go index cecb4e1bbe..49cb6e01c2 100644 --- a/syncer/error.go +++ b/syncer/error.go @@ -114,8 +114,14 @@ func (s *Syncer) handleSpecialDDLError(tctx *tcontext.Context, err error, ddls [ if len(v.Specs) > 1 { return err } else if v.Specs[0].Tp == ast.AlterTableAddConstraint { - handle() - return nil // ignore the error + // only take effect on `ADD INDEX`, no UNIQUE KEY and FOREIGN KEY + // UNIQUE KEY may affect correctness, FOREIGN KEY should be filtered. + // ref https://github.com/pingcap/tidb/blob/3cdea0dfdf28197ee65545debce8c99e6d2945e3/ddl/ddl_api.go#L1929-L1948. + switch v.Specs[0].Constraint.Tp { + case ast.ConstraintKey, ast.ConstraintIndex: + handle() + return nil // ignore the error + } } case *ast.CreateIndexStmt: handle() diff --git a/syncer/error_test.go b/syncer/error_test.go index 0a9cd2e115..b682cfddcb 100644 --- a/syncer/error_test.go +++ b/syncer/error_test.go @@ -110,6 +110,8 @@ func (s *testSyncerSuite) TestHandleSpecialDDLError(c *C) { invalidDDL = "SQL CAN NOT BE PARSED" insertDML = "INSERT INTO tbl VALUES (1)" createTable = "CREATE TABLE tbl (col INT)" + addUK = "ALTER TABLE tbl ADD UNIQUE INDEX idx(col)" + addFK = "ALTER TABLE tbl ADD CONSTRAINT fk FOREIGN KEY (col) REFERENCES tbl2 (col)" addColumn = "ALTER TABLE tbl ADD COLUMN col INT" addIndexMulti = "ALTER TABLE tbl ADD INDEX idx1(col1), ADD INDEX idx2(col2)" addIndex1 = "ALTER TABLE tbl ADD INDEX idx(col)" @@ -155,6 +157,14 @@ func (s *testSyncerSuite) TestHandleSpecialDDLError(c *C) { err: mysql.ErrInvalidConn, ddls: []string{addColumn}, // not `ADD INDEX` }, + { + err: mysql.ErrInvalidConn, + ddls: []string{addUK}, // not `ADD INDEX`, but `ADD UNIQUE INDEX` + }, + { + err: mysql.ErrInvalidConn, + ddls: []string{addFK}, // not `ADD INDEX`, but `ADD * FOREIGN KEY` + }, { err: mysql.ErrInvalidConn, ddls: []string{addIndexMulti}, // multi `ADD INDEX` in one statement