diff options
| author | Atin Mukherjee <amukherj@redhat.com> | 2017-09-07 19:14:23 +0530 |
|---|---|---|
| committer | Atin Mukherjee <amukherj@redhat.com> | 2017-09-19 02:54:10 +0000 |
| commit | 7f70d38b66ce755f848ff0197814457a28b321df (patch) | |
| tree | 1405b386f301715953a18c7050e1a29487c9f115 /tests/bugs/glusterd/bug-1094119-remove-replace-brick-support-from-glusterd.t | |
| parent | f6775423d7fbe71fe35e6154388e77aae2e264ad (diff) | |
glusterd: disallow replace brick for dist only volumes
Allowing replace-brick on dist only volumes will lead to data loss. This
patch blocks replace brick commit force to fail if a volume is dist
only.
Also removing tests/basic/pump.t as its of no use as per the discussion
in
http://lists.gluster.org/pipermail/gluster-devel/2017-September/053652.html
Change-Id: Iabb0c16f865f3fc361b64a19bfcf0c0fbb5c2682
BUG: 1489432
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-on: https://review.gluster.org/18226
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: N Balachandran <nbalacha@redhat.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'tests/bugs/glusterd/bug-1094119-remove-replace-brick-support-from-glusterd.t')
| -rw-r--r-- | tests/bugs/glusterd/bug-1094119-remove-replace-brick-support-from-glusterd.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/glusterd/bug-1094119-remove-replace-brick-support-from-glusterd.t b/tests/bugs/glusterd/bug-1094119-remove-replace-brick-support-from-glusterd.t index 43acfcf7289..30d375a1eb0 100644 --- a/tests/bugs/glusterd/bug-1094119-remove-replace-brick-support-from-glusterd.t +++ b/tests/bugs/glusterd/bug-1094119-remove-replace-brick-support-from-glusterd.t @@ -12,7 +12,7 @@ TEST glusterd TEST pidof glusterd ## Lets create and start volume -TEST $CLI volume create $V0 $H0:$B0/brick1 $H0:$B0/brick2 +TEST $CLI volume create $V0 replica 2 $H0:$B0/brick1 $H0:$B0/brick2 TEST $CLI volume start $V0 ## Now with this patch replace-brick only accept following commad |
