summaryrefslogtreecommitdiffstats
path: root/tests/experimental
diff options
context:
space:
mode:
authorRavishankar N <ravishankar@redhat.com>2017-09-20 12:16:06 +0530
committerjiffin tony Thottan <jthottan@redhat.com>2017-10-10 05:33:15 +0000
commitf73814ad08d552d94d0139b2592175d206e7a166 (patch)
tree16158b80a3b60f5726f3c3819a0116a85fe659a2 /tests/experimental
parent47604fad4c2a3951077e41e0c007ceb979bb2c24 (diff)
afr: heal gfid as a part of entry heal
Problem: If a brick crashes after an entry (file or dir) is created but before gfid is assigned, the good bricks will have pending entry heal xattrs but the heal won't complete because afr_selfheal_recreate_entry() tries to create the entry again and it fails with EEXIST. Fix: We could have fixed posx_mknod/mkdir etc to assign the gfid if the file already exists but the right thing to do seems to be to trigger a lookup on the bad brick and let it heal the gfid instead of winding an mknod/mkdir in the first place. (cherry picked from commit 20fa80057eb430fd72b4fa31b9b65598b8ec1265) Change-Id: I82f76665a7541f1893ef8d847b78af6466aff1ff BUG: 1499202 Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Diffstat (limited to 'tests/experimental')
0 files changed, 0 insertions, 0 deletions