SQLStore: Prevent concurrent migrations (#44101)
* SQLStore: Prevent concurrent migrations * Hide behind a feature toggle * Configurable locking attempt timeout * Update docs/sources/administration/configuration.md Co-authored-by: Igor Suleymanov <radiohead@users.noreply.github.com> Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
This commit is contained in:
co-authored by
Igor Suleymanov
achatterjee-grafana
parent
163b570f5d
commit
d718ee1918
@@ -125,7 +125,7 @@ type Store interface {
|
||||
DeleteDataSource(ctx context.Context, cmd *models.DeleteDataSourceCommand) error
|
||||
AddDataSource(ctx context.Context, cmd *models.AddDataSourceCommand) error
|
||||
UpdateDataSource(ctx context.Context, cmd *models.UpdateDataSourceCommand) error
|
||||
Migrate() error
|
||||
Migrate(bool) error
|
||||
Sync() error
|
||||
Reset() error
|
||||
Quote(value string) string
|
||||
|
||||
Reference in New Issue
Block a user