Skip to content

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

feat: disable auto removing the old table (#1536)

p0ny81ec219a90d3
diff --git a/server/task_executor_schema_update_ghost_sync.go b/server/task_executor_schema_update_ghost_sync.go
index 9aba49bc29..2ba8016041 100644
--- a/server/task_executor_schema_update_ghost_sync.go
+++ b/server/task_executor_schema_update_ghost_sync.go
@@ -135,8 +135,6 @@ func newMigrationContext(config ghostConfig) (*base.MigrationContext, error) {
}
migrationContext.ServeSocketFile = config.socketFilename
migrationContext.PostponeCutOverFlagFile = config.postponeFlagFilename
- // TODO(p0ny): set OkToDropTable to false and drop table in dropOriginalTable Task.
- migrationContext.OkToDropTable = true
migrationContext.SetHeartbeatIntervalMilliseconds(heartbeatIntervalMilliseconds)
migrationContext.SetNiceRatio(niceRatio)
migrationContext.SetChunkSize(chunkSize)