errose28 commented on PR #7181: URL: https://github.com/apache/ozone/pull/7181#issuecomment-2356262424
> So nothing more is required for pagination and can follow above approach. Similar case is implemented in various UI pagination passing starting container IDs. Passing a start ID to the CLI works if the user wants to look at a specific range, but it is bad UX to have this be the only option to get all the containers, because it requires users to manually control the batch size per message. Users should be able to pass `--all` and get all the results while the software regulates message sizes. Maybe some of our other list APIs don't provide this functionality, but really they all should. Additionally we can support a combination of `--start` and `--all` to allow retrieving all containers after a certain ID. This could also be done with the existing server API and handled on the client side. -- 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]
