[Bugs] [Bug 1294051] Though files are in split-brain able to perform writes to the file
bugzilla at redhat.com
bugzilla at redhat.com
Tue Oct 24 13:56:56 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1294051
--- Comment #28 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/13075 committed in master by Pranith Kumar
Karampuri (pkarampu at redhat.com)
------
commit 786343abca3474ff01aa1017210112d97cbc4843
Author: Pranith Kumar K <pkarampu at redhat.com>
Date: Mon Sep 4 16:57:25 2017 +0530
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: 1294051
Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
--
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=d4M7jZjpnj&a=cc_unsubscribe
More information about the Bugs
mailing list