Skip to content

Commit

Permalink
Merge pull request #392 from Akrog/fix-workers-issues
Browse files Browse the repository at this point in the history
Wait for DB writes to propagate (causality checks)
  • Loading branch information
openshift-merge-bot[bot] authored May 29, 2024
2 parents 76faf2f + 67b2877 commit 658ff9a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/cinder/config/00-global-defaults.conf
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ connection = {{ .DatabaseConnection }}
max_retries = -1
db_max_retries = -1

# Wait for writes to complete when doing a read, update, or insert
# Relevant for multi-master deployments so that workers table works as intended
# https://mariadb.com/docs/server/ref/mdb/system-variables/wsrep_sync_wait/
mysql_wsrep_sync_wait = 7

[os_brick]
lock_path = /var/locks/openstack/os-brick

Expand Down

0 comments on commit 658ff9a

Please sign in to comment.