REVIEW: https://review.gluster.org/19554 (cluster/afr: Fail open on split-brain) posted (#1) for review on release-3.12 by Karthik U S
COMMIT: https://review.gluster.org/19554 committed in release-3.12 by "jiffin tony Thottan" <email@example.com> with a commit message- cluster/afr: Fail open on split-brain
Append on a file with split-brain succeeds. Open is intercepted by open-behind,
when write comes on the file, open-behind does open+write. Open succeeds
because afr doesn't fail it. Then write succeeds because write-behind
intercepts it. Flush is also intercepted by write-behind, so the application
never gets to know that the write failed.
Fail open on split-brain, so that when open-behind does open+write open fails
which leads to write failure. Application will know about this failure.
Signed-off-by: Pranith Kumar K <firstname.lastname@example.org>
(cherry picked from commit 786343abca3474ff01aa1017210112d97cbc4843)
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.12.7, please open a new bug report.
glusterfs-3.12.7 has been announced on the Gluster mailinglists , packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist  and the update infrastructure for your distribution.