Skip to content

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

fix: remove unix socket file for ghost test (#10030)

zll600b006a3c0c3d1
diff --git a/backend/component/ghost/config.go b/backend/component/ghost/config.go
index adb26462cd..db3fa5fce1 100644
--- a/backend/component/ghost/config.go
+++ b/backend/component/ghost/config.go
@@ -274,6 +274,7 @@ func NewMigrationContext(taskID int, database *store.DatabaseMessage, dataSource
migrationContext.OriginalTableName = parser.GetExplicitTable()
}
migrationContext.ServeSocketFile = getSocketFilename(taskID, database.UID, database.DatabaseName, tableName)
+ migrationContext.DropServeSocket = true
migrationContext.PostponeCutOverFlagFile = GetPostponeFlagFilename(taskID, database.UID, database.DatabaseName, tableName)
migrationContext.TimestampAllTable = defaultConfig.timestampAllTable
migrationContext.SetHeartbeatIntervalMilliseconds(defaultConfig.heartbeatIntervalMilliseconds)