[Bugs] [Bug 1544635] Though files are in split-brain able to perform writes to the file
bugzilla at redhat.com
bugzilla at redhat.com
Thu Mar 8 06:40:25 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1544635
--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/19554 committed in release-3.12 by "jiffin
tony Thottan" <jthottan at redhat.com> 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 at redhat.com>
(cherry picked from commit 786343abca3474ff01aa1017210112d97cbc4843)
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=Oj8cxqIlyq&a=cc_unsubscribe
More information about the Bugs
mailing list