diff options
author | Ravishankar N <ravishankar@redhat.com> | 2013-07-19 14:23:32 +0000 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-08-21 10:45:59 -0700 |
commit | 51c6fa7a354826744de98a1c5c747955ae65850c (patch) | |
tree | 3232be0125e46d19eaf1ed78c0f7a3715900895c /libglusterfs/src/glusterfs.h | |
parent | cc8b149f34b3dc76a4ec094b822816852f6cfd5f (diff) |
glusterd: add check in remove-brick start variant
The 'start' variant of the remove-brick command only applies at the dht
level wherein we can remove all the bricks of a sub-volume (and remove
multiple such sub-volumes) but not select bricks of it.
This patch disallows removing individual replica bricks of multiple
sub-volumes (i.e. reducing the replcia count of the volume) using
remove-brick 'start'. The preferred method for such an operation is to use
commit force.
This patch also reverts the check to prevent removal of bricks from a
replicate volume (commit 0d415f7)
BUG: 961669
Change-Id: I447ad27f73a0963b5e09fb317bf7267a7a5a6147
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Reviewed-on: http://review.gluster.org/5566
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'libglusterfs/src/glusterfs.h')
0 files changed, 0 insertions, 0 deletions