[Bugs] [Bug 1233282] New: Possible double execution of the state machine for fops that start other subfops

bugzilla at redhat.com bugzilla at redhat.com
Thu Jun 18 15:16:49 UTC 2015


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

            Bug ID: 1233282
           Summary: Possible double execution of the state machine for
                    fops that start other subfops
           Product: GlusterFS
           Version: 3.7.1
         Component: disperse
          Keywords: Triaged
          Assignee: bugs at gluster.org
          Reporter: xhernandez at datalab.es
                CC: bugs at gluster.org, gluster-bugs at redhat.com
        Depends On: 1233258



+++ This bug was initially created as a clone of Bug #1233258 +++

Description of problem:

When a fop starts a subfop as part of its own execution, it's possible that
this subfop finishes before the manager has completed the processing of the
current state. In this case ec_resume() is called and a new instance of the
same state machine is executed by another thread.

This could cause multiple problems.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Anand Avati on 2015-06-18 16:52:24 CEST ---

REVIEW: http://review.gluster.org/11317 (cluster/ec: Avoid parallel executions
of the same state machine) posted (#1) for review on master by Xavier Hernandez
(xhernandez at datalab.es)


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1233258
[Bug 1233258] Possible double execution of the state machine for fops that
start other subfops
-- 
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