Gargi-jais11 commented on code in PR #8488:
URL: https://github.com/apache/ozone/pull/8488#discussion_r2101531961
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/statemachine/DatanodeStateMachine.java:
##########
@@ -133,6 +135,10 @@ public class DatanodeStateMachine implements Closeable {
private final DatanodeQueueMetrics queueMetrics;
private final ReconfigurationHandler reconfigurationHandler;
+ //global variable to track if diskBalancer was running before pause
+ private Boolean shouldRun = false;
Review Comment:
shouldRun is to mark that before going to decommissioning state Diskbalancer
was running or not on that DN or else we cannot detect it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]