ashishkumar50 opened a new pull request, #4395: URL: https://github.com/apache/ozone/pull/4395
## What changes were proposed in this pull request? Check whether container exists or not before making RECOVERING container unhealthy . ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-7842 ## How was this patch tested? Verified in testScrubbingStaleRecoveringContainers 1.Create few containers in RECOVERING state and store in containerSet. 2.Remove one container using containerSet.removeContainer(containerId) 3.Run StaleRecoveringContainerScrubbingService task. 4.Before fix, since container was already deleted before StaleRecoveringContainerScrubbingService task execution, containerSet.getContainer returns null and throw NPE. After fix it will ignore if container is already removed. -- 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]
