summaryrefslogtreecommitdiffstats
path: root/rpc
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:35:57 +0000
commit0ca374178e95baaa9dbfc516263520e9a5526464 (patch)
treed616487a0dcbf35c72c07a894ba26cd57ec409bd /rpc
parent0679490c0414646d781f96020f8e85b7a8c3c828 (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: 1527275 Signed-off-by: Ravishankar N <ravishankar@redhat.com> (cherry picked from commit d341f20230b9921391aff22337eaf9be82f44d88)
Diffstat (limited to 'rpc')
0 files changed, 0 insertions, 0 deletions