Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tangenta committed Nov 21, 2023
1 parent 6840bd7 commit b949d74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion errors.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1343,7 +1343,7 @@ Unsupported clustered primary key type FLOAT/DOUBLE for TTL

["ddl:8200"]
error = '''
Unsupported tidb_enable_dist_task setting. Please enable tidb_ddl_enable_fast_reorg to use distributed task execution.
Unsupported tidb_enable_dist_task setting. To utilize distributed task execution, please enable tidb_ddl_enable_fast_reorg first.
'''

["ddl:8201"]
Expand Down
2 changes: 1 addition & 1 deletion pkg/util/dbterror/ddl_terror.go
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ var (
// ErrUnsupportedDistTask is for `tidb_enable_dist_task enabled` but `tidb_ddl_enable_fast_reorg` disabled.
ErrUnsupportedDistTask = ClassDDL.NewStdErr(mysql.ErrUnsupportedDDLOperation,
parser_mysql.Message(fmt.Sprintf(mysql.MySQLErrName[mysql.ErrUnsupportedDDLOperation].Raw,
"tidb_enable_dist_task setting. Please enable tidb_ddl_enable_fast_reorg to use distributed task execution."), nil))
"tidb_enable_dist_task setting. To utilize distributed task execution, please enable tidb_ddl_enable_fast_reorg first."), nil))
)

// ReorgRetryableErrCodes is the error codes that are retryable for reorganization.
Expand Down

0 comments on commit b949d74

Please sign in to comment.