[Bugs] [Bug 1349385] New: [FEAT]jbr: Add rollbacking of failed fops

bugzilla at redhat.com bugzilla at redhat.com
Thu Jun 23 11:43:28 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1349385

            Bug ID: 1349385
           Summary: [FEAT]jbr: Add rollbacking of failed fops
           Product: GlusterFS
           Version: mainline
         Component: replicate
          Assignee: bugs at gluster.org
          Reporter: asengupt at redhat.com
                CC: bugs at gluster.org



Description of problem:
In case of a failed fop, the failure is detected by the leader in the
jbr-server in two places. First during a quorum check of +ve responses when it
receives responses from all the followers. At this point if the fop hasn't been
successfully journaled at a quorum of followers (as in there is no merit in
trying the fop in the leader as the quorum will never be met), then we fail the
fop.

Also if this quorum is met, then the fop is tried on the leader, and after the
leader completes the fop a quorum check similar to the previous one is done
again, this time including the leaders outcome. If quorum is not met, then we
fail the fop.

In these cases the followers and the leader where the fop was successfuly
journaled, need to be sent a rollback notifying them that the fop has to be
rolledback.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list