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:
REVIEW: http://review.gluster.org/12781 (dht: layout commit hash must be changed if all subvols do not have same commit hash) posted (#1) for review on master by Sakshi Bansal
REVIEW: http://review.gluster.org/12781 (dht: layout commit hash must be changed if all subvols do not have same commit hash) posted (#2) for review on master by Sakshi Bansal
REVIEW: http://review.gluster.org/12781 (dht: layout commit hash must be changed if all subvols do not have same commit hash) posted (#3) for review on master by Sakshi Bansal
REVIEW: http://review.gluster.org/12781 (dht: layout commit hash must be changed if all subvols do not have same commit hash) posted (#4) for review on master by Raghavendra G (rgowdapp)
REVIEW: http://review.gluster.org/12781 (dht: layout commit hash must be changed if all subvols do not have same commit hash) posted (#5) for review on master by Sakshi Bansal
We don't need this patch as commit-hash is set to invalid if commit-hash differs across subvols. Hence closing the bug.