[Bugs] [Bug 1205592] New: [glusterd-snapshot] - Quorum must be computed using existing peers
bugzilla at redhat.com
bugzilla at redhat.com
Wed Mar 25 09:30:23 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1205592
Bug ID: 1205592
Summary: [glusterd-snapshot] - Quorum must be computed using
existing peers
Product: GlusterFS
Version: mainline
Component: glusterd
Assignee: kparthas at redhat.com
Reporter: kparthas at redhat.com
CC: bugs at gluster.org, gluster-bugs at redhat.com
Description of problem:
Volume-snapshot feature inherits the notion of quorum from the server-side
quorum feature. In this feature, quorum is computed on the set of peers
participating in the ongoing transaction. This is incorrect.
For e.g,
Snapshot create should fail if there are less than 50% (by default) of nodes
are online in a cluster.
Let's take a storage pool made of 5 nodes. We need at least 3 nodes online for
snapshot create command to succeed. But if we computed quorum on the no. of
nodes participating (i.e online at the beginning of the transaction) then we
would violate the pre-requisite for successful completion of snapshot-create.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Create a volume and start it.
2. Bring a few nodes offline, such that server-quorum* (50% default) is not
met.
3. Take a volume-snapshot using snapshot-create command.
* - Server-quorum need not be configured for snapshot-create to function
properly.
Actual results:
Snapshot create will succeed.
Expected results:
Snapshot create should fail.
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=lw2aBkM0tv&a=cc_unsubscribe
More information about the Bugs
mailing list