[Bugs] [Bug 1286404] New: Rebalance updates layout commit hash before healing directory on all subvols.

bugzilla at redhat.com bugzilla at redhat.com
Sun Nov 29 04:04:23 UTC 2015


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

            Bug ID: 1286404
           Summary: Rebalance updates layout commit hash before healing
                    directory on all subvols.
           Product: GlusterFS
           Version: mainline
         Component: distribute
          Assignee: bugs at gluster.org
          Reporter: sabansal at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Description of problem:
Rebalance after healing the directory sets the layout commit hash as the volume
commit hash for the local subvols. Hence if there were multiple nodes and
rebalance on one node has healed the directory, then the layout commit hashes
on one node may be same as volume commit hash and the others will still be
unequal.
This is a problem, as the client may read the updated commit hash and assume
that the entire directory is healed which is not the case.  

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


How reproducible:


Steps to Reproduce:
1. Create a distribute volume and ensure that the bricks are distributed across
atleast two different nodes.
2. Add more bricks and start rebalance.
3. Ensure that the rebalance for any directory is completed on one node and not
on others. 

Actual results:
The layout commit hash for that directory will be updated on the some of the
subvols even though the directory is not healed on all subvols.

Expected results:
Until the directory is not healed across all subvols, the layout commit hash
must not be same as volume level commit hash.


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