diff options
author | Anand Avati <avati@gluster.com> | 2011-03-10 03:21:21 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2011-03-14 03:09:07 -0700 |
commit | 2108ee66f226a124fd2ec20692e9941ed15464a5 (patch) | |
tree | 0126148edc09ac7c491444d906e4835c7449ffdd /cli/src/cli-cmd.c | |
parent | 3145f70fc27d8259b885049bcf7a737f4b7de569 (diff) |
afr-entry-self-heal: fixes to detected renames (gfid based)
- perform expunge first (before impunge) to be able to delete renamed away files
- perform readdirp instead of readdir to get gfid along with entry names
- if gfid mismatch is found, expunge the entry
Signed-off-by: Anand Avati <avati@gluster.com>
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 2500 (Self Healing not working)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2500
Diffstat (limited to 'cli/src/cli-cmd.c')
0 files changed, 0 insertions, 0 deletions