github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/dm/_utils/terror_gen/errors_release.txt (about)

     1  ErrDBDriverError,[code=10001:class=database:scope=not-set:level=high], "Message: database driver error, Workaround: Please check the database connection and the database config in configuration file."
     2  ErrDBBadConn,[code=10002:class=database:scope=not-set:level=high], "Message: database driver, Workaround: Please check the database connection, then use `pause-task` to pause the task and then use `resume-task` to resume the task."
     3  ErrDBInvalidConn,[code=10003:class=database:scope=not-set:level=high], "Message: database driver, Workaround: Please check the database connection, then use `pause-task` to stop the task and then use `resume-task` to resume the task."
     4  ErrDBUnExpect,[code=10004:class=database:scope=not-set:level=high], "Message: unexpect database error: %s"
     5  ErrDBQueryFailed,[code=10005:class=database:scope=not-set:level=high], "Message: query statement failed: %s"
     6  ErrDBExecuteFailed,[code=10006:class=database:scope=not-set:level=high], "Message: execute statement failed: %s"
     7  ErrParseMydumperMeta,[code=11001:class=functional:scope=internal:level=high], "Message: parse mydumper metadata error: %s, metadata: %s"
     8  ErrGetFileSize,[code=11002:class=functional:scope=internal:level=high], "Message: get file %s size"
     9  ErrDropMultipleTables,[code=11003:class=functional:scope=internal:level=high], "Message: not allowed operation: drop multiple tables in one statement, Workaround: It is recommended to include only one DDL operation in a statement executed upstream. Please manually handle it using dmctl (skipping the DDL statement or replacing the DDL statement with a specified DDL statement). For details, see https://docs.pingcap.com/tidb-data-migration/stable/handle-failed-sql-statements"
    10  ErrRenameMultipleTables,[code=11004:class=functional:scope=internal:level=high], "Message: not allowed operation: rename multiple tables in one statement, Workaround: It is recommended to include only one DDL operation in a statement executed upstream. Please manually handle it using dmctl (skipping the DDL statement or replacing the DDL statement with a specified DDL statement). For details, see https://docs.pingcap.com/tidb-data-migration/stable/handle-failed-sql-statements"
    11  ErrAlterMultipleTables,[code=11005:class=functional:scope=internal:level=high], "Message: not allowed operation: alter multiple tables in one statement, Workaround: It is recommended to include only one DDL operation in a statement executed upstream. Please manually handle it using dmctl (skipping the DDL statement or replacing the DDL statement with a specified DDL statement). For details, see https://docs.pingcap.com/tidb-data-migration/stable/handle-failed-sql-statements"
    12  ErrParseSQL,[code=11006:class=functional:scope=internal:level=high], "Message: parse statement: %s"
    13  ErrUnknownTypeDDL,[code=11007:class=functional:scope=internal:level=high], "Message: unknown type ddl %+v, Workaround: Please manually handle it using dmctl (skipping the DDL statement or replacing the DDL statement with a specified DDL statement). For details, see https://docs.pingcap.com/tidb-data-migration/stable/handle-failed-sql-statements"
    14  ErrRestoreASTNode,[code=11008:class=functional:scope=internal:level=high], "Message: restore ast node"
    15  ErrParseGTID,[code=11009:class=functional:scope=internal:level=high], "Message: parse GTID %s"
    16  ErrNotSupportedFlavor,[code=11010:class=functional:scope=internal:level=high], "Message: flavor %s not supported, Workaround: Please check `flavor` config in source configuration file."
    17  ErrNotMySQLGTID,[code=11011:class=functional:scope=internal:level=high], "Message: %s is not mysql GTID set"
    18  ErrNotMariaDBGTID,[code=11012:class=functional:scope=internal:level=high], "Message: %s is not mariadb GTID set"
    19  ErrNotUUIDString,[code=11013:class=functional:scope=internal:level=high], "Message: %v is not UUID string"
    20  ErrMariaDBDomainID,[code=11014:class=functional:scope=internal:level=high], "Message: %v is not uint32"
    21  ErrInvalidServerID,[code=11015:class=functional:scope=internal:level=high], "Message: invalid server id %s"
    22  ErrGetSQLModeFromStr,[code=11016:class=functional:scope=internal:level=high], "Message: get sql mode from string literal %s"
    23  ErrVerifySQLOperateArgs,[code=11017:class=functional:scope=internal:level=low], "Workaround: Please make sure the args are correct."
    24  ErrStatFileSize,[code=11018:class=functional:scope=internal:level=high], "Message: get file statfs"
    25  ErrReaderAlreadyRunning,[code=11019:class=functional:scope=internal:level=high], "Message: binlog reader is already running"
    26  ErrReaderAlreadyStarted,[code=11020:class=functional:scope=internal:level=high], "Message: stage %s, expect %s, already started"
    27  ErrReaderStateCannotClose,[code=11021:class=functional:scope=internal:level=high], "Message: stage %s, expect %s, can not close"
    28  ErrReaderShouldStartSync,[code=11022:class=functional:scope=internal:level=high], "Message: stage %s, expect %s"
    29  ErrEmptyRelayDir,[code=11023:class=functional:scope=internal:level=high], "Message: empty relay dir, Workaround: Please check `relay-dir` config in task configuration file."
    30  ErrReadDir,[code=11024:class=functional:scope=internal:level=high], "Message: read dir: %s"
    31  ErrBaseFileNotFound,[code=11025:class=functional:scope=internal:level=high], "Message: base file %s in directory %s not found"
    32  ErrBinFileCmpCondNotSupport,[code=11026:class=functional:scope=internal:level=high], "Message: cmp condition %v not supported"
    33  ErrBinlogFileNotValid,[code=11027:class=functional:scope=internal:level=high], "Message: binlog file %s not valid"
    34  ErrBinlogFilesNotFound,[code=11028:class=functional:scope=internal:level=high], "Message: binlog files in dir %s not found"
    35  ErrGetRelayLogStat,[code=11029:class=functional:scope=internal:level=high], "Message: get stat for relay log %s"
    36  ErrAddWatchForRelayLogDir,[code=11030:class=functional:scope=internal:level=high], "Message: add watch for relay log dir %s"
    37  ErrWatcherStart,[code=11031:class=functional:scope=internal:level=high], "Message: watcher starts for relay log dir %s"
    38  ErrWatcherChanClosed,[code=11032:class=functional:scope=internal:level=high], "Message: watcher's %s chan for relay log dir %s closed"
    39  ErrWatcherChanRecvError,[code=11033:class=functional:scope=internal:level=high], "Message: watcher receives error, relay log dir %s"
    40  ErrRelayLogFileSizeSmaller,[code=11034:class=functional:scope=internal:level=high], "Message: file size of relay log %s become smaller, Workaround: Please check the status of relay log and re-pull it. If you want to re-pull it, you should open relay.meta, set the binlog-name to the error pos name, set binlog-pos to 4, delete the stashed relay log and run `resume-relay` in dmctl."
    41  ErrBinlogFileNotSpecified,[code=11035:class=functional:scope=internal:level=high], "Message: binlog file must be specified"
    42  ErrNoRelayLogMatchPos,[code=11036:class=functional:scope=internal:level=high], "Message: no relay log files in dir %s match pos %s"
    43  ErrFirstRelayLogNotMatchPos,[code=11037:class=functional:scope=internal:level=high], "Message: the first relay log %s not match the start pos %v"
    44  ErrParserParseRelayLog,[code=11038:class=functional:scope=internal:level=high], "Message: parse relay log file %s"
    45  ErrNoSubdirToSwitch,[code=11039:class=functional:scope=internal:level=high], "Message: parse for previous sub relay directory finished, but no next sub directory need to switch"
    46  ErrNeedSyncAgain,[code=11040:class=functional:scope=internal:level=high], "Message: Last sync error or closed, try sync and get event again"
    47  ErrSyncClosed,[code=11041:class=functional:scope=internal:level=high], "Message: Sync was closed"
    48  ErrSchemaTableNameNotValid,[code=11042:class=functional:scope=internal:level=high], "Message: table name %s not valid"
    49  ErrGenTableRouter,[code=11043:class=functional:scope=internal:level=high], "Message: generate table router, Workaround: Please check `routes` config in task configuration file."
    50  ErrEncryptSecretKeyNotValid,[code=11044:class=functional:scope=internal:level=high], "Message: key size should be 16, 24 or 32, but input key's size is %d"
    51  ErrEncryptGenCipher,[code=11045:class=functional:scope=internal:level=high], "Message: generate cipher"
    52  ErrEncryptGenIV,[code=11046:class=functional:scope=internal:level=high], "Message: generate iv"
    53  ErrCiphertextLenNotValid,[code=11047:class=functional:scope=internal:level=high], "Message: ciphertext's length should be greater than %d, but got %d not valid"
    54  ErrCiphertextContextNotValid,[code=11048:class=functional:scope=internal:level=high], "Message: ciphertext's content not valid"
    55  ErrInvalidBinlogPosStr,[code=11049:class=functional:scope=internal:level=high], "Message: invalid mysql position string: %s"
    56  ErrEncCipherTextBase64Decode,[code=11050:class=functional:scope=internal:level=high], "Message: decode base64 encoded password %s"
    57  ErrBinlogWriteBinaryData,[code=11051:class=functional:scope=internal:level=high]
    58  ErrBinlogWriteDataToBuffer,[code=11052:class=functional:scope=internal:level=high]
    59  ErrBinlogHeaderLengthNotValid,[code=11053:class=functional:scope=internal:level=high], "Message: header length should be %d, but got %d not valid"
    60  ErrBinlogEventDecode,[code=11054:class=functional:scope=internal:level=high], "Message: decode % X"
    61  ErrBinlogEmptyNextBinName,[code=11055:class=functional:scope=internal:level=high], "Message: empty next binlog name not valid"
    62  ErrBinlogParseSID,[code=11056:class=functional:scope=internal:level=high]
    63  ErrBinlogEmptyGTID,[code=11057:class=functional:scope=internal:level=high], "Message: empty GTID set not valid"
    64  ErrBinlogGTIDSetNotValid,[code=11058:class=functional:scope=internal:level=high], "Message: GTID set %s with flavor %s not valid"
    65  ErrBinlogGTIDMySQLNotValid,[code=11059:class=functional:scope=internal:level=high], "Message: GTID set string %s for MySQL not valid"
    66  ErrBinlogGTIDMariaDBNotValid,[code=11060:class=functional:scope=internal:level=high], "Message: GTID set string %s for MariaDB not valid"
    67  ErrBinlogMariaDBServerIDMismatch,[code=11061:class=functional:scope=internal:level=high], "Message: server_id mismatch, in GTID (%d), in event header/server_id (%d)"
    68  ErrBinlogOnlyOneGTIDSupport,[code=11062:class=functional:scope=internal:level=high], "Message: only one GTID in set is supported, but got %d (%s)"
    69  ErrBinlogOnlyOneIntervalInUUID,[code=11063:class=functional:scope=internal:level=high], "Message: only one Interval in UUIDSet is supported, but got %d (%s)"
    70  ErrBinlogIntervalValueNotValid,[code=11064:class=functional:scope=internal:level=high], "Message: Interval's Stop should equal to Start+1, but got %+v (%s)"
    71  ErrBinlogEmptyQuery,[code=11065:class=functional:scope=internal:level=high], "Message: empty query not valid"
    72  ErrBinlogTableMapEvNotValid,[code=11066:class=functional:scope=internal:level=high], "Message: empty schema (% X) or table (% X) or column type (% X)"
    73  ErrBinlogExpectFormatDescEv,[code=11067:class=functional:scope=internal:level=high], "Message: expect FormatDescriptionEvent, but got %+v"
    74  ErrBinlogExpectTableMapEv,[code=11068:class=functional:scope=internal:level=high], "Message: expect TableMapEvent, but got %+v"
    75  ErrBinlogExpectRowsEv,[code=11069:class=functional:scope=internal:level=high], "Message: expect event with type (%d), but got %+v"
    76  ErrBinlogUnexpectedEv,[code=11070:class=functional:scope=internal:level=high], "Message: unexpected event %+v"
    77  ErrBinlogParseSingleEv,[code=11071:class=functional:scope=internal:level=high]
    78  ErrBinlogEventTypeNotValid,[code=11072:class=functional:scope=internal:level=high], "Message: event type %d not valid"
    79  ErrBinlogEventNoRows,[code=11073:class=functional:scope=internal:level=high], "Message: no rows not valid"
    80  ErrBinlogEventNoColumns,[code=11074:class=functional:scope=internal:level=high], "Message: no columns not valid"
    81  ErrBinlogEventRowLengthNotEq,[code=11075:class=functional:scope=internal:level=high], "Message: length of row (%d) not equal to length of column-type (%d)"
    82  ErrBinlogColumnTypeNotSupport,[code=11076:class=functional:scope=internal:level=high], "Message: column type %d in binlog not supported"
    83  ErrBinlogGoMySQLTypeNotSupport,[code=11077:class=functional:scope=internal:level=high], "Message: go-mysql type %d in event generator not supported"
    84  ErrBinlogColumnTypeMisMatch,[code=11078:class=functional:scope=internal:level=high], "Message: value %+v (type %v) with column type %v not valid"
    85  ErrBinlogDummyEvSizeTooSmall,[code=11079:class=functional:scope=internal:level=high], "Message: required dummy event size (%d) is too small, the minimum supported size is %d"
    86  ErrBinlogFlavorNotSupport,[code=11080:class=functional:scope=internal:level=high], "Message: flavor %s not supported"
    87  ErrBinlogDMLEmptyData,[code=11081:class=functional:scope=internal:level=high], "Message: empty data not valid"
    88  ErrBinlogLatestGTIDNotInPrev,[code=11082:class=functional:scope=internal:level=high], "Message: latest GTID %s is not one of the latest previousGTIDs %s not valid"
    89  ErrBinlogReadFileByGTID,[code=11083:class=functional:scope=internal:level=high], "Message: read from file by GTID not supported"
    90  ErrBinlogWriterNotStateNew,[code=11084:class=functional:scope=internal:level=high], "Message: stage %s, expect %s, already started"
    91  ErrBinlogWriterStateCannotClose,[code=11085:class=functional:scope=internal:level=high], "Message: stage %s, expect %s, can not close"
    92  ErrBinlogWriterNeedStart,[code=11086:class=functional:scope=internal:level=high], "Message: stage %s, expect %s"
    93  ErrBinlogWriterOpenFile,[code=11087:class=functional:scope=internal:level=high], "Message: open file"
    94  ErrBinlogWriterGetFileStat,[code=11088:class=functional:scope=internal:level=high], "Message: get stat for %s"
    95  ErrBinlogWriterWriteDataLen,[code=11089:class=functional:scope=internal:level=high], "Message: data length %d"
    96  ErrBinlogWriterFileNotOpened,[code=11090:class=functional:scope=internal:level=high], "Message: file %s not opened"
    97  ErrBinlogWriterFileSync,[code=11091:class=functional:scope=internal:level=high], "Message: sync file"
    98  ErrBinlogPrevGTIDEvNotValid,[code=11092:class=functional:scope=internal:level=high], "Message: the event should be a PreviousGTIDsEvent in go-mysql, but got %T"
    99  ErrBinlogDecodeMySQLGTIDSet,[code=11093:class=functional:scope=internal:level=high], "Message: decode from % X"
   100  ErrBinlogNeedMariaDBGTIDSet,[code=11094:class=functional:scope=internal:level=high], "Message: the event should be a MariadbGTIDListEvent, but got %T"
   101  ErrBinlogParseMariaDBGTIDSet,[code=11095:class=functional:scope=internal:level=high], "Message: parse MariaDB GTID set"
   102  ErrBinlogMariaDBAddGTIDSet,[code=11096:class=functional:scope=internal:level=high], "Message: add set %v to GTID set"
   103  ErrTracingEventDataNotValid,[code=11097:class=functional:scope=internal:level=high], "Message: invalid event data for type: %s"
   104  ErrTracingUploadData,[code=11098:class=functional:scope=internal:level=high], "Message: upload event"
   105  ErrTracingEventTypeNotValid,[code=11099:class=functional:scope=internal:level=high], "Message: invalid event type %s, will not process"
   106  ErrTracingGetTraceCode,[code=11100:class=functional:scope=internal:level=high], "Message: failed to get code information from runtime.Caller"
   107  ErrTracingDataChecksum,[code=11101:class=functional:scope=internal:level=high], "Message: calc data checksum"
   108  ErrTracingGetTSO,[code=11102:class=functional:scope=internal:level=high], "Message: get tso"
   109  ErrBackoffArgsNotValid,[code=11103:class=functional:scope=internal:level=medium], "Message: backoff argument %s value %v not valid"
   110  ErrInitLoggerFail,[code=11104:class=functional:scope=internal:level=medium], "Message: init logger failed"
   111  ErrGTIDTruncateInvalid,[code=11105:class=functional:scope=internal:level=high], "Message: truncate GTID sets %v to %v not valid"
   112  ErrRelayLogGivenPosTooBig,[code=11106:class=functional:scope=internal:level=high], "Message: the given relay log pos %s of meta config is too big, please check it again, Workaround: If the size of the corresponding binlog file has exceeded 4GB, please follow the solution in https://docs.pingcap.com/tidb-data-migration/stable/error-handling#the-relay-unit-throws-error-event-from--in--diff-from-passed-in-event--or-a-replication-task-is-interrupted-with-failing-to-get-or-parse-binlog-errors-like-get-binlog-error-error-1236-hy000-and-binlog-checksum-mismatch-data-may-be-corrupted-returned"
   113  ErrElectionCampaignFail,[code=11107:class=functional:scope=internal:level=high], "Message: fail to campaign leader: %s"
   114  ErrElectionGetLeaderIDFail,[code=11108:class=functional:scope=internal:level=medium], "Message: fail to get leader ID"
   115  ErrBinlogInvalidFilenameWithUUIDSuffix,[code=11109:class=functional:scope=internal:level=high], "Message: invalid binlog filename with uuid suffix %s"
   116  ErrDecodeEtcdKeyFail,[code=11110:class=functional:scope=internal:level=medium], "Message: fail to decode etcd key: %s"
   117  ErrShardDDLOptimismTrySyncFail,[code=11111:class=functional:scope=internal:level=medium], "Message: fail to try sync the optimistic shard ddl lock %s: %s, Workaround: Please use `show-ddl-locks` command for more details."
   118  ErrConnInvalidTLSConfig,[code=11112:class=functional:scope=internal:level=medium], "Message: invalid TLS config, Workaround: Please check the `ssl-ca`, `ssl-cert` and `ssl-key` config."
   119  ErrConnRegistryTLSConfig,[code=11113:class=functional:scope=internal:level=medium], "Message: fail to registry TLS config"
   120  ErrUpgradeVersionEtcdFail,[code=11114:class=functional:scope=internal:level=high], "Message: fail to operate DM cluster version in etcd, Workaround: Please use `list-member --master` to confirm whether the DM-master cluster is healthy"
   121  ErrInvalidV1WorkerMetaPath,[code=11115:class=functional:scope=internal:level=medium], "Message: %s is an invalid v1.0.x DM-worker meta path, Workaround: Please check no `meta-dir` set for v1.0.x DM-worker."
   122  ErrFailUpdateV1DBSchema,[code=11116:class=functional:scope=internal:level=medium], "Message: fail to upgrade v1.0.x DB schema, Workaround: Please confirm that you have not violated any restrictions in the upgrade documentation."
   123  ErrBinlogStatusVarsParse,[code=11117:class=functional:scope=internal:level=medium], "Message: fail to parse binglog status_vars: %v, offset: %d"
   124  ErrVerifyHandleErrorArgs,[code=11118:class=functional:scope=internal:level=low], "Workaround: Please make sure the args are correct."
   125  ErrRewriteSQL,[code=11119:class=functional:scope=internal:level=high], "Message: failed to rewrite SQL for target DB, stmt: %+v, targetTableNames: %+v"
   126  ErrNoUUIDDirMatchGTID,[code=11120:class=functional:scope=internal:level=high], "Message: no relay subdir match gtid %s"
   127  ErrNoRelayPosMatchGTID,[code=11121:class=functional:scope=internal:level=high], "Message: no relay pos match gtid %s"
   128  ErrReaderReachEndOfFile,[code=11122:class=functional:scope=internal:level=low]
   129  ErrMetadataNoBinlogLoc,[code=11123:class=functional:scope=upstream:level=low], "Message: didn't found binlog location in dumped metadata file %s, Workaround: Please check log of dump unit, there maybe errors when read upstream binlog status"
   130  ErrPreviousGTIDNotExist,[code=11124:class=functional:scope=internal:level=high], "Message: no previous gtid event from binlog %s"
   131  ErrNoMasterStatus,[code=11125:class=functional:scope=upstream:level=medium], "Message: upstream returns an empty result for SHOW MASTER STATUS, Workaround: Please make sure binlog is enabled, and check the upstream settings like privileges, RDS settings to read data from SHOW MASTER STATUS."
   132  ErrIncorrectReturnColumnsNum,[code=11130:class=functional:scope=upstream:level=medium], "Message: upstream returns incorrect number of columns for SHOW MASTER STATUS, Workaround: Please check the upstream settings like privileges, RDS settings to read data from SHOW MASTER STATUS."
   133  ErrBinlogNotLogColumn,[code=11126:class=binlog-op:scope=upstream:level=high], "Message: upstream didn't log enough columns in binlog, Workaround: Please check if session `binlog_row_image` variable is not FULL, restart task to the location from where FULL binlog_row_image is used."
   134  ErrShardDDLOptimismNeedSkipAndRedirect,[code=11127:class=functional:scope=internal:level=high], "Message: receive conflict DDL for the optimistic shard ddl lock %s: %s. Now DM does not support conflicting DDLs, such as 'modify column'/'rename column'/'add column not null non default'."
   135  ErrShardDDLOptimismAddNotFullyDroppedColumn,[code=11128:class=functional:scope=internal:level=medium], "Message: fail to resolve adding not fully dropped columns for optimistic shard ddl lock %s: %s, Workaround: Please use `binlog skip` command to skip this error."
   136  ErrConfigCheckItemNotSupport,[code=20001:class=config:scope=internal:level=medium], "Message: checking item %s is not supported\n%s, Workaround: Please check `ignore-checking-items` config in task configuration file, which can be set including `all`/`dump_privilege`/`replication_privilege`/`version`/`binlog_enable`/`binlog_format`/`binlog_row_image`/`table_schema`/`schema_of_shard_tables`/`auto_increment_ID`."
   137  ErrConfigTomlTransform,[code=20002:class=config:scope=internal:level=medium], "Message: %s, Workaround: Please check the configuration file has correct TOML format."
   138  ErrConfigYamlTransform,[code=20003:class=config:scope=internal:level=medium], "Message: %s, Workaround: Please check the configuration file has correct YAML format."
   139  ErrConfigTaskNameEmpty,[code=20004:class=config:scope=internal:level=medium], "Message: task name should not be empty, Workaround: Please check the `name` config in task configuration file."
   140  ErrConfigEmptySourceID,[code=20005:class=config:scope=internal:level=medium], "Message: empty source-id not valid, Workaround: Please check the `source-id` config in configuration file."
   141  ErrConfigTooLongSourceID,[code=20006:class=config:scope=internal:level=medium], "Message: too long source-id not valid, Workaround: Please check the `source-id` config in configuration file. The max source id length is 32."
   142  ErrConfigOnlineSchemeNotSupport,[code=20007:class=config:scope=internal:level=medium], "Message: online scheme %s not supported, Workaround: Please check the `online-ddl-scheme` config in task configuration file. Only `ghost` and `pt` are currently supported."
   143  ErrConfigInvalidTimezone,[code=20008:class=config:scope=internal:level=medium], "Message: invalid timezone string: %s, Workaround: Please check the `timezone` config in task configuration file."
   144  ErrConfigParseFlagSet,[code=20009:class=config:scope=internal:level=medium], "Message: parse subtask config flag set"
   145  ErrConfigDecryptDBPassword,[code=20010:class=config:scope=internal:level=medium], "Message: decrypt DB password %s failed"
   146  ErrConfigMetaInvalid,[code=20011:class=config:scope=internal:level=medium], "Message: must specify `binlog-name` without GTID enabled for the source or specify `binlog-gtid` with GTID enabled for the source, Workaround: Please check the `meta` config in task configuration file."
   147  ErrConfigMySQLInstNotFound,[code=20012:class=config:scope=internal:level=medium], "Message: mysql instance config must specify, Workaround: Please check the `mysql-instances` config in task configuration file."
   148  ErrConfigMySQLInstsAtLeastOne,[code=20013:class=config:scope=internal:level=medium], "Message: must specify at least one mysql-instances, Workaround: Please check the `mysql-instances` config in task configuration file."
   149  ErrConfigMySQLInstSameSourceID,[code=20014:class=config:scope=internal:level=medium], "Message: mysql-instance (%d) and (%d) have same source-id (%s), Workaround: Please check the `mysql-instances` config in task configuration file."
   150  ErrConfigMydumperCfgConflict,[code=20015:class=config:scope=internal:level=medium], "Message: mydumper-config-name and mydumper should only specify one, Workaround: Please check the `mydumper-config-name` and `mydumper` config in task configuration file."
   151  ErrConfigLoaderCfgConflict,[code=20016:class=config:scope=internal:level=medium], "Message: loader-config-name and loader should only specify one, Workaround: Please check the `loader-config-name` and `loader` config in task configuration file."
   152  ErrConfigSyncerCfgConflict,[code=20017:class=config:scope=internal:level=medium], "Message: syncer-config-name and syncer should only specify one, Workaround: Please check the `syncer-config-name` and `syncer` config in task configuration file."
   153  ErrConfigReadCfgFromFile,[code=20018:class=config:scope=internal:level=medium], "Message: read config file %v"
   154  ErrConfigNeedUniqueTaskName,[code=20019:class=config:scope=internal:level=medium], "Message: must specify a unique task name, Workaround: Please check the `name` config in task configuration file."
   155  ErrConfigInvalidTaskMode,[code=20020:class=config:scope=internal:level=medium], "Message: please specify right task-mode, support `full`, `incremental`, `all`, Workaround: Please check the `task-mode` config in task configuration file."
   156  ErrConfigNeedTargetDB,[code=20021:class=config:scope=internal:level=medium], "Message: must specify target-database, Workaround: Please check the `target-database` config in task configuration file."
   157  ErrConfigMetadataNotSet,[code=20022:class=config:scope=internal:level=medium], "Message: mysql-instance(%s) must set meta for task-mode %s, Workaround: Please check the `meta` config in task configuration file."
   158  ErrConfigRouteRuleNotFound,[code=20023:class=config:scope=internal:level=medium], "Message: mysql-instance(%d)'s route-rules %s not exist in routes, Workaround: Please check the `route-rules` config in task configuration file."
   159  ErrConfigFilterRuleNotFound,[code=20024:class=config:scope=internal:level=medium], "Message: mysql-instance(%d)'s filter-rules %s not exist in filters, Workaround: Please check the `filter-rules` config in task configuration file."
   160  ErrConfigColumnMappingNotFound,[code=20025:class=config:scope=internal:level=medium], "Message: mysql-instance(%d)'s column-mapping-rules %s not exist in column-mapping, Workaround: Please check the `column-mapping-rules` config in task configuration file."
   161  ErrConfigBAListNotFound,[code=20026:class=config:scope=internal:level=medium], "Message: mysql-instance(%d)'s list %s not exist in block allow list, Workaround: Please check the `block-allow-list` config in task configuration file."
   162  ErrConfigMydumperCfgNotFound,[code=20027:class=config:scope=internal:level=medium], "Message: mysql-instance(%d)'s mydumper config %s not exist in mydumpers, Workaround: Please check the `mydumper-config-name` config in task configuration file."
   163  ErrConfigMydumperPathNotValid,[code=20028:class=config:scope=internal:level=medium], "Message: mysql-instance(%d)'s mydumper-path must specify a valid path to mydumper binary when task-mode is all or full, Workaround: Please check the `mydumper-path` config in task configuration file."
   164  ErrConfigLoaderCfgNotFound,[code=20029:class=config:scope=internal:level=medium], "Message: mysql-instance(%d)'s loader config %s not exist in loaders, Workaround: Please check the `loader-config-name` config in task configuration file."
   165  ErrConfigSyncerCfgNotFound,[code=20030:class=config:scope=internal:level=medium], "Message: mysql-instance(%d)'s syncer config %s not exist in syncer, Workaround: Please check the `syncer-config-name` config in task configuration file."
   166  ErrConfigSourceIDNotFound,[code=20031:class=config:scope=internal:level=medium], "Message: source %s in deployment configuration not found, Workaround: Please use `operate-source create source-config-file-path` to add source."
   167  ErrConfigDuplicateCfgItem,[code=20032:class=config:scope=internal:level=medium], "Message: the following mysql configs have duplicate items, please remove the duplicates:\n%s, Workaround: Please check the `mysql-instances` config in task configuration file."
   168  ErrConfigShardModeNotSupport,[code=20033:class=config:scope=internal:level=medium], "Message: shard mode %s not supported, Workaround: Please check the `shard-mode` config in task configuration file, which can be set to `pessimistic`/`optimistic`."
   169  ErrConfigMoreThanOne,[code=20034:class=config:scope=internal:level=high], "Message: found %d %s for %s which should <= 1"
   170  ErrConfigEtcdParse,[code=20035:class=config:scope=internal:level=high], "Message: incapable config of %s from etcd"
   171  ErrConfigMissingForBound,[code=20036:class=config:scope=internal:level=high], "Message: source bound %s doesn't have related source config in etcd"
   172  ErrConfigBinlogEventFilter,[code=20037:class=config:scope=internal:level=high], "Message: generate binlog event filter, Workaround: Please check the `filters` config in source and task configuration files."
   173  ErrConfigGlobalConfigsUnused,[code=20038:class=config:scope=internal:level=high], "Message: The configurations as following %v are set in global configuration but instances don't use them, Workaround: Please check the configuration files."
   174  ErrConfigExprFilterManyExpr,[code=20039:class=config:scope=internal:level=high], "Message: expression filter can only specify one of (insert, update, delete) expressions, but %s has specified %v, Workaround: If you want to filter by A or B, please write two filters."
   175  ErrConfigExprFilterNotFound,[code=20040:class=config:scope=internal:level=high], "Message: mysql-instance(%d)'s expression-filters %s not exist in expression-filter, Workaround: Please check the `expression-filters` config in task configuration file."
   176  ErrConfigExprFilterWrongGrammar,[code=20041:class=config:scope=internal:level=high], "Message: expression-filter name(%s) SQL(%s) has wrong grammar: %v, Workaround: Please check the `expression-filters` config in task configuration file."
   177  ErrConfigExprFilterEmptyName,[code=20042:class=config:scope=internal:level=high], "Message: expression-filter %s has empty %s, Workaround: Please check the `expression-filters` config in task configuration file."
   178  ErrConfigCheckerMaxTooSmall,[code=20043:class=config:scope=internal:level=high], "Message: `backoff-max` value %v is less than `backoff-min` value %v, Workaround: Please increase `backoff-max` config in task configuration file."
   179  ErrConfigGenBAList,[code=20044:class=config:scope=internal:level=high], "Message: generate block allow list error, Workaround: Please check the `block-allow-list` config in task configuration file."
   180  ErrConfigGenTableRouter,[code=20045:class=config:scope=internal:level=high], "Message: generate table router error, Workaround: Please check the `routes` config in task configuration file."
   181  ErrConfigGenColumnMapping,[code=20046:class=config:scope=internal:level=high], "Message: generate column mapping error, Workaround: Please check the `column-mappings` config in task configuration file."
   182  ErrConfigInvalidChunkFileSize,[code=20047:class=config:scope=internal:level=high], "Message: invalid `chunk-filesize` %v, Workaround: Please check the `chunk-filesize` config in task configuration file."
   183  ErrConfigOnlineDDLInvalidRegex,[code=20048:class=config:scope=internal:level=high], "Message: config '%s' regex pattern '%s' invalid, reason: %s, Workaround: Please check if params is correctly in the configuration file."
   184  ErrConfigOnlineDDLMistakeRegex,[code=20049:class=config:scope=internal:level=high], "Message: online ddl sql '%s' invalid, table %s fail to match '%s' online ddl regex, Workaround: Please update your `shadow-table-rules` or `trash-table-rules` in the configuration file."
   185  ErrOpenAPITaskConfigExist,[code=20050:class=config:scope=internal:level=low], "Message: the openapi task config for '%s' already exist, Workaround: If you want to override it, please use the overwrite flag."
   186  ErrOpenAPITaskConfigNotExist,[code=20051:class=config:scope=internal:level=low], "Message: the openapi task config for '%s' does not exist"
   187  ErrConfigCollationCompatibleNotSupport,[code=20052:class=config:scope=internal:level=medium], "Message: collation compatible %s not supported, Workaround: Please check the `collation_compatible` config in task configuration file, which can be set to `loose`/`strict`."
   188  ErrConfigInvalidLoadMode,[code=20053:class=config:scope=internal:level=medium], "Message: invalid load mode '%s', Workaround: Please choose a valid value in ['logical', 'physical']"
   189  ErrConfigInvalidDuplicateResolution,[code=20054:class=config:scope=internal:level=medium], "Message: invalid load on-duplicate-logical or on-duplicate option '%s', Workaround: Please choose a valid value in ['replace', 'error', 'ignore'] or leave it empty."
   190  ErrConfigValidationMode,[code=20055:class=config:scope=internal:level=high], "Message: invalid validation mode, Workaround: Please check `validation-mode` config in task configuration file."
   191  ErrContinuousValidatorCfgNotFound,[code=20056:class=config:scope=internal:level=medium], "Message: mysql-instance(%d)'s continuous validator config %s not exist, Workaround: Please check the `validator-config-name` config in task configuration file."
   192  ErrConfigStartTimeTooLate,[code=20057:class=config:scope=internal:level=high], "Message: start-time %s is too late, no binlog location matches it, Workaround: Please check the `--start-time` is expected or try again later."
   193  ErrConfigLoaderDirInvalid,[code=20058:class=config:scope=internal:level=high], "Message: loader's dir %s is invalid, Workaround: Please check the `dir` config in task configuration file."
   194  ErrConfigLoaderS3NotSupport,[code=20059:class=config:scope=internal:level=high], "Message: loader's dir %s is s3 dir, but s3 is not supported, Workaround: Please check the `dir` config in task configuration file and you can use `Lightning` by set config `import-mode` be `sql` which supports s3 instead."
   195  ErrConfigInvalidSafeModeDuration,[code=20060:class=config:scope=internal:level=medium], "Message: safe-mode-duration '%s' parsed failed: %v, Workaround: Please check the `safe-mode-duration` is correct."
   196  ErrConfigConfictSafeModeDurationAndSafeMode,[code=20061:class=config:scope=internal:level=low], "Message: safe-mode(true) conflicts with safe-mode-duration(0s), Workaround: Please set safe-mode to false or safe-mode-duration to non-zero."
   197  ErrConfigInvalidPhysicalDuplicateResolution,[code=20062:class=config:scope=internal:level=medium], "Message: invalid load on-duplicate-physical option '%s', Workaround: Please choose a valid value in ['none', 'manual'] or leave it empty."
   198  ErrConfigInvalidPhysicalChecksum,[code=20063:class=config:scope=internal:level=medium], "Message: invalid load checksum-physical option '%s', Workaround: Please choose a valid value in ['required', 'optional', 'off'] or leave it empty."
   199  ErrConfigColumnMappingDeprecated,[code=20064:class=config:scope=internal:level=high], "Message: column-mapping is not supported since v6.6.0, Workaround: Please use extract-table/extract-schema/extract-source to handle data conflict when merge tables. See https://docs.pingcap.com/tidb/v6.4/task-configuration-file-full#task-configuration-file-template-advanced"
   200  ErrConfigInvalidLoadAnalyze,[code=20065:class=config:scope=internal:level=medium], "Message: invalid load analyze option '%s', Workaround: Please choose a valid value in ['required', 'optional', 'off'] or leave it empty."
   201  ErrConfigStrictOptimisticShardMode,[code=20066:class=config:scope=internal:level=medium], "Message: cannot enable `strict-optimistic-shard-mode` while `shard-mode` is not `optimistic`, Workaround: Please set `shard-mode` to `optimistic` if you want to enable `strict-optimistic-shard-mode`."
   202  ErrConfigSecretKeyPath,[code=20067:class=config:scope=internal:level=high], "Message: invalid secret key path or content: %v, Workaround: Please check whether the path is valid, and has required permission to read the file, and the key is correct."
   203  ErrBinlogExtractPosition,[code=22001:class=binlog-op:scope=internal:level=high]
   204  ErrBinlogInvalidFilename,[code=22002:class=binlog-op:scope=internal:level=high], "Message: invalid binlog filename"
   205  ErrBinlogParsePosFromStr,[code=22003:class=binlog-op:scope=internal:level=high]
   206  ErrCheckpointInvalidTaskMode,[code=24001:class=checkpoint:scope=internal:level=medium], "Message: invalid task mode: %s"
   207  ErrCheckpointSaveInvalidPos,[code=24002:class=checkpoint:scope=internal:level=high], "Message: save point %s is older than current location %s"
   208  ErrCheckpointInvalidTableFile,[code=24003:class=checkpoint:scope=internal:level=medium], "Message: invalid db table sql file - %s"
   209  ErrCheckpointDBNotExistInFile,[code=24004:class=checkpoint:scope=internal:level=medium], "Message: db (%s) not exist in data files, but in checkpoint"
   210  ErrCheckpointTableNotExistInFile,[code=24005:class=checkpoint:scope=internal:level=medium], "Message: table (%s) not exist in db (%s) data files, but in checkpoint"
   211  ErrCheckpointRestoreCountGreater,[code=24006:class=checkpoint:scope=internal:level=medium], "Message: restoring count greater than total count for table[%v]"
   212  ErrTaskCheckSameTableName,[code=26001:class=task-check:scope=internal:level=medium], "Message: same table name in case-insensitive %v, Workaround: Please check `target-table` config in task configuration file."
   213  ErrTaskCheckFailedOpenDB,[code=26002:class=task-check:scope=internal:level=high], "Message: failed to open DSN %s:***@%s:%d, Workaround: Please check the database config in configuration file."
   214  ErrTaskCheckGenTableRouter,[code=26003:class=task-check:scope=internal:level=medium], "Message: generate table router error, Workaround: Please check the `routes` config in task configuration file."
   215  ErrTaskCheckGenColumnMapping,[code=26004:class=task-check:scope=internal:level=medium], "Message: generate column mapping error, Workaround: Please check the `column-mappings` config in task configuration file."
   216  ErrTaskCheckSyncConfigError,[code=26005:class=task-check:scope=internal:level=medium], "Message: %s: %v\n detail: %v"
   217  ErrTaskCheckGenBAList,[code=26006:class=task-check:scope=internal:level=medium], "Message: generate block allow list error, Workaround: Please check the `block-allow-list` config in task configuration file."
   218  ErrSourceCheckGTID,[code=26007:class=task-check:scope=internal:level=medium], "Message: %s has GTID_MODE = %s instead of ON, Workaround: Please check the `enable-gtid` config in source configuration file."
   219  ErrRelayParseUUIDIndex,[code=28001:class=relay-event-lib:scope=internal:level=high], "Message: parse server-uuid.index"
   220  ErrRelayParseUUIDSuffix,[code=28002:class=relay-event-lib:scope=internal:level=high], "Message: UUID (with suffix) %s not valid"
   221  ErrRelayUUIDWithSuffixNotFound,[code=28003:class=relay-event-lib:scope=internal:level=high], "Message: no UUID (with suffix) matched %s found in %s, all UUIDs are %v"
   222  ErrRelayGenFakeRotateEvent,[code=28004:class=relay-event-lib:scope=internal:level=high], "Message: generate fake rotate event"
   223  ErrRelayNoValidRelaySubDir,[code=28005:class=relay-event-lib:scope=internal:level=high], "Message: there aren't any data under relay log directory %s., Workaround: Please check relay log using query-status."
   224  ErrRelayUUIDSuffixNotValid,[code=30001:class=relay-unit:scope=internal:level=high], "Message: UUID %s suffix %d should be 1 larger than previous suffix %d"
   225  ErrRelayUUIDSuffixLessThanPrev,[code=30002:class=relay-unit:scope=internal:level=high], "Message: previous UUID %s has suffix larger than %s"
   226  ErrRelayLoadMetaData,[code=30003:class=relay-unit:scope=internal:level=high], "Message: load meta data"
   227  ErrRelayBinlogNameNotValid,[code=30004:class=relay-unit:scope=internal:level=high], "Message: relay-binlog-name %s not valid, Workaround: Please check the `relay-binlog-name` config in source config file."
   228  ErrRelayNoCurrentUUID,[code=30005:class=relay-unit:scope=internal:level=high], "Message: no current UUID set"
   229  ErrRelayFlushLocalMeta,[code=30006:class=relay-unit:scope=internal:level=high], "Message: flush local meta"
   230  ErrRelayUpdateIndexFile,[code=30007:class=relay-unit:scope=internal:level=high], "Message: update UUID index file %s"
   231  ErrRelayLogDirpathEmpty,[code=30008:class=relay-unit:scope=internal:level=high], "Message: dirpath is empty, Workaround: Please check the `relay-dir` config in source config file or dm-worker config file."
   232  ErrRelayReaderNotStateNew,[code=30009:class=relay-unit:scope=internal:level=high], "Message: stage %s, expect %s, already started"
   233  ErrRelayReaderStateCannotClose,[code=30010:class=relay-unit:scope=internal:level=high], "Message: stage %s, expect %s, can not close"
   234  ErrRelayReaderNeedStart,[code=30011:class=relay-unit:scope=internal:level=high], "Message: stage %s, expect %s"
   235  ErrRelayTCPReaderStartSync,[code=30012:class=relay-unit:scope=upstream:level=high], "Message: start sync from position %s"
   236  ErrRelayTCPReaderNilGTID,[code=30013:class=relay-unit:scope=internal:level=high], "Message: nil GTID set not valid"
   237  ErrRelayTCPReaderStartSyncGTID,[code=30014:class=relay-unit:scope=upstream:level=high], "Message: start sync from GTID set %s"
   238  ErrRelayTCPReaderGetEvent,[code=30015:class=relay-unit:scope=upstream:level=high], "Message: TCPReader get relay event with error"
   239  ErrRelayWriterNotStateNew,[code=30016:class=relay-unit:scope=internal:level=high], "Message: stage %s, expect %s, already started"
   240  ErrRelayWriterStateCannotClose,[code=30017:class=relay-unit:scope=internal:level=high], "Message: stage %s, expect %s, can not close"
   241  ErrRelayWriterNeedStart,[code=30018:class=relay-unit:scope=internal:level=high], "Message: stage %s, expect %s"
   242  ErrRelayWriterNotOpened,[code=30019:class=relay-unit:scope=internal:level=high], "Message: no underlying writer opened"
   243  ErrRelayWriterExpectRotateEv,[code=30020:class=relay-unit:scope=internal:level=high], "Message: except RotateEvent, but got %+v"
   244  ErrRelayWriterRotateEvWithNoWriter,[code=30021:class=relay-unit:scope=internal:level=high], "Message: non-fake RotateEvent %+v received, but no binlog file opened"
   245  ErrRelayWriterStatusNotValid,[code=30022:class=relay-unit:scope=internal:level=high], "Message: invalid status type %T of the underlying writer"
   246  ErrRelayWriterGetFileStat,[code=30023:class=relay-unit:scope=internal:level=high], "Message: get stat for %s"
   247  ErrRelayWriterLatestPosGTFileSize,[code=30024:class=relay-unit:scope=internal:level=high], "Message: latest pos %d greater than file size %d, should not happen"
   248  ErrRelayWriterFileOperate,[code=30025:class=relay-unit:scope=internal:level=high]
   249  ErrRelayCheckBinlogFileHeaderExist,[code=30026:class=relay-unit:scope=internal:level=high]
   250  ErrRelayCheckFormatDescEventExist,[code=30027:class=relay-unit:scope=internal:level=high]
   251  ErrRelayCheckFormatDescEventParseEv,[code=30028:class=relay-unit:scope=internal:level=high], "Message: parse %s"
   252  ErrRelayCheckIsDuplicateEvent,[code=30029:class=relay-unit:scope=internal:level=high]
   253  ErrRelayUpdateGTID,[code=30030:class=relay-unit:scope=internal:level=high], "Message: update GTID set %v with GTID %s"
   254  ErrRelayNeedPrevGTIDEvBeforeGTIDEv,[code=30031:class=relay-unit:scope=internal:level=high], "Message: should have a PreviousGTIDsEvent before the GTIDEvent %+v"
   255  ErrRelayNeedMaGTIDListEvBeforeGTIDEv,[code=30032:class=relay-unit:scope=internal:level=high], "Message: should have a MariadbGTIDListEvent before the MariadbGTIDEvent %+v"
   256  ErrRelayMkdir,[code=30033:class=relay-unit:scope=internal:level=high], "Message: relay mkdir"
   257  ErrRelaySwitchMasterNeedGTID,[code=30034:class=relay-unit:scope=internal:level=high], "Message: can only switch relay's master server when GTID enabled, Workaround: Please check `enable-gtid` config in source configuration file."
   258  ErrRelayThisStrategyIsPurging,[code=30035:class=relay-unit:scope=internal:level=high], "Message: this strategy is purging"
   259  ErrRelayOtherStrategyIsPurging,[code=30036:class=relay-unit:scope=internal:level=high], "Message: %s is purging"
   260  ErrRelayPurgeIsForbidden,[code=30037:class=relay-unit:scope=internal:level=high], "Message: relay log purge is forbidden temporarily, because %s, Workaround: Please try again later."
   261  ErrRelayNoActiveRelayLog,[code=30038:class=relay-unit:scope=internal:level=high], "Message: no active relay log file found"
   262  ErrRelayPurgeRequestNotValid,[code=30039:class=relay-unit:scope=internal:level=high], "Message: request %+v not valid"
   263  ErrRelayTrimUUIDNotFound,[code=30040:class=relay-unit:scope=internal:level=high], "Message: UUID %s in UUIDs %v not found"
   264  ErrRelayRemoveFileFail,[code=30041:class=relay-unit:scope=internal:level=high], "Message: remove relay log %s %s"
   265  ErrRelayPurgeArgsNotValid,[code=30042:class=relay-unit:scope=internal:level=high], "Message: args (%T) %+v not valid"
   266  ErrPreviousGTIDsNotValid,[code=30043:class=relay-unit:scope=internal:level=high], "Message: previousGTIDs %s not valid"
   267  ErrRotateEventWithDifferentServerID,[code=30044:class=relay-unit:scope=internal:level=high], "Message: receive fake rotate event with different server_id, Workaround: Please use `resume-relay` command if upstream database has changed"
   268  ErrDumpUnitRuntime,[code=32001:class=dump-unit:scope=internal:level=high], "Message: mydumper/dumpling runs with error, with output (may empty): %s"
   269  ErrDumpUnitGenTableRouter,[code=32002:class=dump-unit:scope=internal:level=high], "Message: generate table router, Workaround: Please check `routes` config in task configuration file."
   270  ErrDumpUnitGenBAList,[code=32003:class=dump-unit:scope=internal:level=high], "Message: generate block allow list, Workaround: Please check the `block-allow-list` config in task configuration file."
   271  ErrDumpUnitGlobalLock,[code=32004:class=dump-unit:scope=internal:level=high], "Message: Couldn't acquire global lock, Workaround: Please check upstream privilege about FTWRL, or add `--no-locks` or `--consistency none` to extra-args of mydumpers"
   272  ErrLoadUnitCreateSchemaFile,[code=34001:class=load-unit:scope=internal:level=medium], "Message: generate schema file, Workaround: Please check the `loaders` config in task configuration file."
   273  ErrLoadUnitInvalidFileEnding,[code=34002:class=load-unit:scope=internal:level=high], "Message: corresponding ending of sql: ')' not found"
   274  ErrLoadUnitParseQuoteValues,[code=34003:class=load-unit:scope=internal:level=high], "Message: parse quote values error"
   275  ErrLoadUnitDoColumnMapping,[code=34004:class=load-unit:scope=internal:level=high], "Message: mapping row data %v for table %+v"
   276  ErrLoadUnitReadSchemaFile,[code=34005:class=load-unit:scope=internal:level=high], "Message: read schema from sql file %s"
   277  ErrLoadUnitParseStatement,[code=34006:class=load-unit:scope=internal:level=high], "Message: parse statement %s"
   278  ErrLoadUnitNotCreateTable,[code=34007:class=load-unit:scope=internal:level=high], "Message: statement %s for %s/%s is not create table statement"
   279  ErrLoadUnitDispatchSQLFromFile,[code=34008:class=load-unit:scope=internal:level=high], "Message: dispatch sql"
   280  ErrLoadUnitInvalidInsertSQL,[code=34009:class=load-unit:scope=internal:level=high], "Message: invalid insert sql %s"
   281  ErrLoadUnitGenTableRouter,[code=34010:class=load-unit:scope=internal:level=high], "Message: generate table router, Workaround: Please check `routes` config in task configuration file."
   282  ErrLoadUnitGenColumnMapping,[code=34011:class=load-unit:scope=internal:level=high], "Message: generate column mapping, Workaround: Please check the `column-mapping-rules` config in task configuration file."
   283  ErrLoadUnitNoDBFile,[code=34012:class=load-unit:scope=internal:level=high], "Message: invalid data sql file, cannot find db - %s"
   284  ErrLoadUnitNoTableFile,[code=34013:class=load-unit:scope=internal:level=high], "Message: invalid data sql file, cannot find table - %s"
   285  ErrLoadUnitDumpDirNotFound,[code=34014:class=load-unit:scope=internal:level=high], "Message: %s does not exist or it's not a dir"
   286  ErrLoadUnitDuplicateTableFile,[code=34015:class=load-unit:scope=internal:level=high], "Message: invalid table schema file, duplicated item - %s"
   287  ErrLoadUnitGenBAList,[code=34016:class=load-unit:scope=internal:level=high], "Message: generate block allow list, Workaround: Please check the `block-allow-list` config in task configuration file."
   288  ErrLoadTaskWorkerNotMatch,[code=34017:class=functional:scope=internal:level=high], "Message: different worker in load stage, previous worker: %s, current worker: %s, Workaround: Please check if the previous worker is online."
   289  ErrLoadTaskCheckPointNotMatch,[code=34018:class=functional:scope=internal:level=high], "Message: inconsistent checkpoints between loader and target database, Workaround: If you want to redo the whole task, please check that you have not forgotten to add -remove-meta flag for start-task command."
   290  ErrLoadLightningRuntime,[code=34019:class=load-unit:scope=internal:level=high]
   291  ErrLoadLightningHasDup,[code=34020:class=load-unit:scope=internal:level=medium], "Message: physical import finished but the data has duplication, please check `%s`.`%s` to see the duplication, Workaround: You can refer to https://docs.pingcap.com/tidb/stable/tidb-lightning-physical-import-mode-usage#conflict-detection to manually insert data and resume the task."
   292  ErrLoadLightningChecksum,[code=34021:class=load-unit:scope=internal:level=medium], "Message: checksum mismatched, KV number in source files: %s, KV number in TiDB cluster: %s, Workaround: If TiDB cluster has more KV, please check if the migrated tables are empty before the task. If source files have more KV, please set `on-duplicate-physical` and restart the task to see data duplication. You can resume the task to ignore the error if you want."
   293  ErrSyncerUnitPanic,[code=36001:class=sync-unit:scope=internal:level=high], "Message: panic error: %v"
   294  ErrSyncUnitInvalidTableName,[code=36002:class=sync-unit:scope=internal:level=high], "Message: extract table name for DML error: %s"
   295  ErrSyncUnitTableNameQuery,[code=36003:class=sync-unit:scope=internal:level=high], "Message: table name parse error: %s"
   296  ErrSyncUnitNotSupportedDML,[code=36004:class=sync-unit:scope=internal:level=high], "Message: DMLNode %v not supported"
   297  ErrSyncUnitAddTableInSharding,[code=36005:class=sync-unit:scope=internal:level=medium], "Message: in sequence sharding, add table, activeDDL: %s, sharding sequence: %s not supported"
   298  ErrSyncUnitDropSchemaTableInSharding,[code=36006:class=sync-unit:scope=internal:level=medium], "Message: in sequence sharding try drop sources %v not supported, activeDDL: %s, sharding sequence: %s"
   299  ErrSyncUnitInvalidShardMeta,[code=36007:class=sync-unit:scope=internal:level=high], "Message: invalid sharding meta data"
   300  ErrSyncUnitDDLWrongSequence,[code=36008:class=sync-unit:scope=internal:level=high], "Message: detect inconsistent DDL sequence from source %+v, right DDL sequence should be %+v, Workaround: Please use `show-ddl-locks` command for more details."
   301  ErrSyncUnitDDLActiveIndexLarger,[code=36009:class=sync-unit:scope=internal:level=high], "Message: activeIdx %d larger than length of global DDLItems: %v"
   302  ErrSyncUnitDupTableGroup,[code=36010:class=sync-unit:scope=internal:level=high], "Message: table group %s exists"
   303  ErrSyncUnitShardingGroupNotFound,[code=36011:class=sync-unit:scope=internal:level=high], "Message: sharding group for %v not found"
   304  ErrSyncUnitSafeModeSetCount,[code=36012:class=sync-unit:scope=internal:level=high]
   305  ErrSyncUnitCausalityConflict,[code=36013:class=sync-unit:scope=internal:level=high], "Message: some conflicts in causality, must be resolved"
   306  ErrSyncUnitDMLStatementFound,[code=36014:class=sync-unit:scope=internal:level=high], "Message: only support ROW format binlog, unexpected DML statement found in query event"
   307  ErrSyncerUnitBinlogEventFilter,[code=36015:class=sync-unit:scope=internal:level=high]
   308  ErrSyncerUnitInvalidReplicaEvent,[code=36016:class=sync-unit:scope=internal:level=high], "Message: invalid replication event type %v"
   309  ErrSyncerUnitParseStmt,[code=36017:class=sync-unit:scope=internal:level=high]
   310  ErrSyncerUnitUUIDNotLatest,[code=36018:class=sync-unit:scope=internal:level=high], "Message: UUID %s not the latest one in UUIDs %v"
   311  ErrSyncerUnitDDLExecChanCloseOrBusy,[code=36019:class=sync-unit:scope=internal:level=high], "Message: the chan has closed or already in sending"
   312  ErrSyncerUnitDDLChanDone,[code=36020:class=sync-unit:scope=internal:level=high], "Message: canceled from external"
   313  ErrSyncerUnitDDLChanCanceled,[code=36021:class=sync-unit:scope=internal:level=high], "Message: canceled by Close or Renew"
   314  ErrSyncerUnitDDLOnMultipleTable,[code=36022:class=sync-unit:scope=internal:level=high], "Message: ddl on multiple table: %s not supported, Workaround: It is recommended to include only one DDL operation in a statement executed upstream. Please manually handle it using dmctl (skipping the DDL statement or replacing the DDL statement with a specified DDL statement). For details, see https://docs.pingcap.com/tidb-data-migration/stable/handle-failed-sql-statements"
   315  ErrSyncerUnitInjectDDLOnly,[code=36023:class=sync-unit:scope=internal:level=low], "Message: only support inject DDL for sharding group to be synced currently, but got %s"
   316  ErrSyncerUnitInjectDDLWithoutSchema,[code=36024:class=sync-unit:scope=internal:level=low], "Message: injected DDL %s without schema name not valid"
   317  ErrSyncerUnitNotSupportedOperate,[code=36025:class=sync-unit:scope=internal:level=medium], "Message: op %s not supported"
   318  ErrSyncerUnitNilOperatorReq,[code=36026:class=sync-unit:scope=internal:level=medium], "Message: nil request not valid"
   319  ErrSyncerUnitDMLColumnNotMatch,[code=36027:class=sync-unit:scope=internal:level=high], "Message: Column count doesn't match value count: %d (columns) vs %d (values), Workaround: Please check the log files to see if a related DDL has been skipped, and you could use `operate-schema` to get and set the table structure."
   320  ErrSyncerUnitDMLOldNewValueMismatch,[code=36028:class=sync-unit:scope=internal:level=high], "Message: Old value count doesn't match new value count: %d (old) vs %d (new)"
   321  ErrSyncerUnitDMLPruneColumnMismatch,[code=36029:class=sync-unit:scope=internal:level=high], "Message: prune DML columns and data mismatch in length: %d (columns) %d (data)"
   322  ErrSyncerUnitGenBinlogEventFilter,[code=36030:class=sync-unit:scope=internal:level=high], "Message: generate binlog event filter, Workaround: Please check the `filters` config in source and task configuration files."
   323  ErrSyncerUnitGenTableRouter,[code=36031:class=sync-unit:scope=internal:level=high], "Message: generate table router, Workaround: Please check `routes` config in task configuration file."
   324  ErrSyncerUnitGenColumnMapping,[code=36032:class=sync-unit:scope=internal:level=high], "Message: generate column mapping, Workaround: Please check the `column-mappings` config in task configuration file."
   325  ErrSyncerUnitDoColumnMapping,[code=36033:class=sync-unit:scope=internal:level=high], "Message: mapping row data %v for table %v"
   326  ErrSyncerUnitCacheKeyNotFound,[code=36034:class=sync-unit:scope=internal:level=high], "Message: cache key %s in %s not found"
   327  ErrSyncerUnitHeartbeatCheckConfig,[code=36035:class=sync-unit:scope=internal:level=medium], "Workaround: Please check `heartbeat` config in task configuration file."
   328  ErrSyncerUnitHeartbeatRecordExists,[code=36036:class=sync-unit:scope=internal:level=medium], "Message: heartbeat slave record for task %s already exists"
   329  ErrSyncerUnitHeartbeatRecordNotFound,[code=36037:class=sync-unit:scope=internal:level=medium], "Message: heartbeat slave record for task %s not found"
   330  ErrSyncerUnitHeartbeatRecordNotValid,[code=36038:class=sync-unit:scope=internal:level=medium], "Message: heartbeat record %s not valid"
   331  ErrSyncerUnitOnlineDDLInvalidMeta,[code=36039:class=sync-unit:scope=internal:level=high], "Message: online ddl meta invalid"
   332  ErrSyncerUnitOnlineDDLSchemeNotSupport,[code=36040:class=sync-unit:scope=internal:level=high], "Message: online ddl scheme (%s) not supported, Workaround: Please check the `online-ddl-scheme` config in task configuration file. Only `ghost` and `pt` are currently supported."
   333  ErrSyncerUnitOnlineDDLOnMultipleTable,[code=36041:class=sync-unit:scope=internal:level=high], "Message: online ddl changes on multiple table: %s not supported"
   334  ErrSyncerUnitGhostApplyEmptyTable,[code=36042:class=sync-unit:scope=internal:level=high], "Message: empty tables not valid"
   335  ErrSyncerUnitGhostRenameTableNotValid,[code=36043:class=sync-unit:scope=internal:level=high], "Message: tables should contain old and new table name"
   336  ErrSyncerUnitGhostRenameToGhostTable,[code=36044:class=sync-unit:scope=internal:level=high], "Message: rename table to gh-ost temporary table %s not supported"
   337  ErrSyncerUnitGhostRenameGhostTblToOther,[code=36045:class=sync-unit:scope=internal:level=high], "Message: rename gh-ost temporary table to other temporary table %s not supported"
   338  ErrSyncerUnitGhostOnlineDDLOnGhostTbl,[code=36046:class=sync-unit:scope=internal:level=high], "Message: online ddl metadata for ghost temporary table `%s`.`%s` not found"
   339  ErrSyncerUnitPTApplyEmptyTable,[code=36047:class=sync-unit:scope=internal:level=high], "Message: empty tables not valid"
   340  ErrSyncerUnitPTRenameTableNotValid,[code=36048:class=sync-unit:scope=internal:level=high], "Message: tables should contain old and new table name"
   341  ErrSyncerUnitPTRenameToPTTable,[code=36049:class=sync-unit:scope=internal:level=high], "Message: rename table to pt temporary table %s not supported"
   342  ErrSyncerUnitPTRenamePTTblToOther,[code=36050:class=sync-unit:scope=internal:level=high], "Message: rename pt temporary table to other temporary table %s not supported"
   343  ErrSyncerUnitPTOnlineDDLOnPTTbl,[code=36051:class=sync-unit:scope=internal:level=high], "Message: online ddl metadata for pt temporary table `%s`.`%s` not found, Workaround: This error may caused when the online DDL is filtered by binlog event filter, if so, please use `handle-error skip` sometimes to skip related DDLs."
   344  ErrSyncerUnitRemoteSteamerWithGTID,[code=36052:class=sync-unit:scope=internal:level=high], "Message: open remote streamer with GTID mode not supported"
   345  ErrSyncerUnitRemoteSteamerStartSync,[code=36053:class=sync-unit:scope=internal:level=high], "Message: start syncing binlog from remote streamer"
   346  ErrSyncerUnitGetTableFromDB,[code=36054:class=sync-unit:scope=internal:level=high], "Message: invalid table `%s`.`%s`"
   347  ErrSyncerUnitFirstEndPosNotFound,[code=36055:class=sync-unit:scope=internal:level=high], "Message: no valid End_log_pos of the first DDL exists for sharding group with source %s"
   348  ErrSyncerUnitResolveCasualityFail,[code=36056:class=sync-unit:scope=internal:level=high], "Message: resolve karam error %v"
   349  ErrSyncerUnitReopenStreamNotSupport,[code=36057:class=sync-unit:scope=internal:level=high], "Message: reopen %T not supported"
   350  ErrSyncerUnitUpdateConfigInSharding,[code=36058:class=sync-unit:scope=internal:level=high], "Message: try update config when some tables' (%v) sharding DDL not synced not supported, Workaround: Please try again later."
   351  ErrSyncerUnitExecWithNoBlockingDDL,[code=36059:class=sync-unit:scope=internal:level=high], "Message: process unit not waiting for sharding DDL to sync"
   352  ErrSyncerUnitGenBAList,[code=36060:class=sync-unit:scope=internal:level=high], "Message: generate block allow list, Workaround: Please check the `block-allow-list` config in task configuration file."
   353  ErrSyncerUnitHandleDDLFailed,[code=36061:class=sync-unit:scope=internal:level=high], "Message: fail to handle ddl job for %s"
   354  ErrSyncerShardDDLConflict,[code=36062:class=sync-unit:scope=internal:level=high], "Message: fail to handle shard ddl %v in optimistic mode, because schema conflict detected, conflict error: %s, Workaround: Please use show-ddl-locks command for more details."
   355  ErrSyncerFailpoint,[code=36063:class=sync-unit:scope=internal:level=low], "Message: failpoint specified error"
   356  ErrSyncerEvent,[code=36064:class=sync-unit:scope=internal:level=high]
   357  ErrSyncerOperatorNotExist,[code=36065:class=sync-unit:scope=internal:level=low], "Message: error operator not exist, position: %s"
   358  ErrSyncerEventNotExist,[code=36066:class=sync-unit:scope=internal:level=high], "Message: replace or inject event not exist, location: %s"
   359  ErrSyncerParseDDL,[code=36067:class=sync-unit:scope=internal:level=high], "Message: parse DDL: %s, Workaround: Please confirm your DDL statement is correct and needed. For TiDB compatible DDL, see https://docs.pingcap.com/tidb/stable/mysql-compatibility#ddl. You can use `handle-error` command to skip or replace the DDL or add a binlog filter rule to ignore it if the DDL is not needed."
   360  ErrSyncerUnsupportedStmt,[code=36068:class=sync-unit:scope=internal:level=high], "Message: `%s` statement not supported in %s mode"
   361  ErrSyncerGetEvent,[code=36069:class=sync-unit:scope=upstream:level=high], "Message: get binlog event error: %v, Workaround: Please check if the binlog file could be parsed by `mysqlbinlog`."
   362  ErrSyncerDownstreamTableNotFound,[code=36070:class=sync-unit:scope=internal:level=high], "Message: downstream table %s not found"
   363  ErrSyncerCancelledDDL,[code=11129:class=sync-unit:scope=internal:level=high], "Message: DDL %s executed in background and met error, Workaround: Please manually check the error from TiDB and handle it."
   364  ErrSyncerReprocessWithSafeModeFail,[code=36071:class=sync-unit:scope=internal:level=medium], "Message: your `safe-mode-duration` in task.yaml is set to 0s, the task can't be re-processed without safe mode currently, Workaround: Please stop and re-start this task. If you want to start task successfully, you need set `safe-mode-duration` greater than `0s`."
   365  ErrMasterSQLOpNilRequest,[code=38001:class=dm-master:scope=internal:level=medium], "Message: nil request not valid"
   366  ErrMasterSQLOpNotSupport,[code=38002:class=dm-master:scope=internal:level=medium], "Message: op %s not supported"
   367  ErrMasterSQLOpWithoutSharding,[code=38003:class=dm-master:scope=internal:level=medium], "Message: operate request without --sharding specified not valid"
   368  ErrMasterGRPCCreateConn,[code=38004:class=dm-master:scope=internal:level=high], "Message: create grpc connection"
   369  ErrMasterGRPCSendOnCloseConn,[code=38005:class=dm-master:scope=internal:level=high], "Message: send request on a closed client"
   370  ErrMasterGRPCClientClose,[code=38006:class=dm-master:scope=internal:level=high], "Message: close rpc client"
   371  ErrMasterGRPCInvalidReqType,[code=38007:class=dm-master:scope=internal:level=high], "Message: invalid request type: %v"
   372  ErrMasterGRPCRequestError,[code=38008:class=dm-master:scope=internal:level=high], "Message: grpc request error"
   373  ErrMasterDeployMapperVerify,[code=38009:class=dm-master:scope=internal:level=high], "Message: user should specify valid relation between source(mysql/mariadb) and dm-worker, config %+v not valid"
   374  ErrMasterConfigParseFlagSet,[code=38010:class=dm-master:scope=internal:level=medium], "Message: parse config flag set"
   375  ErrMasterConfigUnknownItem,[code=38011:class=dm-master:scope=internal:level=medium], "Message: master config contained unknown configuration options: %s"
   376  ErrMasterConfigInvalidFlag,[code=38012:class=dm-master:scope=internal:level=medium], "Message: '%s' is an invalid flag"
   377  ErrMasterConfigTomlTransform,[code=38013:class=dm-master:scope=internal:level=medium], "Message: config toml transform, Workaround: Please check the configuration file has correct TOML format."
   378  ErrMasterConfigTimeoutParse,[code=38014:class=dm-master:scope=internal:level=medium], "Message: parse rpc timeout str"
   379  ErrMasterConfigUpdateCfgFile,[code=38015:class=dm-master:scope=internal:level=high], "Message: update config file"
   380  ErrMasterShardingDDLDiff,[code=38016:class=dm-master:scope=internal:level=high], "Message: sharding ddls in ddl lock %s is different with %s, Workaround: Please use show-ddl-locks command for more details."
   381  ErrMasterStartService,[code=38017:class=dm-master:scope=internal:level=high], "Message: start server"
   382  ErrMasterNoEmitToken,[code=38018:class=dm-master:scope=internal:level=high], "Message: fail to get emit opportunity for source %s"
   383  ErrMasterLockNotFound,[code=38019:class=dm-master:scope=internal:level=high], "Message: lock with ID %s not found, Workaround: Please use show-ddl-locks command to see lock id."
   384  ErrMasterLockIsResolving,[code=38020:class=dm-master:scope=internal:level=high], "Message: lock %s is resolving"
   385  ErrMasterWorkerCliNotFound,[code=38021:class=dm-master:scope=internal:level=high], "Message: source %s relevant worker-client not found"
   386  ErrMasterWorkerNotWaitLock,[code=38022:class=dm-master:scope=internal:level=high], "Message: worker %s not waiting for DDL lock %s"
   387  ErrMasterHandleSQLReqFail,[code=38023:class=dm-master:scope=internal:level=high], "Message: request DDL lock %s owner %s handle SQLs request %s fail %s"
   388  ErrMasterOwnerExecDDL,[code=38024:class=dm-master:scope=internal:level=high], "Message: owner %s ExecuteDDL fail"
   389  ErrMasterPartWorkerExecDDLFail,[code=38025:class=dm-master:scope=internal:level=high], "Message: DDL lock %s owner ExecuteDDL successfully, so DDL lock removed. but some dm-workers ExecuteDDL fail, you should to handle dm-worker directly"
   390  ErrMasterWorkerExistDDLLock,[code=38026:class=dm-master:scope=internal:level=high], "Message: worker %s exist ddl lock, Workaround: Please unlock ddl lock first."
   391  ErrMasterGetWorkerCfgExtractor,[code=38027:class=dm-master:scope=internal:level=high]
   392  ErrMasterTaskConfigExtractor,[code=38028:class=dm-master:scope=internal:level=high]
   393  ErrMasterWorkerArgsExtractor,[code=38029:class=dm-master:scope=internal:level=high], "Workaround: Please use list-member command to see if the some workers are offline."
   394  ErrMasterQueryWorkerConfig,[code=38030:class=dm-master:scope=internal:level=high]
   395  ErrMasterOperNotFound,[code=38031:class=dm-master:scope=internal:level=high], "Message: operation %d of task %s on worker %s not found, Workaround: Please execute `query-status` to check status."
   396  ErrMasterOperRespNotSuccess,[code=38032:class=dm-master:scope=internal:level=high], "Message: some error occurs in dm-worker: %s, Workaround: Please execute `query-status` to check status."
   397  ErrMasterOperRequestTimeout,[code=38033:class=dm-master:scope=internal:level=high], "Message: request to dm-worker %s is timeout, but request may be successful, Workaround: Please execute `query-status` to check status."
   398  ErrMasterHandleHTTPApis,[code=38034:class=dm-master:scope=internal:level=high], "Message: serve http apis to grpc"
   399  ErrMasterHostPortNotValid,[code=38035:class=dm-master:scope=internal:level=high], "Message: host:port '%s' not valid, Workaround: Please check the `master-addr` config in master configuration file."
   400  ErrMasterGetHostnameFail,[code=38036:class=dm-master:scope=internal:level=high], "Message: get hostname fail"
   401  ErrMasterGenEmbedEtcdConfigFail,[code=38037:class=dm-master:scope=internal:level=high], "Message: fail to generate config item %s for embed etcd, Workaround: Please check configs in master configuration file."
   402  ErrMasterStartEmbedEtcdFail,[code=38038:class=dm-master:scope=internal:level=high], "Message: fail to start embed etcd, Workaround: Please check all dm-master of `initial-cluster` in configuration file is up, and check the log for a detailed error."
   403  ErrMasterParseURLFail,[code=38039:class=dm-master:scope=internal:level=high], "Message: fail to parse URL %s, Workaround: Please check configs in master configuration file."
   404  ErrMasterJoinEmbedEtcdFail,[code=38040:class=dm-master:scope=internal:level=high], "Message: fail to join embed etcd: %s, Workaround: Please check configs in master configuration file."
   405  ErrMasterInvalidOperateOp,[code=38041:class=dm-master:scope=internal:level=medium], "Message: invalid op %s on %s"
   406  ErrMasterAdvertiseAddrNotValid,[code=38042:class=dm-master:scope=internal:level=high], "Message: advertise address %s not valid, Workaround: Please check the `advertise-addr` config in master configuration file."
   407  ErrMasterRequestIsNotForwardToLeader,[code=38043:class=dm-master:scope=internal:level=high], "Message: master is not leader, and can't forward request to leader"
   408  ErrMasterIsNotAsyncRequest,[code=38044:class=dm-master:scope=internal:level=medium], "Message: request %s is not an async one, needn't wait for ok"
   409  ErrMasterFailToGetExpectResult,[code=38045:class=dm-master:scope=internal:level=medium], "Message: fail to get expected result"
   410  ErrMasterPessimistNotStarted,[code=38046:class=dm-master:scope=internal:level=medium], "Message: the shardddl pessimist has not started"
   411  ErrMasterOptimistNotStarted,[code=38047:class=dm-master:scope=internal:level=medium], "Message: the shardddl optimist has not started"
   412  ErrMasterMasterNameNotExist,[code=38048:class=dm-master:scope=internal:level=low], "Message: dm-master with name %s not exists, Workaround: Please use list-member command to see masters."
   413  ErrMasterInvalidOfflineType,[code=38049:class=dm-master:scope=internal:level=low], "Message: offline member type %s is invalid, Workaround: Please use master/worker."
   414  ErrMasterAdvertisePeerURLsNotValid,[code=38050:class=dm-master:scope=internal:level=high], "Message: advertise peer urls %s not valid, Workaround: Please check the `advertise-peer-urls` config in master configuration file."
   415  ErrMasterTLSConfigNotValid,[code=38051:class=dm-master:scope=internal:level=high], "Message: TLS config not valid, Workaround: Please check the `ssl-ca`, `ssl-cert` and `ssl-key` config in master configuration file."
   416  ErrMasterBoundChanging,[code=38052:class=dm-master:scope=internal:level=low], "Message: source bound is changed too frequently, last old bound %s:, new bound %s, Workaround: Please try again later"
   417  ErrMasterFailToImportFromV10x,[code=38053:class=dm-master:scope=internal:level=high], "Message: fail to import DM cluster from v1.0.x, Workaround: Please confirm that you have not violated any restrictions in the upgrade documentation."
   418  ErrMasterInconsistentOptimisticDDLsAndInfo,[code=38054:class=dm-master:scope=internal:level=high], "Message: inconsistent count of optimistic ddls and table infos, ddls: %d, table info: %d"
   419  ErrMasterOptimisticTableInfoBeforeNotExist,[code=38055:class=dm-master:scope=internal:level=high], "Message: table-info-before not exist in optimistic ddls: %v"
   420  ErrMasterOptimisticDownstreamMetaNotFound,[code=38056:class=dm-master:scope=internal:level=high], "Message: downstream database config and meta for task %s not found"
   421  ErrMasterInvalidClusterID,[code=38057:class=dm-master:scope=internal:level=high], "Message: invalid cluster id: %v"
   422  ErrMasterStartTask,[code=38058:class=dm-master:scope=internal:level=high], "Message: can not start task: %s reason: %s"
   423  ErrWorkerParseFlagSet,[code=40001:class=dm-worker:scope=internal:level=medium], "Message: parse dm-worker config flag set"
   424  ErrWorkerInvalidFlag,[code=40002:class=dm-worker:scope=internal:level=medium], "Message: '%s' is an invalid flag"
   425  ErrWorkerDecodeConfigFromFile,[code=40003:class=dm-worker:scope=internal:level=medium], "Message: toml decode file, Workaround: Please check the configuration file has correct TOML format."
   426  ErrWorkerUndecodedItemFromFile,[code=40004:class=dm-worker:scope=internal:level=medium], "Message: worker config contains unknown configuration options: %s, Workaround: Please check configs in worker configurtion file."
   427  ErrWorkerNeedSourceID,[code=40005:class=dm-worker:scope=internal:level=medium], "Message: dm-worker should bind a non-empty source ID which represents a MySQL/MariaDB instance or a replica group. \n notice: if you use old version dm-ansible, please update to newest version."
   428  ErrWorkerTooLongSourceID,[code=40006:class=dm-worker:scope=internal:level=medium], "Message: the length of source ID %s is more than max allowed value %d"
   429  ErrWorkerRelayBinlogName,[code=40007:class=dm-worker:scope=internal:level=medium], "Message: relay-binlog-name %s not valid"
   430  ErrWorkerWriteConfigFile,[code=40008:class=dm-worker:scope=internal:level=medium], "Message: write config to local file"
   431  ErrWorkerLogInvalidHandler,[code=40009:class=dm-worker:scope=internal:level=high], "Message: handler is nil, please pass a leveldb.DB or leveldb.Transaction"
   432  ErrWorkerLogPointerInvalid,[code=40010:class=dm-worker:scope=internal:level=high], "Message: not valid length data as pointer % X"
   433  ErrWorkerLogFetchPointer,[code=40011:class=dm-worker:scope=internal:level=high], "Message: fetch handled pointer"
   434  ErrWorkerLogUnmarshalPointer,[code=40012:class=dm-worker:scope=internal:level=high], "Message: unmarshal handle pointer % X"
   435  ErrWorkerLogClearPointer,[code=40013:class=dm-worker:scope=internal:level=high], "Message: clear handled pointer"
   436  ErrWorkerLogTaskKeyNotValid,[code=40014:class=dm-worker:scope=internal:level=high], "Message: not valid length data as task log key % X"
   437  ErrWorkerLogUnmarshalTaskKey,[code=40015:class=dm-worker:scope=internal:level=high], "Message: unmarshal task log % X"
   438  ErrWorkerLogFetchLogIter,[code=40016:class=dm-worker:scope=internal:level=high], "Message: fetch logs from meta with handle pointer %+v"
   439  ErrWorkerLogGetTaskLog,[code=40017:class=dm-worker:scope=internal:level=high], "Message: get task log %d from leveldb"
   440  ErrWorkerLogUnmarshalBinary,[code=40018:class=dm-worker:scope=internal:level=high], "Message: unmarshal task log binary % X"
   441  ErrWorkerLogForwardPointer,[code=40019:class=dm-worker:scope=internal:level=high], "Message: forward handled pointer to %d"
   442  ErrWorkerLogMarshalTask,[code=40020:class=dm-worker:scope=internal:level=high], "Message: marshal task log %+v"
   443  ErrWorkerLogSaveTask,[code=40021:class=dm-worker:scope=internal:level=high], "Message: save task log %+v"
   444  ErrWorkerLogDeleteKV,[code=40022:class=dm-worker:scope=internal:level=high], "Message: delete kv with prefix % X until % X"
   445  ErrWorkerLogDeleteKVIter,[code=40023:class=dm-worker:scope=internal:level=high], "Message: iterate kv with prefix % X"
   446  ErrWorkerLogUnmarshalTaskMeta,[code=40024:class=dm-worker:scope=internal:level=high], "Message: unmarshal task meta % X"
   447  ErrWorkerLogFetchTaskFromMeta,[code=40025:class=dm-worker:scope=internal:level=high], "Message: fetch tasks from meta with prefix % X"
   448  ErrWorkerLogVerifyTaskMeta,[code=40026:class=dm-worker:scope=internal:level=high]
   449  ErrWorkerLogSaveTaskMeta,[code=40027:class=dm-worker:scope=internal:level=high], "Message: save task meta %s into kv db"
   450  ErrWorkerLogGetTaskMeta,[code=40028:class=dm-worker:scope=internal:level=high], "Message: get task meta %s from kv db"
   451  ErrWorkerLogDeleteTaskMeta,[code=40029:class=dm-worker:scope=internal:level=high], "Message: delete task meta %s from kv db"
   452  ErrWorkerMetaTomlTransform,[code=40030:class=dm-worker:scope=internal:level=high], "Message: meta toml transform"
   453  ErrWorkerMetaOldFileStat,[code=40031:class=dm-worker:scope=internal:level=high], "Message: get old file stat"
   454  ErrWorkerMetaOldReadFile,[code=40032:class=dm-worker:scope=internal:level=high], "Message: read old metadata file %s"
   455  ErrWorkerMetaEncodeTask,[code=40033:class=dm-worker:scope=internal:level=high], "Message: encode task %v"
   456  ErrWorkerMetaRemoveOldDir,[code=40034:class=dm-worker:scope=internal:level=high], "Message: remove old meta dir"
   457  ErrWorkerMetaTaskLogNotFound,[code=40035:class=dm-worker:scope=internal:level=high], "Message: any task operation log not found"
   458  ErrWorkerMetaHandleTaskOrder,[code=40036:class=dm-worker:scope=internal:level=high], "Message: please handle task operation order by log ID, the log need to be handled is %+v, not %+v"
   459  ErrWorkerMetaOpenTxn,[code=40037:class=dm-worker:scope=internal:level=high], "Message: open kv db txn"
   460  ErrWorkerMetaCommitTxn,[code=40038:class=dm-worker:scope=internal:level=high], "Message: commit kv db txn"
   461  ErrWorkerRelayStageNotValid,[code=40039:class=dm-worker:scope=internal:level=high], "Message: current stage is %s, %s required, relay op %s"
   462  ErrWorkerRelayOperNotSupport,[code=40040:class=dm-worker:scope=internal:level=high], "Message: operation %s not supported"
   463  ErrWorkerOpenKVDBFile,[code=40041:class=dm-worker:scope=internal:level=high], "Message: open kv db file"
   464  ErrWorkerUpgradeCheckKVDir,[code=40042:class=dm-worker:scope=internal:level=high]
   465  ErrWorkerMarshalVerBinary,[code=40043:class=dm-worker:scope=internal:level=high], "Message: marshal version %s to binary data"
   466  ErrWorkerUnmarshalVerBinary,[code=40044:class=dm-worker:scope=internal:level=high], "Message: unmarshal version from data % X"
   467  ErrWorkerGetVersionFromKV,[code=40045:class=dm-worker:scope=internal:level=high], "Message: load version with key %v from levelDB"
   468  ErrWorkerSaveVersionToKV,[code=40046:class=dm-worker:scope=internal:level=high], "Message: save version %v into levelDB with key %v"
   469  ErrWorkerVerAutoDowngrade,[code=40047:class=dm-worker:scope=internal:level=high], "Message: the previous version %s is newer than current %s, automatic downgrade is not supported now, please handle it manually"
   470  ErrWorkerStartService,[code=40048:class=dm-worker:scope=internal:level=high], "Message: start server"
   471  ErrWorkerAlreadyClosed,[code=40049:class=dm-worker:scope=internal:level=high], "Message: mysql source handler worker already closed"
   472  ErrWorkerNotRunningStage,[code=40050:class=dm-worker:scope=internal:level=high], "Message: current stage is %s but not running, invalid"
   473  ErrWorkerNotPausedStage,[code=40051:class=dm-worker:scope=internal:level=high], "Message: current stage is %s but not paused, invalid"
   474  ErrWorkerUpdateTaskStage,[code=40052:class=dm-worker:scope=internal:level=high], "Message: can only update task on Paused stage, but current stage is %s, Workaround: Please use `pause-task` command to pause the task."
   475  ErrWorkerMigrateStopRelay,[code=40053:class=dm-worker:scope=internal:level=high], "Message: relay unit has stopped, can not be migrated"
   476  ErrWorkerSubTaskNotFound,[code=40054:class=dm-worker:scope=internal:level=high], "Message: sub task with name %s not found"
   477  ErrWorkerSubTaskExists,[code=40055:class=dm-worker:scope=internal:level=high], "Message: sub task %s already exists"
   478  ErrWorkerOperSyncUnitOnly,[code=40056:class=dm-worker:scope=internal:level=high], "Message: such operation is only available for syncer, but now syncer is not running. current unit is %s"
   479  ErrWorkerRelayUnitStage,[code=40057:class=dm-worker:scope=internal:level=high], "Message: Worker's relay log unit in invalid stage: %s"
   480  ErrWorkerNoSyncerRunning,[code=40058:class=dm-worker:scope=internal:level=high], "Message: there is a subtask does not run syncer"
   481  ErrWorkerCannotUpdateSourceID,[code=40059:class=dm-worker:scope=internal:level=high], "Message: update source ID is not allowed"
   482  ErrWorkerNoAvailUnits,[code=40060:class=dm-worker:scope=internal:level=high], "Message: subtask %s has no dm units for mode %s"
   483  ErrWorkerDDLLockInfoNotFound,[code=40061:class=dm-worker:scope=internal:level=high], "Message: DDLLockInfo with ID %s not found, Workaround: Please use show-ddl-locks command to see lock id."
   484  ErrWorkerDDLLockInfoExists,[code=40062:class=dm-worker:scope=internal:level=high], "Message: DDLLockInfo for task %s already exists"
   485  ErrWorkerCacheDDLInfoExists,[code=40063:class=dm-worker:scope=internal:level=high], "Message: CacheDDLInfo for task %s already exists"
   486  ErrWorkerExecSkipDDLConflict,[code=40064:class=dm-worker:scope=internal:level=high], "Message: execDDL and skipDDL can not specify both at the same time"
   487  ErrWorkerExecDDLSyncerOnly,[code=40065:class=dm-worker:scope=internal:level=high], "Message: only syncer support ExecuteDDL, but current unit is %s"
   488  ErrWorkerExecDDLTimeout,[code=40066:class=dm-worker:scope=internal:level=high], "Message: ExecuteDDL timeout (exceeding %s), Workaround: Please try use `query-status` to query whether the DDL is still blocking."
   489  ErrWorkerWaitRelayCatchupTimeout,[code=40067:class=dm-worker:scope=internal:level=high], "Message: waiting for relay to catch up with loader is timeout (exceeding %s), loader: %s, relay: %s"
   490  ErrWorkerRelayIsPurging,[code=40068:class=dm-worker:scope=internal:level=high], "Message: relay log purger is purging, cannot start sub task %s, Workaround: Please try again later."
   491  ErrWorkerHostPortNotValid,[code=40069:class=dm-worker:scope=internal:level=high], "Message: host:port '%s' not valid, Workaround: Please check configs in worker configuration file."
   492  ErrWorkerNoStart,[code=40070:class=dm-worker:scope=internal:level=high], "Message: no mysql source is being handled in the worker"
   493  ErrWorkerAlreadyStart,[code=40071:class=dm-worker:scope=internal:level=high], "Message: mysql source worker %s has already started with source %s, but get a request with source %s, Workaround: Please try restart this DM-worker"
   494  ErrWorkerSourceNotMatch,[code=40072:class=dm-worker:scope=internal:level=high], "Message: source of request does not match with source in worker"
   495  ErrWorkerWaitRelayCatchupGTID,[code=40078:class=dm-worker:scope=internal:level=high], "Message: cannot compare gtid between loader and relay, loader gtid: %s, relay gtid: %s"
   496  ErrWorkerUpdateSubTaskConfig,[code=40081:class=dm-worker:scope=internal:level=high], "Message: can only update task config for limited fields and this task must in sync unit, current task: %s current unit: %s"
   497  ErrWorkerFailToGetSubtaskConfigFromEtcd,[code=40073:class=dm-worker:scope=internal:level=medium], "Message: there is no relative subtask config for task %s in etcd"
   498  ErrWorkerFailToGetSourceConfigFromEtcd,[code=40074:class=dm-worker:scope=internal:level=medium], "Message: there is no relative source config for source %s in etcd"
   499  ErrWorkerDDLLockOpNotFound,[code=40075:class=dm-worker:scope=internal:level=high], "Message: missing shard DDL lock operation for shard DDL info (%s)"
   500  ErrWorkerTLSConfigNotValid,[code=40076:class=dm-worker:scope=internal:level=high], "Message: TLS config not valid, Workaround: Please check the `ssl-ca`, `ssl-cert` and `ssl-key` config in worker configuration file."
   501  ErrWorkerFailConnectMaster,[code=40077:class=dm-worker:scope=internal:level=high], "Message: cannot join with master endpoints: %v, error: %v, Workaround: Please check network connection of worker and check worker name is unique."
   502  ErrWorkerRelayConfigChanging,[code=40079:class=dm-worker:scope=internal:level=low], "Message: relay config of worker %s is changed too frequently, last relay source %s:, new relay source %s, Workaround: Please try again later"
   503  ErrWorkerRouteTableDupMatch,[code=40080:class=dm-worker:scope=internal:level=high], "Message: table %s.%s matches more than one rule, Workaround: please check the route rules in the task config"
   504  ErrWorkerValidatorNotPaused,[code=40082:class=dm-worker:scope=internal:level=high], "Message: current validator stage is %s but not paused, invalid"
   505  ErrWorkerServerClosed,[code=40083:class=dm-worker:scope=internal:level=low], "Message: worker server is closed"
   506  ErrHAFailTxnOperation,[code=42501:class=ha:scope=internal:level=high], "Message: fail to do etcd txn operation: %s, Workaround: Please check dm-master's node status and the network between this node and dm-master"
   507  ErrHAInvalidItem,[code=42502:class=ha:scope=internal:level=high], "Message: meets invalid ha item: %s, Workaround: Please check if there is any compatible problem and invalid manual etcd operations"
   508  ErrHAFailWatchEtcd,[code=42503:class=ha:scope=internal:level=high], "Message: fail to watch etcd: %s, Workaround: Please check dm-master's node status and the network between this node and dm-master"
   509  ErrHAFailLeaseOperation,[code=42504:class=ha:scope=internal:level=high], "Message: fail to do etcd lease operation: %s, Workaround: Please check dm-master's node status and the network between this node and dm-master"
   510  ErrHAFailKeepalive,[code=42505:class=ha:scope=internal:level=high], "Message: fail to keepalive to etcd: %s, Workaround: Please check dm-master's node status and the network between this node and dm-master"
   511  ErrTracerParseFlagSet,[code=42001:class=dm-tracer:scope=internal:level=medium], "Message: parse dm-tracer config flag set"
   512  ErrTracerConfigTomlTransform,[code=42002:class=dm-tracer:scope=internal:level=medium], "Message: config toml transform, Workaround: Please check the configuration file has correct TOML format."
   513  ErrTracerConfigInvalidFlag,[code=42003:class=dm-tracer:scope=internal:level=medium], "Message: '%s' is an invalid flag"
   514  ErrTracerTraceEventNotFound,[code=42004:class=dm-tracer:scope=internal:level=medium], "Message: trace event %s not found"
   515  ErrTracerTraceIDNotProvided,[code=42005:class=dm-tracer:scope=internal:level=medium], "Message: trace id not provided"
   516  ErrTracerParamNotValid,[code=42006:class=dm-tracer:scope=internal:level=medium], "Message: param %s value %s not valid"
   517  ErrTracerPostMethodOnly,[code=42007:class=dm-tracer:scope=internal:level=medium], "Message: post method only"
   518  ErrTracerEventAssertionFail,[code=42008:class=dm-tracer:scope=internal:level=high], "Message: type %s event: %v not valid"
   519  ErrTracerEventTypeNotValid,[code=42009:class=dm-tracer:scope=internal:level=high], "Message: trace event type %d not valid"
   520  ErrTracerStartService,[code=42010:class=dm-tracer:scope=internal:level=high], "Message: start server"
   521  ErrValidatorLoadPersistedData,[code=43001:class=validator:scope=internal:level=high], "Message: failed to load persisted data"
   522  ErrValidatorPersistData,[code=43002:class=validator:scope=internal:level=high], "Message: failed to persist checkpoint and data"
   523  ErrValidatorGetEvent,[code=43003:class=validator:scope=internal:level=high], "Message: failed to get event"
   524  ErrValidatorProcessRowEvent,[code=43004:class=validator:scope=internal:level=high], "Message: failed to process event"
   525  ErrValidatorValidateChange,[code=43005:class=validator:scope=internal:level=high], "Message: failed to validate row change"
   526  ErrValidatorNotFound,[code=43006:class=validator:scope=not-set:level=medium], "Message: validator not found for task %s with source %s"
   527  ErrValidatorPanic,[code=43007:class=validator:scope=internal:level=high], "Message: panic error: %v"
   528  ErrValidatorTooMuchPending,[code=43008:class=validator:scope=internal:level=medium], "Message: too much pending data, stop validator. row size(curr/max): %d/%d, row count(curr/max): %d/%d"
   529  ErrSchemaTrackerInvalidJSON,[code=44001:class=schema-tracker:scope=downstream:level=high], "Message: saved schema of `%s`.`%s` is not proper JSON"
   530  ErrSchemaTrackerCannotCreateSchema,[code=44002:class=schema-tracker:scope=internal:level=high], "Message: failed to create database for `%s` in schema tracker"
   531  ErrSchemaTrackerCannotCreateTable,[code=44003:class=schema-tracker:scope=internal:level=high], "Message: failed to create table for %v in schema tracker"
   532  ErrSchemaTrackerCannotSerialize,[code=44004:class=schema-tracker:scope=internal:level=high], "Message: failed to serialize table info for `%s`.`%s`"
   533  ErrSchemaTrackerCannotGetTable,[code=44005:class=schema-tracker:scope=internal:level=high], "Message: cannot get table info for %v from schema tracker"
   534  ErrSchemaTrackerCannotExecDDL,[code=44006:class=schema-tracker:scope=internal:level=high], "Message: cannot track DDL: %s, Workaround: You can use handle-error to replace or skip this DDL."
   535  ErrSchemaTrackerMarshalJSON,[code=44013:class=schema-tracker:scope=downstream:level=high], "Message: can not marshal struct maybe `%v` is unable to serialize"
   536  ErrSchemaTrackerUnMarshalJSON,[code=44014:class=schema-tracker:scope=downstream:level=high], "Message: can not unmarshal json maybe `%s` is not proper JSON"
   537  ErrSchemaTrackerUnSchemaNotExist,[code=44015:class=schema-tracker:scope=downstream:level=high], "Message: can not find `%s` in tracker"
   538  ErrSchemaTrackerCannotFetchDownstreamTable,[code=44007:class=schema-tracker:scope=downstream:level=medium], "Message: cannot fetch downstream table schema of %v to initialize upstream schema %v in schema tracker"
   539  ErrSchemaTrackerCannotParseDownstreamTable,[code=44008:class=schema-tracker:scope=internal:level=high], "Message: cannot parse downstream table schema of %v to initialize upstream schema %v in schema tracker"
   540  ErrSchemaTrackerInvalidCreateTableStmt,[code=44009:class=schema-tracker:scope=internal:level=medium], "Message: %s is not a valid `CREATE TABLE` statement"
   541  ErrSchemaTrackerRestoreStmtFail,[code=44010:class=schema-tracker:scope=internal:level=medium], "Message: fail to restore the statement"
   542  ErrSchemaTrackerCannotDropTable,[code=44011:class=schema-tracker:scope=internal:level=high], "Message: failed to drop table for %v in schema tracker"
   543  ErrSchemaTrackerInit,[code=44012:class=schema-tracker:scope=internal:level=high], "Message: failed to create schema tracker"
   544  ErrSchemaTrackerCannotSetDownstreamSQLMode,[code=44016:class=schema-tracker:scope=internal:level=high], "Message: failed to set default downstream sql_mode %v in schema tracker"
   545  ErrSchemaTrackerCannotInitDownstreamParser,[code=44017:class=schema-tracker:scope=internal:level=high], "Message: failed to init downstream parser by sql_mode %v in schema tracker"
   546  ErrSchemaTrackerCannotMockDownstreamTable,[code=44018:class=schema-tracker:scope=internal:level=high], "Message: failed to mock downstream table by create table statement %v in schema tracker"
   547  ErrSchemaTrackerCannotFetchDownstreamCreateTableStmt,[code=44019:class=schema-tracker:scope=internal:level=high], "Message: failed to fetch downstream table %v by show create table statement in schema tracker"
   548  ErrSchemaTrackerIsClosed,[code=44020:class=schema-tracker:scope=internal:level=high], "Message: schema tracker is closed"
   549  ErrSchedulerNotStarted,[code=46001:class=scheduler:scope=internal:level=high], "Message: the scheduler has not started"
   550  ErrSchedulerStarted,[code=46002:class=scheduler:scope=internal:level=medium], "Message: the scheduler has already started"
   551  ErrSchedulerWorkerExist,[code=46003:class=scheduler:scope=internal:level=medium], "Message: dm-worker with name %s already exists"
   552  ErrSchedulerWorkerNotExist,[code=46004:class=scheduler:scope=internal:level=medium], "Message: dm-worker with name %s not exists"
   553  ErrSchedulerWorkerOnline,[code=46005:class=scheduler:scope=internal:level=medium], "Message: dm-worker with name %s is still online, Workaround: Please shut it down first."
   554  ErrSchedulerWorkerInvalidTrans,[code=46006:class=scheduler:scope=internal:level=medium], "Message: invalid stage transformation for dm-worker %s, from %s to %s"
   555  ErrSchedulerSourceCfgExist,[code=46007:class=scheduler:scope=internal:level=medium], "Message: source config with ID %s already exists"
   556  ErrSchedulerSourceCfgNotExist,[code=46008:class=scheduler:scope=internal:level=medium], "Message: source config with ID %s not exists"
   557  ErrSchedulerSourcesUnbound,[code=46009:class=dm-master:scope=internal:level=medium], "Message: sources %v have not bound"
   558  ErrSchedulerSourceOpTaskExist,[code=46010:class=dm-master:scope=internal:level=medium], "Message: source with name %s need to operate has existing tasks %v, Workaround: Please `stop-task` first."
   559  ErrSchedulerRelayStageInvalidUpdate,[code=46011:class=scheduler:scope=internal:level=medium], "Message: invalid new expectant relay stage %s"
   560  ErrSchedulerRelayStageSourceNotExist,[code=46012:class=scheduler:scope=internal:level=medium], "Message: sources %v need to update expectant relay stage not exist"
   561  ErrSchedulerMultiTask,[code=46013:class=scheduler:scope=internal:level=medium], "Message: the scheduler cannot perform multiple different tasks %v in one operation"
   562  ErrSchedulerSubTaskExist,[code=46014:class=scheduler:scope=internal:level=medium], "Message: subtasks with name %s for sources %v already exist, Workaround: Please use `query-status` command to see tasks."
   563  ErrSchedulerSubTaskNotExist,[code=46034:class=scheduler:scope=internal:level=medium], "Message: subtasks with name %s for sources %v not exist, Workaround: Please create this subtask first."
   564  ErrSchedulerSubTaskStageInvalidUpdate,[code=46015:class=dm-master:scope=internal:level=medium], "Message: invalid new expectant subtask stage %s"
   565  ErrSchedulerSubTaskOpTaskNotExist,[code=46016:class=dm-master:scope=internal:level=medium], "Message: subtasks with name %s need to be operate not exist, Workaround: Please use `query-status` command to see tasks."
   566  ErrSchedulerSubTaskOpSourceNotExist,[code=46017:class=dm-master:scope=internal:level=medium], "Message: sources %v need to be operate not exist"
   567  ErrSchedulerTaskNotExist,[code=46018:class=scheduler:scope=internal:level=medium], "Message: task with name %s not exist, Workaround: Please use `query-status` command to see tasks."
   568  ErrSchedulerSubTaskCfgUpdate,[code=46035:class=scheduler:scope=internal:level=low], "Message: subtask with name %s source name %s can only update when no running tasks for now"
   569  ErrSchedulerRequireRunningTaskInSyncUnit,[code=46019:class=scheduler:scope=internal:level=high], "Message: running tasks %v to be transferred on source %s should in sync unit, Workaround: Please use `pause-task [-s source ...] task` to pause them first."
   570  ErrSchedulerRelayWorkersBusy,[code=46020:class=scheduler:scope=internal:level=high], "Message: these workers %s have started relay for sources %s respectively, Workaround: Please use `stop-relay` to stop them, or change your topology."
   571  ErrSchedulerRelayWorkersWrongBound,[code=46021:class=scheduler:scope=internal:level=high], "Message: these workers %s have bound for another sources %s respectively, Workaround: Please `start-relay` on free or same source workers."
   572  ErrSchedulerRelayWorkersWrongRelay,[code=46022:class=scheduler:scope=internal:level=high], "Message: these workers %s have started relay for another sources %s respectively, Workaround: Please correct sources in `stop-relay`."
   573  ErrSchedulerSourceOpRelayExist,[code=46023:class=scheduler:scope=internal:level=high], "Message: source with name %s need to operate has existing relay workers %s, Workaround: Please `stop-relay` first."
   574  ErrSchedulerLatchInUse,[code=46024:class=scheduler:scope=internal:level=low], "Message: when %s, resource %s is in use by other client, Workaround: Please try again later"
   575  ErrSchedulerSourceCfgUpdate,[code=46025:class=scheduler:scope=internal:level=low], "Message: source %s can only be updated when relay is disabled and no tasks are running for now"
   576  ErrSchedulerWrongWorkerInput,[code=46026:class=scheduler:scope=internal:level=medium], "Message: require DM master to modify worker [%s] with source [%s], but currently the worker is bound to source [%s]"
   577  ErrSchedulerBoundDiffWithStartedRelay,[code=46027:class=scheduler:scope=internal:level=medium], "Message: require DM worker [%s] to be bound to source [%s], but it has been started relay for source [%s], Workaround: If you intend to bind the source with worker, you can stop-relay for current source."
   578  ErrSchedulerStartRelayOnSpecified,[code=46028:class=scheduler:scope=internal:level=low], "Message: the source has `start-relay` with worker name for workers %v, so it can't `start-relay` without worker name now, Workaround: Please stop all relay workers first, or specify worker name for `start-relay`."
   579  ErrSchedulerStopRelayOnSpecified,[code=46029:class=scheduler:scope=internal:level=low], "Message: the source has `start-relay` with worker name for workers %v, so it can't `stop-relay` without worker name now, Workaround: Please specify worker names for `stop-relay`."
   580  ErrSchedulerStartRelayOnBound,[code=46030:class=scheduler:scope=internal:level=low], "Message: the source has `start-relay` automatically for bound worker, so it can't `start-relay` with worker name now, Workaround: Please stop relay by `stop-relay` without worker name first."
   581  ErrSchedulerStopRelayOnBound,[code=46031:class=scheduler:scope=internal:level=low], "Message: the source has `start-relay` automatically for bound worker, so it can't `stop-relay` with worker name now, Workaround: Please use `stop-relay` without worker name."
   582  ErrSchedulerPauseTaskForTransferSource,[code=46032:class=scheduler:scope=internal:level=low], "Message: failed to auto pause tasks %s when transfer-source, Workaround: Please pause task by `dmctl pause-task`."
   583  ErrSchedulerWorkerNotFree,[code=46033:class=scheduler:scope=internal:level=low], "Message: dm-worker with name %s not free"
   584  ErrCtlGRPCCreateConn,[code=48001:class=dmctl:scope=internal:level=high], "Message: can not create grpc connection, Workaround: Please check your network connection."
   585  ErrCtlInvalidTLSCfg,[code=48002:class=dmctl:scope=internal:level=medium], "Message: invalid TLS config, Workaround: Please check the `ssl-ca`, `ssl-cert` and `ssl-key` config in command line."
   586  ErrCtlLoadTLSCfg,[code=48003:class=dmctl:scope=internal:level=high], "Message: can not load tls config, Workaround: Please ensure that the tls certificate is accessible on the node currently running dmctl."
   587  ErrOpenAPICommonError,[code=49001:class=openapi:scope=internal:level=high], "Message: some unexpected errors have occurred, please check the detailed error message"
   588  ErrOpenAPITaskSourceNotFound,[code=49002:class=openapi:scope=internal:level=high], "Message: data source configuration not found, Workaround: Please check if the data source exists in the configuration file."
   589  ErrNotSet,[code=50000:class=not-set:scope=not-set:level=high]