Description of problem: In dht_revalidate_cbk, the stbuf returned by the brick is merged into local->stbuf only if the dir contains a layout. local->stbuf is also used to compare the stbuf returned in responses to check if an attr heal is needed. If the newly added brick (which does not contain a layout) is the first one to respond, its stbuf is not merged into local->stbuf. Subsequent responses from existing bricks never see a mismatch in the stbuf and self heal is not triggered. https://gluster-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/periodic-regression/668/console Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Upstream Patch: https://review.gluster.org/#/c/glusterfs/+/21611/
Tested the issue as per the test plan shared in #comment8, and could not reproduce the issue with the current release(3.12.2-36 build). So after discussing with Nag and based on the discussion in #comment17, moving this bug to verified.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0263