diff options
author | Dan Lambright <dlambrig@redhat.com> | 2015-11-03 18:27:18 -0500 |
---|---|---|
committer | Dan Lambright <dlambrig@redhat.com> | 2015-11-05 15:17:04 -0800 |
commit | a193bb3a711177d64d1c70277a70bb220161a293 (patch) | |
tree | e11be0d044ad48d52429adbfb1f6af1ed72895c8 | |
parent | f31e551c5acdb64c6409531417a2490d53009795 (diff) |
cluster/tier: fix lookup-unhashed on tiered volumes
During attach tier the commit hash must be copied to the hot tier.
Change-Id: I91b92fd8e98696993433856e1436409b657c439d
BUG: 1277716
Signed-off-by: Dan Lambright <dlambrig@redhat.com>
Reviewed-on: http://review.gluster.org/12498
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
-rw-r--r-- | xlators/cluster/dht/src/dht-rebalance.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xlators/cluster/dht/src/dht-rebalance.c b/xlators/cluster/dht/src/dht-rebalance.c index c5ff897873b..11164b6586a 100644 --- a/xlators/cluster/dht/src/dht-rebalance.c +++ b/xlators/cluster/dht/src/dht-rebalance.c @@ -2715,8 +2715,7 @@ gf_defrag_settle_hash (xlator_t *this, gf_defrag_info_t *defrag, * rebalance is complete. */ if (defrag->cmd == GF_DEFRAG_CMD_START_LAYOUT_FIX - || defrag->cmd == GF_DEFRAG_CMD_START_DETACH_TIER - || defrag->cmd == GF_DEFRAG_CMD_START_TIER) { + || defrag->cmd == GF_DEFRAG_CMD_START_DETACH_TIER) { return 0; } |