diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2012-11-27 12:34:18 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-12-04 14:50:52 -0800 |
commit | 676b8793b9a77babf0275ee78eeacfa7291a8c35 (patch) | |
tree | 7f1a51c139060d43ae4e318961c8d222af760324 /xlators/performance | |
parent | d1bb60ad794dcf0fc8bf0cf8dc4ac13349d749d4 (diff) |
cluster/afr: mark new entry changelog for create/mknod failures
Problem:
When create/mknod fails on some of the nodes, appropriate pending
data/metadata changelogs are not assigned. This was not considered
to be an issue because entry self-heal would do the assigning of
appropriate changelog after creating new entries. But using
the combination of rebalance and remove brick we can construct a
case where a file with same name and gfid can be created in a dir
with different data and link-to xattr without any changelog.
Fix:
When a create/mknod failure is observed mark the appropriate
changelog on the new file created.
Change-Id: I4c32cbf5594a13fb14deaf97ff30b2fff11cbfd6
BUG: 858212
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/4207
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/performance')
0 files changed, 0 insertions, 0 deletions