Increase galera sync timeout in yum_update.sh
authorJiri Stransky <jistr@redhat.com>
Tue, 26 Jan 2016 17:23:00 +0000 (18:23 +0100)
committerJiri Stransky <jistr@redhat.com>
Tue, 26 Jan 2016 17:25:08 +0000 (18:25 +0100)
We've seen the 360 second threshold broken and a failed update because
of that, even though Galera eventually synced fine, clusterchecks OK and
pcs status clean. This will give Galera more time to perform the sync.

Change-Id: I17207ec9b4038fb9540582c9b0b717f9b85a78b9
Closes-Bug: #1538218

extraconfig/tasks/yum_update.sh

index 3917902..364d734 100755 (executable)
@@ -23,7 +23,7 @@ update_identifier=${update_identifier//[^a-zA-Z0-9-_]/}
 
 # seconds to wait for this node to rejoin the cluster after update
 cluster_start_timeout=600
-galera_sync_timeout=360
+galera_sync_timeout=1800
 cluster_settle_timeout=1800
 
 timestamp_file="$timestamp_dir/$update_identifier"