diff options
| author | Ravishankar N <ravishankar@redhat.com> | 2014-05-08 11:57:03 +0000 |
|---|---|---|
| committer | Niels de Vos <ndevos@redhat.com> | 2014-05-14 01:34:42 -0700 |
| commit | febae2965d1104531d032b2a767428b3b5d5283f (patch) | |
| tree | d130c4e40190c38eb80c2b6c6ad916549e111ede /xlators/cluster/afr/src/afr-self-heal-data.c | |
| parent | 4b2da260afb962c3411e75cb450e081e675e51ff (diff) | |
cluster/afr: send opendirs to all children for entry self-heal
Problem: In entry self-heal, opendir was sent only to one source because of
which afr_sh_erase_pending() failed to clear the changelogs of other sources. So
heals were happening multiple times.
Fix :Send opendir to all sources.
Change-Id: Ief4f131848b24a0da782f29b9f1d40e136d3fcff
BUG: 1096040
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Reviewed-on: http://review.gluster.org/7723
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-data.c')
| -rw-r--r-- | xlators/cluster/afr/src/afr-self-heal-data.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-data.c b/xlators/cluster/afr/src/afr-self-heal-data.c index e740ac9a308..6c895dbde5d 100644 --- a/xlators/cluster/afr/src/afr-self-heal-data.c +++ b/xlators/cluster/afr/src/afr-self-heal-data.c @@ -1657,7 +1657,6 @@ afr_sh_data_open (call_frame_t *frame, xlator_t *this) fd = fd_create (local->loc.inode, frame->root->pid); sh->healing_fd = fd; - /* open sinks */ for (i = 0; i < priv->child_count; i++) { if(!local->child_up[i]) continue; |
