diff options
author | Mohammed Rafi KC <rkavunga@redhat.com> | 2015-06-03 17:10:22 +0530 |
---|---|---|
committer | Dan Lambright <dlambrig@redhat.com> | 2015-06-25 19:55:51 -0700 |
commit | d3714f252d91f4d1d5df05c4dcc8bc7c2ee75326 (patch) | |
tree | 261bb34a3bf3bdf7d3969a54a2756f62acfa15d4 /tests | |
parent | cd05e036117a27377af8ff4a1cdba09f1de0a8eb (diff) |
tiering/rebalance: tier daemon stopped with out updating status
When a subvol goes down, tier daemon stopped immediately, and
the status shows as "Progressing".
With this change, with respect to tier xlator, when a subvol
goes offline it will update the status as failed.
Change-Id: I9f722ed0d35cda8c7fc1a7e75af52222e2d0fdb7
BUG: 1227803
Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com>
Reviewed-on: http://review.gluster.org/11068
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Dan Lambright <dlambrig@redhat.com>
Tested-by: Dan Lambright <dlambrig@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/basic/tier/tier.t | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/basic/tier/tier.t b/tests/basic/tier/tier.t index 3c01fb386ea..b3daae35843 100755 --- a/tests/basic/tier/tier.t +++ b/tests/basic/tier/tier.t @@ -73,6 +73,9 @@ TEST $CLI volume set $V0 features.ctr-enabled on #Not a tier volume TEST ! $CLI volume set $V0 cluster.tier-demote-frequency 4 +#testing bug #1228112, glusterd crashed when trying to detach-tier commit force on a non-tiered volume. +TEST ! $CLI volume detach-tier $V0 commit force + TEST $CLI volume attach-tier $V0 replica 2 $H0:$B0/${V0}$CACHE_BRICK_FIRST $H0:$B0/${V0}$CACHE_BRICK_LAST #Tier options expect non-negative value |