Description of problem: ================= when a rebalance is in progress, we can see the detailed info as below [root@rhs-gp-srv11 glusterfs]# gluster v rebal ctime-distrep-rebal status Node Rebalanced-files size scanned failures skipped status run time in h:m:s --------- ----------- ----------- ----------- ----------- ----------- ------------ -------------- server2 0 0Bytes 0 0 0 in progress 0:00:00 server3 6744 73.7MB 48580 0 0 in progress 0:04:41 localhost 6209 97.5MB 45174 0 0 in progress 0:04:41 The estimated time for rebalance to complete will be unavailable for the first 10 minutes. volume rebalance: ctime-distrep-rebal: success However, while a node is rebooted, we are unable to see above such info, it only displays as below [root@rhs-gp-srv11 glusterfs]# gluster v rebal ctime-distrep-rebal status volume rebalance: ctime-distrep-rebal: success This is a problem if a user wants to know the exact files that have got rebalanced and how many have failed Version-Release number of selected component (if applicable): ============= mainline How reproducible: ============= consistent Steps to Reproduce: 1. create a 3x3 volume 2. do some IOs from client 3. issue a remove-brick to make it 2x3 4. while rebalance is happening do a reboot of one of the nodes Actual results: ================ reblance status doesnt show detailed info Expected results: ============= need detailed info even if a node is rebooted
REVIEW: https://review.gluster.org/23588 (cli: display detailed rebalance info) posted (#1) for review on master by Sanju Rakonde
REVIEW: https://review.gluster.org/23588 (cli: display detailed rebalance info) merged (#4) on master by Atin Mukherjee