ozone
ozone copied to clipboard
HDDS-7244. Fix multiple reports queued up from same DN and using up heap
What changes were proposed in this pull request?
Customized Queue "ContainerReportQueue" in created to control the number of FCR for datanode to one only as latest report, and avoid old duplicate FCR report.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-7244
How was this patch tested?
- ThreadPool changes are tested using Unit test
- ContainerReportQueue using unit test
- SCM and Recon processing E2E using Intellij and debugger to simulate slow processing.
@ChenSammi @nandakumar131 Plz review
Hi @kerneltime , would you like to take a look of this PR?
@adoroszlai plz review
@kerneltime Please review
The last patch LGTM + 1.
Thanks @sumitagrawl for the feature improvement, and @adoroszlai for the code review.