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 Karampuri <pkarampu@redhat.com>2020-02-13 07:12:46 +0000
commit965503fc2d32d562c7956d4935f9c00768ed4e13 (patch)
treea41b156d289c1af6a8e27b46bfb4261b4ba47ede /xlators/mgmt/glusterd/src/glusterd-volgen.c
parent04b4211c16799d6a85b496b8d845e29565fb884d (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#1802449 Change-Id: I79f00dc7366fedbbb25ec4bec838dba3b34c7ad5 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> (cherry picked from commit d27df94016b5526c18ee964d4a47508326329dda)
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.c')
0 files changed, 0 insertions, 0 deletions