Bug 860663
Summary: | DHT - Hash layout for Directory is changing when sub-volume is down and user does a rebalance operation, as a result at same directory level duplicate files can be created | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | shishir gowda <sgowda> |
Component: | distribute | Assignee: | shishir gowda <sgowda> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | mainline | CC: | amarts, fharshav, gluster-bugs, kirantpatil, nsathyan, racpatel, rhs-bugs, sgowda, vbellur |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.4.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 860599 | Environment: | |
Last Closed: | 2013-07-24 17:41:30 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: | |||
Bug Depends On: | 860599 | ||
Bug Blocks: |
Description
shishir gowda
2012-09-26 12:30:51 UTC
Fix sent for review (http://review.gluster.org/#change,4000) To test fix: 1. Brick down issue a. Follow steps provided above. 2. Brick out of space issue a. Create a brick with low available space, and create a >2 bricks dht volume b. Fill the bricks with i/o on any files on the brick c. add-brick and rebalance d. New layouts should be written. CHANGE: http://review.gluster.org/4000 (cluster/dht: fail fix-layout if any of the subvol is down) merged in master by Anand Avati (avati) CHANGE: http://review.gluster.org/4254 (tests: Test the exit status of touch) merged in master by Vijay Bellur (vbellur) Version-Release number of selected component (if applicable): gluster v3.5.2 How reproducible: Always Steps to Reproduce: 1. Install gluster v3.5.2 rpm on CentOS 6.4 2. clone the gluster from github and checkout v3.5.2 3. DEBUG=1 prove tests/bugs/bug-860663.t Actual results: System hangs Expected results: Testcase should pass Additional info: [root@fractal-0e6e glusterfs]# uname -a Linux fractal-0e6e.fractal.lan 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux |