Hide Forgot
I tried a basic replace-brick with the bare minimum data on the source-brick. But the replace-brick is hung and 'replace-brick status' returns "Migration is in progress" every time. #gluster volume replace-brick hosdu 192.168.1.222:/tmp/brick2/ 192.168.1.222:/tmp/brick4/ start replace-brick started successfully #gluster volume replace-brick hosdu 192.168.1.222:/tmp/brick2/ 192.168.1.222:/tmp/brick4/ status Number of files migrated = 0 Current file= sleep 20; #gluster volume replace-brick hosdu 192.168.1.222:/tmp/brick2/ 192.168.1.222:/tmp/brick4/ status Number of files migrated = 0 Current file= This issue is happening only for vm's with only single processor. With my laptop with 4 processors this issue is not happening.
PATCH: http://patches.gluster.com/patch/7555 in master (pump: mark pending before notify to children to avoid race in single CPU.)
Steps to verify the fix: - Try performing replace-brick operation in a single CPU machine/vm.
PATCH: http://patches.gluster.com/patch/7572 in release-3.1 (pump: mark pending before notify to children to avoid race in single CPU.)
PATCH: http://patches.gluster.com/patch/7571 in release-3.2 (pump: mark pending before notify to children to avoid race in single CPU.)
what is the target milestone
This is fixed. I tried with 3.2.2qa1 and it's working fine.
Ran the verify pump script on a single cpu vm which had 3.1.6qa2. Issuse is fixed now in release-3.1 branch also.