diff options
author | Sachin Pandit <spandit@redhat.com> | 2014-05-12 07:54:59 +0530 |
---|---|---|
committer | Kaushal M <kaushal@redhat.com> | 2014-05-13 22:33:50 -0700 |
commit | 7d22fca1f5c9d792b148bae15e8d26a9c5d63efa (patch) | |
tree | 9d5fe26bb43b84d015c4b2f4fe1919a4f071d068 /rpc/xdr/src | |
parent | ba9aec54be5b8f00125ad018618a86de769fb6b5 (diff) |
glusterd/snapshot : Quorum check should not be made if we
perform snapshot status command.
Problem : Snapshot status command used to fail as it used to
hit the quorum check path.
Solution : The condition checking where snapname is fetched
based on the presence of snap_volume is moved inside create
switch case.
And also moved the chunk of code which does the actual
quorum check to new function to make the code more
readable.
Change-Id: Idda2d7c576cdfab3a7d087bfa74bfa616372c20e
BUG: 1096700
Signed-off-by: Sachin Pandit <spandit@redhat.com>
Reviewed-on: http://review.gluster.org/7737
Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-by: Kaushal M <kaushal@redhat.com>
Diffstat (limited to 'rpc/xdr/src')
0 files changed, 0 insertions, 0 deletions