[Bugs] [Bug 1527275] feature/bitrot: remove internal xattrs from lookup cbk

bugzilla at redhat.com bugzilla at redhat.com
Wed Dec 20 00:03:01 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1527275



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/19046 committed in release-3.13 by
\"Ravishankar N\" <ravishankar at redhat.com> with a commit message-
feature/bitrot: remove internal xattrs from lookup cbk

Problem:
afr requests all xattrs in lookup via the list-xattr key. If bitrot is
enabled and later disabled, or if the bitrot xattrs were present due to
an older version of bitrot which used to create the xattrs without
enabling the feature, the xattrs (trusted.bit-rot.version in particular)
was not getting filtered and ended up reaching the client stack. AFR, on
noticing different values of the xattr across bricks of the replica,
started triggering spurious metadata heals.

Fix:
Filter all internal xattrs in bitrot xlator before unwinding lookup,
(f)getxattr.

Thanks to Kotresh for the help in RCA'ing.

Change-Id: I5bc70e4b901359c3daefc67b8e4fa6ddb47f046c
BUG: 1527275
Signed-off-by: Ravishankar N <ravishankar at redhat.com>
(cherry picked from commit d341f20230b9921391aff22337eaf9be82f44d88)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the Docs Contact for the bug.


More information about the Bugs mailing list