ArafatKhan2198 opened a new pull request, #4158: URL: https://github.com/apache/ozone/pull/4158
## What changes were proposed in this pull request? **Problem :** - The problem is that currently we are iterating through the OM-DB Snapshot using the ReconContainerMetadataManagerto provide data to these endpoints. Which is not very Reliable and UpToDate for container metadata. On the other hand we know for a fact that SCM DB snapshots are also fetched by recon which have a more reliable and upToDate information about the containters. Hence, recon should use its SCM metadata to give out information through the Container Endpoint. **Solution:** - Its sugested that SCM Snapshots have a better upTodate information about the containers, To get the required data from these snapshots, we will fetch data from `ReconContainerManager` Class which interacts with the SCM snapshots and use its methods to populate the results of `ContainerEndpoint` . ## What is the link to the Apache JIRA (Please create an issue in ASF JIRA before opening a pull request, and you need to set the title of the pull request which starts with the corresponding JIRA issue number. (e.g. HDDS-XXXX. Fix a typo in YYY.) Please replace this section with the link to the Apache JIRA) ## How was this patch tested? (Please explain how this patch was tested. Ex: unit tests, manual tests) (If this patch involves UI changes, please attach a screen-shot; otherwise, remove this) -- 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]
