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

bugzilla at redhat.com bugzilla at redhat.com
Fri Jun 19 03:40:14 UTC 2015


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

            Bug ID: 1233484
           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: pkarampu at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com,
                    xhernandez at datalab.es
        Depends On: 1233258
            Blocks: 1233282



+++ 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 10:52:24 EDT ---

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)

--- Additional comment from Anand Avati on 2015-06-18 12:17:32 EDT ---

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

--- Additional comment from Anand Avati on 2015-06-18 23:39:07 EDT ---

REVIEW: http://review.gluster.org/11317 (cluster/ec: Avoid parallel executions
of the same state machine) posted (#3) for review on master by Pranith Kumar
Karampuri (pkarampu at redhat.com)


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
https://bugzilla.redhat.com/show_bug.cgi?id=1233282
[Bug 1233282] 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