Skip to content

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

fix: remove default replicaServerId (#1635)

p0nyf3efaae49c8b
diff --git a/server/task_executor_schema_update_ghost_sync.go b/server/task_executor_schema_update_ghost_sync.go
index 8781bdc938..1da597b626 100644
--- a/server/task_executor_schema_update_ghost_sync.go
+++ b/server/task_executor_schema_update_ghost_sync.go
@@ -80,7 +80,6 @@ func newMigrationContext(config ghostConfig) (*base.MigrationContext, error) {
allowedRunningOnMaster = true
concurrentCountTableRows = true
hooksStatusIntervalSec = 60
- replicaServerID = 99999
heartbeatIntervalMilliseconds = 100
niceRatio = 0
chunkSize = 1000
@@ -114,7 +113,6 @@ func newMigrationContext(config ghostConfig) (*base.MigrationContext, error) {
migrationContext.AllowedRunningOnMaster = allowedRunningOnMaster
migrationContext.ConcurrentCountTableRows = concurrentCountTableRows
migrationContext.HooksStatusIntervalSec = hooksStatusIntervalSec
- migrationContext.ReplicaServerId = replicaServerID
migrationContext.CutOverType = base.CutOverAtomic
if migrationContext.AlterStatement == "" {