diff options
author | shishir gowda <shishirng@gluster.com> | 2011-10-03 17:21:19 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-10-05 22:22:34 -0700 |
commit | 1b2164ec8cfea7ab99fc4a0cb86fa3d41e4fb7e5 (patch) | |
tree | 1f7ff425d30727c05a032cd4306a85ab5cf234e4 /xlators/mgmt | |
parent | e397772955f10f22fcb920f34a32efd859fb727d (diff) |
Stripe: Prevent dir gfid mismatch and ENOTEMPTY errors
gfid mismatch issue-
rmdir- first remove from non first child (FC), and then last from FC. If one
fails, FC entry is not removed and op is failed.
mkdir- first create dir from FC, followed by other childs. If FC is success
then, we succeed, banking on entry self heal
ENOTEMPTY issue-
unlink: remove from non FC and then on success remove from FC. If non FC remove
fails, fail unlink
create- Create first on FC, and on success create on non FC.
Change-Id: Ia8b9e92cd2aba891d249d1995e383fea0581ffca
BUG: 3663
Reviewed-on: http://review.gluster.com/557
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amar@gluster.com>
Diffstat (limited to 'xlators/mgmt')
0 files changed, 0 insertions, 0 deletions