summaryrefslogtreecommitdiffstats
path: root/extras/snap_scheduler/snap_scheduler.py
diff options
context:
space:
mode:
authorRavishankar N <ravishankar@redhat.com>2015-08-13 18:33:08 +0530
committerRaghavendra G <rgowdapp@redhat.com>2015-08-23 23:54:01 -0700
commit246dae5b89770a4642d4fbe4650a44475144c55a (patch)
treec7e2f205be77acf02e22445dc16e907c68790028 /extras/snap_scheduler/snap_scheduler.py
parent38f0caa2179f2594b9e49f7b06d246693db92c44 (diff)
afr: launch index heal on local subvols up on a child-up event
Backport of http://review.gluster.org/#/c/11912/ Problem: When a replica's child goes down and comes up, the index heal is triggered only on the child that just came up. This does not serve the intended purpose as the list of files that need to be healed to this child is actually captured on the other child of the replica. Fix: Launch index-heal on all local children of the replica xlator which just received a child up. Note that afr_selfheal_childup() eventually calls afr_shd_index_healer() which will not run the heal on non-local children. Signed-off-by: Ravishankar N <ravishankar@redhat.com> Change-Id: Ia23e47d197f983c695ec0bcd283e74931119ee55 BUG: 1255690 Reviewed-on: http://review.gluster.org/11982 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'extras/snap_scheduler/snap_scheduler.py')
0 files changed, 0 insertions, 0 deletions