summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/event.c
diff options
context:
space:
mode:
authorRavishankar N <ravishankar@redhat.com>2015-08-13 18:33:08 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2015-08-21 03:50:05 -0700
commite4cefd6c5915dd47c6b42098236df3901665f93a (patch)
tree4eb89cd041580aee0366a6bf975704473b2faafb /libglusterfs/src/event.c
parentaa1b166984657d53e68a2c4cbd16d2e46c12436b (diff)
afr: launch index heal on local subvols up on a child-up event
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: 1253309 Reviewed-on: http://review.gluster.org/11912 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: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'libglusterfs/src/event.c')
0 files changed, 0 insertions, 0 deletions