Skip to content

Commit

Permalink
Merge pull request #548 from fmount/db-wait
Browse files Browse the repository at this point in the history
Wait for DB writes only on reads
  • Loading branch information
openshift-merge-bot[bot] authored Jun 5, 2024
2 parents ee2f531 + 980c318 commit 9531b1f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/common/config/00-config.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ use_keystone_limits = {{ .QuotaEnabled }}
connection = {{ .DatabaseConnection }}
max_retries = -1
db_max_retries = -1
# Wait for writes to complete when doing reads
# Relevant for multi-master deployments so that workers table, and possibly
# other tables, work as intended
# https://mariadb.com/docs/server/ref/mdb/system-variables/wsrep_sync_wait/
mysql_wsrep_sync_wait = 1

[file]
filesystem_store_datadir = /var/lib/glance/images
Expand Down

0 comments on commit 9531b1f

Please sign in to comment.