len548 opened a new pull request, #7776: URL: https://github.com/apache/ozone/pull/7776
## What changes were proposed in this pull request? "ozone freon cr" command runs into exceptions because `requestCounter` map in `ReplicationSupervisor` class is not initiated during the following reproducing steps. `addTask` method in the class is supposed to initiate it but it is not called, so I extracted that part into a new method called `initCounters` and call this new method before running the task. How to reproduce the error: ``` // create a key ozone freon ockg -n 10 // close a container ozone admin container close 1 // run the command ozone freon cr -n 1 ``` Also this PR handles the followings to make it work: - ClosedContainerReplicator needs update for [HDDS-10804](https://issues.apache.org/jira/browse/HDDS-10804) - It needs DB volumes with directories. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-12040 ## How was this patch tested? Manually tested -- 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]
