devmadhuu opened a new pull request, #6260: URL: https://github.com/apache/ozone/pull/6260
## What changes were proposed in this pull request? This PR fixes the UnsupportedOperationException while merging Incremental Container Reports. Recon processes the Incremental Container Reports (ICRs) being sent from datanodes and to improve performance and process multiple ICRs in a heartbeat, [HDDS-9883](https://issues.apache.org/jira/browse/HDDS-9883) merged multiple ICRs from datanodes into a single report before sending to Recon ICR handler (`ReconIncrementalContainerReportHandler`) where it handles such merged container reports , but merge operation was throwing `UnsupportedOperationException` while merging ICRs. This PR fixes the issue and handles the merge operation correctly. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-10413 ## How was this patch tested? This patch was tested manually by adding new `org.apache.hadoop.ozone.recon.scm.TestReconIncrementalContainerReportHandler#testMergeMultipleICRs`. -- 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]
