diff options
author | Ravishankar N <ravishankar@redhat.com> | 2015-08-24 07:16:44 +0000 |
---|---|---|
committer | Raghavendra Bhat <raghavendra@redhat.com> | 2015-09-09 04:53:48 -0700 |
commit | e6388d647c221e8041bc1d426fae2eaeef864aec (patch) | |
tree | 3b88b52df28a02dc4149b084dc165241ddcbe210 /libglusterfs | |
parent | 68a07320202efe24bb59937850e4bf24c6aad34c (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.
Change-Id: I524fda17c28864758b35679cfb232f81f8374571
BUG: 1256245
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Reviewed-on: http://review.gluster.org/11994
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Tested-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'libglusterfs')
0 files changed, 0 insertions, 0 deletions