smengcl commented on code in PR #4125:
URL: https://github.com/apache/ozone/pull/4125#discussion_r1094909961
##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/IncrementalContainerReportHandler.java:
##########
@@ -88,8 +88,10 @@ public void onMessage(final
IncrementalContainerReportFromDatanode report,
// Ensure we reuse the same ContainerID instance in containerInfo
id = container.containerID();
} finally {
- if (!replicaProto.getState().equals(
+ if (replicaProto.getState().equals(
ContainerReplicaProto.State.DELETED)) {
+ nodeManager.removeContainer(dd, id);
+ } else {
Review Comment:
Could be a GitHub PR diff display bug. See
https://github.com/apache/ozone/pull/4134/files#r1094909600
--
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]