diff options
author | Dan Lambright <dlambrig@redhat.com> | 2015-03-24 13:59:00 -0400 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2015-04-06 02:35:37 -0700 |
commit | 37bbcf6861590aa3d980846042855ee4212c89df (patch) | |
tree | 3f6ac3e4a627b25e424ab12b789d827858e2e334 /tests/basic | |
parent | 90f72efed8313efe0410634677f36d0fbdc5eab4 (diff) |
cluster/dht: fix tier.c problems found prior to feature freeze
This patch resolves tiering translator issues taken from the list
in bug 1203776. These issues have been selected to be fixed
first. The rest will be fixed in a subsequent patch (or are not a
problem).
3. Replace hardcoded #defines of promote/demote file names
6. Use loc_wipe() in migrate_using_query_file()
9. Only promote/demote files on the same node on which they reside.
14. Replace calloc with GF_CALLOC in tier.c and ensure freeing done
properly.
15. Handle if parse_query_str fails
22. Only load gfdb library on server side, remove SQL references
from client.
Change-Id: I6563b11e58ab2e4c6b1ce44db755781ad6d930fb
BUG: 1203776
Signed-off-by: Dan Lambright <dlambrig@redhat.com>
Reviewed-on: http://review.gluster.org/9987
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: N Balachandran <nbalacha@redhat.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'tests/basic')
-rwxr-xr-x | tests/basic/tier/tier.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/basic/tier/tier.t b/tests/basic/tier/tier.t index 383d4709798..58846412358 100755 --- a/tests/basic/tier/tier.t +++ b/tests/basic/tier/tier.t @@ -80,6 +80,8 @@ TEST file_on_fast_tier d1/data.txt TEST $CLI volume set $V0 cluster.tier-demote-frequency 4 TEST $CLI volume set $V0 cluster.tier-promote-frequency 4 +TEST $CLI volume set $V0 cluster.read-freq-threshold 0 +TEST $CLI volume set $V0 cluster.write-freq-threshold 0 TEST $CLI volume set $V0 performance.quick-read off TEST $CLI volume set $V0 performance.io-cache off TEST $CLI volume rebalance $V0 tier start |