Red Hat Bugzilla – Bug 770058
[glusterfs-3.3.0qa18]: improve rebalance related log messages
Last modified: 2013-12-08 20:28:23 EST
Description of problem:
Rebalance related log messages should be improved. If rebalance start command is given through cli, then the log messages says received rebalance 1 op, which is not clear.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Create a distribute volume
2.add few more bricks to the volume
3. do reblance related operations from cli
[2011-12-23 10:57:37.667762] I [glusterd-rebalance.c:495:glusterd_rebalance_cmd_attempted_log] 0-glusterd: Received rebalance volume 3 on mirror
It should show the actual command given to the rebalance instead of the corresponding number which represents the operation.
CHANGE: http://review.gluster.com/2500 (mgmt/glusterd: log the rebalance command received properly in the log file) merged in master by Vijay Bellur (email@example.com)
[2012-04-30 16:08:30.251718] I [glusterd-rebalance.c:76:glusterd_rebalance_cmd_attempted_log] 0-glusterd: Received rebalance volume st
art on mirror
Checked with glusterfs-3.3.0qa40 and rebalance subcommands such as start etc are printed in the log file instead of the numbers.