ArafatKhan2198 opened a new pull request, #4876: URL: https://github.com/apache/ozone/pull/4876
## What changes were proposed in this pull request? In the modified code, the pagination logic is applied to both sections of the method: `getContainerMisMatchInsights()` **For the notSCMContainers list (OM containers not in SCM):** - If prevKey is greater than 0, the method finds the index of the next container after prevKey and retrieves the sublist from that index up to the specified limit. - If prevKey is 0 or negative, the sublist is retrieved from the start of the list up to the specified limit. **For the nonOMContainers list (SCM containers not in OM):** - Similar to the previous section, the pagination logic is applied to retrieve the sublist of containers based on the prevKey and limit. The modified code ensures that the containers returned in the response match to the specified pagination criteria. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-8701 ## How was this patch tested? Manual Testing and Unit Testing -- 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]
