Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: no dump means no dump (#17104)
p0ny2149eddf74e2
diff --git a/backend/runner/taskrun/executor.go b/backend/runner/taskrun/executor.goindex 1e2b48ac5e..f65ef4f173 100644--- a/backend/runner/taskrun/executor.go+++ b/backend/runner/taskrun/executor.go@@ -502,7 +502,6 @@ func endMigration(ctx context.Context, storeInstance *store.Store, mc *migrateCoif needDump(mc.task.Type, mc.instance) {opts.LogDatabaseSyncStart()- // Sync with history creation - this also updates metadatasyncHistory, err := mc.syncer.SyncDatabaseSchemaToHistory(ctx, mc.database)if err != nil {opts.LogDatabaseSyncEnd(err.Error())@@ -510,20 +509,6 @@ func endMigration(ctx context.Context, storeInstance *store.Store, mc *migrateCo}opts.LogDatabaseSyncEnd("")update.SyncHistoryUID = &syncHistory- } else {- // Even if we don't need to create history, we still need to sync metadata- // This handles cases where needDump returns false but metadata still needs updating- opts.LogDatabaseSyncStart()- if err := mc.syncer.SyncDatabaseSchema(ctx, mc.database); err != nil {- opts.LogDatabaseSyncEnd(err.Error())- slog.Error("failed to sync database schema",- slog.String("instanceName", mc.instance.ResourceID),- slog.String("databaseName", mc.database.DatabaseName),- log.BBError(err),- )- } else {- opts.LogDatabaseSyncEnd("")- }}if isDone {