SQLStore: Enable migration locking by default (#84983)

* Introduce new configuration for migration locking

* Remove feature toggle

* Fix test and turn it into an integration

* Fix docs
This commit is contained in:
Sofia Papagiannaki
2024-03-22 21:22:29 +02:00
committed by GitHub
parent 980b9a62c6
commit 33b653534e
13 changed files with 30 additions and 23 deletions
@@ -70,7 +70,6 @@ func MigrateEntityStore(db db.EntityDBInterface, features featuremgmt.FeatureTog
}
}
return mg.Start(
features.IsEnabledGlobally(featuremgmt.FlagMigrationLocking),
0)
// since it's a new feature enable migration locking by default
return mg.Start(true, 0)
}