summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRavishankar N <ravishankar@redhat.com>2017-12-11 16:14:03 +0530
committerRavishankar N <ravishankar@redhat.com>2017-12-19 04:39:05 +0000
commit05e5c2a1f6ebc7659181d1344031da0ee77cb933 (patch)
tree084aa2a8d0610474c08117f453aed6c47bd4e197 /tests
parent7b8d2f12414d67da01bcbf1fc9872e07dac2e99f (diff)
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: 1527276 Signed-off-by: Ravishankar N <ravishankar@redhat.com> (cherry picked from commit d341f20230b9921391aff22337eaf9be82f44d88)
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions