summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volgen.c
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2020-02-11 15:42:05 +0530
committerPranith Kumar K <pkarampu@redhat.com>2020-02-11 18:49:13 +0530
commitd27df94016b5526c18ee964d4a47508326329dda (patch)
tree3761de30c5b221a6866d025c3e9961e2a76b5fc2 /xlators/mgmt/glusterd/src/glusterd-volgen.c
parent6de80bcd6366778ac34ce58ec496fa08cc02bd0b (diff)
tests: Fix spurious self-heald.t failure
Problem: heal-info code assumes that all indices in xattrop directory definitely need heal. There is one corner case. The very first xattrop on the file will lead to adding the gfid to 'xattrop' index in fop path and in _cbk path it is removed because the fop is zero-xattr xattrop in success case. These gfids could be read by heal-info and shown as needing heal. Fix: Check the pending flag to see if the file definitely needs or not instead of which index is being crawled at the moment. fixes: bz#1801623 Change-Id: I79f00dc7366fedbbb25ec4bec838dba3b34c7ad5 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.c')
0 files changed, 0 insertions, 0 deletions