SQLStore: Cleanup migrationLocking (#85054)

This commit is contained in:
Ryan McKinley 2024-03-25 10:09:15 +03:00 committed by GitHub
parent 3c42a2efd2
commit 713970d00a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions

View File

@ -161,7 +161,7 @@
# For "mysql" and "postgres" only. Lock the database for the migrations, default is 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
# For "sqlite" only. How many times to retry query in case of database is locked failures. Default is 0 (disabled).

View File

@ -378,7 +378,7 @@ Set to `false` to disable database locking during the migrations. Default is tru
### 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

View File

@ -265,7 +265,8 @@
"metadata": {
"name": "migrationLocking",
"resourceVersion": "1711130211436",
"creationTimestamp": "2024-03-22T17:56:51Z"
"creationTimestamp": "2024-03-22T17:56:51Z",
"deletionTimestamp": "2024-03-25T05:44:42Z"
},
"spec": {
"description": "Lock database during migrations",