+++ This bug was initially created as a clone of Bug #1717819 +++ Description of problem: We currently don't have a roll-back/undoing of post-ops if quorum is not met. Though the FOP is still unwound with failure, the xattrs remain on the disk. Due to these partial post-ops and partial heals (healing only when 2 bricks are up), we can end up in metadata split-brain purely from the afr xattrs point of view i.e each brick is blamed by atleast one of the others for metadata. These scenarios are hit when there is frequent connect/disconnect of the client/shd to the bricks.
REVIEW: https://review.gluster.org/24188 (Cluster/afr: Don't treat all bricks having metadata pending as split-brain) posted (#1) for review on release-5 by Karthik U S
This bug is moved to https://github.com/gluster/glusterfs/issues/1036, and will be tracked there from now on. Visit GitHub issues URL for further details
REVIEW: https://review.gluster.org/24188 (Cluster/afr: Don't treat all bricks having metadata pending as split-brain) merged (#2) on release-5 by Karthik U S