Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

feat: no postpone flag file for gh-ost sync task check (#1715)

p0ny44aae7dd305e
diff --git a/server/task_check_executor_ghost_sync.go b/server/task_check_executor_ghost_sync.go
index 81403e94a4..6db1a553ea 100644
--- a/server/task_check_executor_ghost_sync.go
+++ b/server/task_check_executor_ghost_sync.go
@@ -93,7 +93,7 @@ func (exec *TaskCheckGhostSyncExecutor) Run(ctx context.Context, server *Server,
table: tableName,
alterStatement: payload.Statement,
socketFilename: getSocketFilename(taskCheckRun.ID, task.Database.ID, databaseName, tableName),
- postponeFlagFilename: getPostponeFlagFilename(taskCheckRun.ID, task.Database.ID, databaseName, tableName),
+ postponeFlagFilename: "",
noop: true,
// On the source and each replica, you must set the server_id system variable to establish a unique replication ID. For each server, you should pick a unique positive integer in the range from 1 to 2^32 − 1, and each ID must be different from every other ID in use by any other source or replica in the replication topology. Example: server-id=3.
// https://dev.mysql.com/doc/refman/5.7/en/replication-options-source.html