Bug 1203776
Summary: | Fix tiering bugs in DHT code. | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Dan Lambright <dlambrig> |
Component: | core | Assignee: | Dan Lambright <dlambrig> |
Status: | CLOSED WORKSFORME | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | mainline | CC: | bugs, gluster-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-04-22 16:52:22 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dan Lambright
2015-03-19 16:13:07 UTC
22. only load sql libs on server side 23. nufa+methods cleanup Item 21 not necessary. Unlink and remove are equivalent for the purposes of this code. Item 20 is not necessary to fix, the queryFILE field must be a member of the structure. Item 16 is not necessary to fix, it is fine that strtok modifies the string as it is only used once in the loop. REVIEW: http://review.gluster.org/9987 (cluster/dht: fix problems found in reviews prior to freeze) posted (#1) for review on master by Dan Lambright (dlambrig) REVIEW: http://review.gluster.org/9987 (icluster/dht: fix tier.c problems found prior to feature freeze) posted (#2) for review on master by Dan Lambright (dlambrig) REVIEW: http://review.gluster.org/9987 (cluster/dht: fix tier.c problems found prior to feature freeze) posted (#3) for review on master by Dan Lambright (dlambrig) REVIEW: http://review.gluster.org/9987 (cluster/dht: fix tier.c problems found prior to feature freeze) posted (#4) for review on master by Dan Lambright (dlambrig) COMMIT: http://review.gluster.org/9987 committed in master by Niels de Vos (ndevos) ------ commit 37bbcf6861590aa3d980846042855ee4212c89df Author: Dan Lambright <dlambrig> Date: Tue Mar 24 13:59:00 2015 -0400 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> Reviewed-on: http://review.gluster.org/9987 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: N Balachandran <nbalacha> Reviewed-by: Niels de Vos <ndevos> This bug is obsolete. |