Bug 848123
| Summary: | rebalance of distributed volume sets identical hash intervals for all directories | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Jochen Klein <jochen_klein> | ||||
| Component: | distribute | Assignee: | shishir gowda <sgowda> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.3.0 | CC: | gluster-bugs, nsathyan, vbellur | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-09-26 04:27:16 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: | |||||||
| Attachments: |
|
||||||
|
Description
Jochen Klein
2012-08-14 16:57:31 UTC
Can you please provide the o/p of: getfattr -n trusted.glusterfs.dht -e hex </path/to/bricks> ? Created attachment 604409 [details]
trusted.glusterfs.dht attributes for brick directories
listing of trusted.glusterfs.dht attributes for brick directories and the directories containing the data files
The reason why you see such kind of distribution is: 1. You started off with a single brick volume, and hence the complete hash is the single brick. 2. You added 2 brick, and issued rebalance. Now during rewriting of layout (rebalancing), layout's are calculated to reduce the amount data migrated. So, overlaps are considered. In your scenario, 1st brick always got the start range, and others the remaining in a round robin. With regards, Shishir (In reply to comment #3) > 1. You started off with a single brick volume, and hence the complete hash > is the single brick. clear > 2. You added 2 brick, and issued rebalance. Now during rewriting of layout > (rebalancing), layout's are calculated to reduce the amount data migrated. > So, overlaps are considered. The overlap should be identical if the hash intervals were swapped between brick 1 and 2. > In your scenario, 1st brick always got the start range, and others the > remaining in a round robin. And that's the problem, why does the 1st brick always get the start range. Cheers, Jochen *** This bug has been marked as a duplicate of bug 853258 *** |