Bug 1447630

Summary: Don't allow rebalance/fix-layout operation on sharding enabled volumes till dht+sharding bugs are fixed
Product: [Community] GlusterFS Reporter: Atin Mukherjee <amukherj>
Component: distributeAssignee: bugs <bugs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, rtalur
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.12.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1447607 Environment:
Last Closed: 2017-09-05 17:28:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1447607, 1447608    

Description Atin Mukherjee 2017-05-03 11:12:52 UTC
+++ This bug was initially created as a clone of Bug #1447607 +++

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

Description of problem:

Expanding a gluster volume that is sharded may cause file corruption
Sharded volumes are typically used for VM images, if such volumes are expanded or possibly contracted (i.e add/remove bricks and rebalance) there are reports of VM images getting corrupted.
If you are using sharded volumes, DO NOT rebalance them till this is fixed
Status of this bug can be tracked here, #1426508

Comment 1 Worker Ant 2017-05-03 11:13:12 UTC
REVIEW: https://review.gluster.org/17160 (glusterd: disallow rebalance on a sharded volume) posted (#1) for review on master by Atin Mukherjee (amukherj)

Comment 2 Worker Ant 2017-05-03 13:13:19 UTC
REVIEW: https://review.gluster.org/17160 (glusterd: disallow rebalance on a sharded volume) posted (#2) for review on master by Atin Mukherjee (amukherj)

Comment 3 Worker Ant 2017-05-04 07:13:34 UTC
REVIEW: https://review.gluster.org/17160 (glusterd: disallow rebalance & remove-brick on a sharded volume) posted (#3) for review on master by Atin Mukherjee (amukherj)

Comment 4 Worker Ant 2017-05-04 20:49:42 UTC
COMMIT: https://review.gluster.org/17160 committed in master by Jeff Darcy (jeff.us) 
------
commit 8375b3d70d5c6268c6770b42a18b2e1bc09e411e
Author: Atin Mukherjee <amukherj>
Date:   Wed May 3 16:42:22 2017 +0530

    glusterd: disallow rebalance & remove-brick on a sharded volume
    
    Change-Id: Idfbdbc61ca18054fdbf7556f74e195a63cd8a554
    BUG: 1447630
    Signed-off-by: Atin Mukherjee <amukherj>
    Reviewed-on: https://review.gluster.org/17160
    Reviewed-by: Raghavendra Talur <rtalur>
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: N Balachandran <nbalacha>
    Reviewed-by: Amar Tumballi <amarts>
    CentOS-regression: Gluster Build System <jenkins.org>

Comment 5 Worker Ant 2017-05-05 08:22:43 UTC
REVIEW: https://review.gluster.org/17181 (glusterd: disallow rebalance & remove-brick on a sharded volume) posted (#1) for review on release-3.11 by Raghavendra Talur (rtalur)

Comment 6 Worker Ant 2017-05-05 08:22:54 UTC
REVIEW: https://review.gluster.org/17182 (glusterd: disallow rebalance & remove-brick on a sharded volume) posted (#1) for review on release-3.10 by Raghavendra Talur (rtalur)

Comment 7 Raghavendra Talur 2017-05-05 08:27:19 UTC
*** Bug 1447606 has been marked as a duplicate of this bug. ***

Comment 8 Shyamsundar 2017-09-05 17:28:29 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.12.0, please open a new bug report.

glusterfs-3.12.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/announce/2017-September/000082.html
[2] https://www.gluster.org/pipermail/gluster-users/