lokeshj1703 commented on code in PR #3760:
URL: https://github.com/apache/ozone/pull/3760#discussion_r991868746
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/statemachine/commandhandler/DeleteContainerCommandHandler.java:
##########
@@ -67,6 +67,9 @@ public void handle(final SCMCommand command,
final SCMConnectionManager connectionManager) {
final DeleteContainerCommand deleteContainerCommand =
(DeleteContainerCommand) command;
+ if (shouldRequeue(command, context, ozoneContainer)) {
+ context.requeueCommand(command);
+ }
Review Comment:
What is the approach we are going with here then? Can we also update the
docs once the PR is merged?
If we fail the operation in DN, then SCM would at least know that disk
balancer is running. Later we can add a change to avoid block deletions for
that specific container.
--
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]