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" <jthottan> with a commit message- cluster/afr: Fail open on split-brain Problem: 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. Fix: 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. Change-Id: I4bff1c747c97bb2925d6987f4ced5f1ce75dbc15 BUG: 1544635 Signed-off-by: Pranith Kumar K <pkarampu> (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 [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/maintainers/2018-March/004303.html [2] https://www.gluster.org/pipermail/gluster-users/