path: root/extras/
diff options
authorKotresh HR <>2014-10-03 17:35:47 +0530
committerVenky Shankar <>2014-10-12 19:42:10 -0700
commit3b5b5042ec2f119e3ec807829c101c421e90e2da (patch)
treeaa090a1fe94f2cc44d0a4951add079f894451953 /extras/
parentf5d544d435b1ca0868846e74ce292faa2e7388e4 (diff)
glusterd/geo-rep: Fix race in updating status file
When geo-rep is in paused state and a node in a cluster is rebooted, the geo-rep status goes to "faulty (Paused)" and no worker processes are started on that node yet. In this state, when geo-rep is resumed, there is a race in updating status file between glusterd and gsyncd itself as geo-rep is resumed first and then status is updated. glusterd tries to update to previous state and gsyncd tries to update it to "Initializing...(Paused)" on restart as it was paused previously. If gsyncd on restart wins, the state is always paused but the process is not acutally paused. So the solution is glusterd to update the status file and then resume. Change-Id: I348761a6e8c3ad2630c79833bc86587d062a8f92 BUG: 1149982 Signed-off-by: Kotresh HR <> Reviewed-on: Reviewed-by: Aravinda VK <> Tested-by: Gluster Build System <> Reviewed-by: Venky Shankar <> Tested-by: Venky Shankar <>
Diffstat (limited to 'extras/')
0 files changed, 0 insertions, 0 deletions