siddhantsangwan edited a comment on pull request #3129: URL: https://github.com/apache/ozone/pull/3129#issuecomment-1073561820
I've simplified the result to three scenarios: 1. `ITERATION_INTERRUPTED` if balancing was stopped while iterating. 2. `CAN_NOT_BALANCE_ANY_MORE` if no move was generated during this iteration. 3. `ITERATION_COMPLETED` for all other cases, such as when some (or all) container moves failed or limits were hit. @symious I've also removed the try...finally block since we won't return early from the `doIteration` method now. If this looks good, I can go ahead and add metrics for failed moves. -- 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]
