diff options
author | Ashish Pandey <aspandey@redhat.com> | 2015-10-13 23:25:59 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2015-10-15 22:24:36 -0700 |
commit | 0f31ab1ba9bb7dbc47bfa68cbce81ec104d04ac4 (patch) | |
tree | fdd182a313cef55962c1096eaf85b3cebce78104 /xlators/mgmt/glusterd/src | |
parent | 0c02fefaf7d6b54f4d9cae2b1ae1f2b657857625 (diff) |
cluster/ec : Remove index entries if file/dir does not exist
Problem: During write and rebalance if a brick is down, index
entries will be created. If the same file gets migrated to
other subvol by rebalance process, these index entries will
remain in index directory. During heal, these indices should
be removed when we get ENOENT or ESTALE for a index.
Solution: Capture correct errno and take appropriate action
to purge these indices.
Change-Id: I1aad8b99e4df2e139648e3bf971e4cb1c4b38699
Bug: 1271358
Signed-off-by: Ashish Pandey <aspandey@redhat.com>
Reviewed-on: http://review.gluster.org/12353
Reviewed-by: Xavier Hernandez <xhernandez@datalab.es>
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src')
0 files changed, 0 insertions, 0 deletions