Description of problem: ------------------------- As per the design doc [ https://forge.gluster.org/snapshot/pages/Home ] "If any of the brick is down while taking snapshot then snapshot creation will fail. If force option is provided and quorum at server is met then snapshot creation will succeed if any bricks are down.." But able to create Snap of Distributed volume when one brick was down. Version-Release number of selected component (if applicable): ------------------------------------------------------------- 3.5qa2-0.340.gitc193996.el6_5.x86_64 How reproducible: always Steps to Reproduce: 1. created distributed volume having four brick. Start that volume and mount it 2. bring one brick down by killing brick process 3. take snap of that volume and its successful. [root@OVM3 ~]# gluster v status dht1 Status of volume: dht1 Gluster process Port Online Pid ------------------------------------------------------------------------------ Brick 10.70.35.13:/brick1 49152 Y 18048 Brick 10.70.35.54:/brick1 49152 Y 17629 Brick 10.70.35.71:/brick1 49152 Y 18199 Brick 10.70.35.159:/brick1 49152 Y 17610 NFS Server on localhost 2049 Y 18306 NFS Server on 10.70.35.159 2049 Y 18256 NFS Server on 10.70.35.71 2049 Y 18212 NFS Server on 10.70.35.54 2049 Y 18258 Task Status of Volume dht1 ------------------------------------------------------------------------------ There are no active volume tasks [root@OVM3 ~]# kill -9 18048 [root@OVM3 ~]# gluster v status dht1 Status of volume: dht1 Gluster process Port Online Pid ------------------------------------------------------------------------------ Brick 10.70.35.13:/brick1 N/A N 18048 Brick 10.70.35.54:/brick1 49152 Y 17629 Brick 10.70.35.71:/brick1 49152 Y 18199 Brick 10.70.35.159:/brick1 49152 Y 17610 NFS Server on localhost 2049 Y 18306 NFS Server on 10.70.35.159 2049 Y 18256 NFS Server on 10.70.35.54 2049 Y 18258 NFS Server on 10.70.35.71 2049 Y 18212 Task Status of Volume dht1 ------------------------------------------------------------------------------ There are no active volume tasks [root@OVM3 ~]# gluster snapshot create snap1 dht1 snapshot create: snap1: snap created successfully Actual results: Able to create Snap event hough brick is down Expected results: As per design doc, Snap creation should fail in case of brick down (for Distributed Volume) Additional info:
When the bug was raised the feature was still under development. The quorum patch went in recently.
*** This bug has been marked as a duplicate of bug 1089527 ***