avijayanhwx commented on a change in pull request #2250:
URL: https://github.com/apache/ozone/pull/2250#discussion_r643659090
##########
File path:
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/fsck/ContainerHealthTask.java
##########
@@ -185,6 +200,35 @@ private void processContainer(ContainerInfo container,
long currentTime) {
}
}
+ private boolean containerDeletedInSCM(ContainerInfo containerInfo) {
+ try {
+ ContainerWithPipeline containerWithPipeline =
+ scmClient.getContainerWithPipeline(containerInfo.getContainerID());
Review comment:
Yes, that is correct. However, don't we just call _processContainer_ on
every remaining container from SCM container manager in Recon? That way, every
time the _containerDeletedInSCM_ method will be called for a DELETED container
right?
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]