mirror of
https://github.com/grafana/grafana.git
synced 2025-01-11 00:22:06 -06:00
SQLStore: Cleanup migrationLocking (#85054)
This commit is contained in:
parent
3c42a2efd2
commit
713970d00a
@ -161,7 +161,7 @@
|
|||||||
# For "mysql" and "postgres" only. Lock the database for the migrations, default is true.
|
# For "mysql" and "postgres" only. Lock the database for the migrations, default is true.
|
||||||
;migration_locking = true
|
;migration_locking = true
|
||||||
|
|
||||||
# For "mysql" and "postgres" only if migrationLocking is set. How many seconds to wait before failing to lock the database for the migrations, default is 0.
|
# For "mysql" and "postgres" only. How many seconds to wait before failing to lock the database for the migrations, default is 0.
|
||||||
;locking_attempt_timeout_sec = 0
|
;locking_attempt_timeout_sec = 0
|
||||||
|
|
||||||
# For "sqlite" only. How many times to retry query in case of database is locked failures. Default is 0 (disabled).
|
# For "sqlite" only. How many times to retry query in case of database is locked failures. Default is 0 (disabled).
|
||||||
|
@ -378,7 +378,7 @@ Set to `false` to disable database locking during the migrations. Default is tru
|
|||||||
|
|
||||||
### locking_attempt_timeout_sec
|
### locking_attempt_timeout_sec
|
||||||
|
|
||||||
For "mysql", if the `migrationLocking` feature toggle is set, specify the time (in seconds) to wait before failing to lock the database for the migrations. Default is 0.
|
For "mysql" and "postgres" only. Specify the time (in seconds) to wait before failing to lock the database for the migrations. Default is 0.
|
||||||
|
|
||||||
### log_queries
|
### log_queries
|
||||||
|
|
||||||
|
@ -265,7 +265,8 @@
|
|||||||
"metadata": {
|
"metadata": {
|
||||||
"name": "migrationLocking",
|
"name": "migrationLocking",
|
||||||
"resourceVersion": "1711130211436",
|
"resourceVersion": "1711130211436",
|
||||||
"creationTimestamp": "2024-03-22T17:56:51Z"
|
"creationTimestamp": "2024-03-22T17:56:51Z",
|
||||||
|
"deletionTimestamp": "2024-03-25T05:44:42Z"
|
||||||
},
|
},
|
||||||
"spec": {
|
"spec": {
|
||||||
"description": "Lock database during migrations",
|
"description": "Lock database during migrations",
|
||||||
|
Loading…
Reference in New Issue
Block a user