cruise-control
cruise-control copied to clipboard
The state output is a bit hard to read
An example of the current state output is
ExecutorState: {state: INTER_BROKER_REPLICA_MOVEMENT_TASK_IN_PROGRESS, pending/in-progress/aborting/finished/total inter-broker partition movement 268569/48/0/7512/276129, completed/total bytes(MB): 3803670/195202695, maximum concurrent inter-broker partition movements per-broker: 2, triggeredUserTaskId: fded915c-6341-4c56-863f-04bb90051207, triggeredTaskReason: luwang (Client: 10.154.48.78, Date: 2022-08-26T14:21:28Z), recentlyRemovedBrokers: [37825, 62658, 64098, 29187, 60165, 35431, 60009, 64108, 35469, 44781, 60173, 46990, 39859, 62644, 40149, 62873, 60156, 61820, 64124]}
-
The 5 value tuple pending/in-progress/aborting/finished/total has the value of "268569/48/0/7512/276129". It's a bit hard to read as we must move our eyes left and right to map the meaning to the value carefully. I propose placing the numbers immediately after the tag so that the output can be something like pending(268569)/in-progress(48)/aborting(0)/finished(7512)/total(276129)
-
The completed/total bytes(MB) has the value of 3803670/195202695. It'd be good to know the percentage of completed bytes.