|
From: | Raghavendra Bhat |
Subject: | [Gluster-devel] calculating brick quorum from glusterd |
Date: | Thu, 12 Sep 2013 11:24:31 +0530 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 |
Hi,As of now whenever a cli command is executed, all the glusterds will try to do the corresponding changes to their respective bricks. It would be better if glusterd can check whether the quorum (useful especially for afr replated operations) has been met, for some volume operations.
One way to handle this is, in the stage phase of the op, when the originator glusterd will broadcast the stage op to all the glusterds, the remaining glusterds will send the information about whether the bricks running in that machine are up or not. The originator glusterd will collect the information sent by other glusterds and will check whether the quorum has been met or not.
This can be used by some features such as snapshots where when snapshot cli command is issued, glusterd will fail the snapshot if quorum is not met.
Please provide the feedback. Regards, Raghavendra Bhat
[Prev in Thread] | Current Thread | [Next in Thread] |