Bug 765385 (GLUSTER-3653) - Replace-brick status clears off when replace-brick commit fails.
Summary: Replace-brick status clears off when replace-brick commit fails.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-3653
Product: GlusterFS
Classification: Community
Component: glusterd
Version: pre-release
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: krishnan parthasarathi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-28 08:52 UTC by Vijaykumar
Modified: 2015-11-03 23:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Vijaykumar 2011-09-28 08:52:26 UTC
root@ubuntu10-3:~# gluster volume quota doa list
        path              limit_set          size
----------------------------------------------------------------------------------
/                           1GB             1000.6MB
root@ubuntu10-3:~# gluster volume quota doa list
        path              limit_set          size
----------------------------------------------------------------------------------
/                           1GB             1000.6MB
root@ubuntu10-3:~# gluster volume replace-brick doa 10.1.11.237:/root/bricks/doa/d2 10.1.11.237:/root/bricks/doa/d4 start
replace-brick started successfully
root@ubuntu10-3:~# gluster volume replace-brick doa 10.1.11.237:/root/bricks/doa/d2 10.1.11.237:/root/bricks/doa/d4 status
Number of files migrated = 18       Current file= /2/3/4/5/file24
root@ubuntu10-3:~# gluster volume replace-brick doa 10.1.11.237:/root/bricks/doa/d2 10.1.11.237:/root/bricks/doa/d4 status
Number of files migrated = 18       Current file= /2/3/4/5/file24
root@ubuntu10-3:~# gluster volume replace-brick doa 10.1.11.237:/root/bricks/doa/d2 10.1.11.237:/root/bricks/doa/d4 commit
replace-brick commit failed
root@ubuntu10-3:~# gluster volume replace-brick doa 10.1.11.237:/root/bricks/doa/d2 10.1.11.237:/root/bricks/doa/d4 status
Number of files migrated = 0       Current file=
root@ubuntu10-3:~# gluster volume replace-brick doa 10.1.11.237:/root/bricks/doa/d2 10.1.11.237:/root/bricks/doa/d4 status
Number of files migrated = 1       Current file= /2/3/4/5/file25
root@ubuntu10-3:~# gluster volume replace-brick doa 10.1.11.237:/root/bricks/doa/d2 10.1.11.237:/root/bricks/doa/d4 status
Number of files migrated = 1       Current file= /2/3/4/5/file25
root@ubuntu10-3:~# gluster volume replace-brick doa 10.1.11.237:/root/bricks/doa/d2 10.1.11.237:/root/bricks/doa/d4 status
Number of files migrated = 2       Current file= /2/3/4/5/file10
root@ubuntu10-3:~# gluster volume replace-brick doa 10.1.11.237:/root/bricks/doa/d2 10.1.11.237:/root/bricks/doa/d4 status
Number of files migrated = 4       Current file= /2/3/4/5/6/file5
root@ubuntu10-3:~# gluster volume replace-brick doa 10.1.11.237:/root/bricks/doa/d2 10.1.11.237:/root/bricks/doa/d4 status
Number of files migrated = 8       Current file= /2/3/4/5/6/7/file1
root@ubuntu10-3:~# gluster volume replace-brick doa 10.1.11.237:/root/bricks/doa/d2 10.1.11.237:/root/bricks/doa/d4 status
root@ubuntu10-3:~# gluster volume replace-brick doa 10.1.11.237:/root/bricks/doa/d2 10.1.11.237:/root/bricks/doa/d4 status
root@ubuntu10-3:~# gluster volume replace-brick doa 10.1.11.237:/root/bricks/doa/d2 10.1.11.237:/root/bricks/doa/d4 commit
root@ubuntu10-3:~# gluster volume info

Comment 1 Anand Avati 2011-10-19 07:20:22 UTC
CHANGE: http://review.gluster.com/585 (Clearing pump status on migration complete is futile because we would be) merged in master by Vijay Bellur (vijay)


Note You need to log in before you can comment on or make changes to this bug.