ArafatKhan2198 opened a new pull request, #8161: URL: https://github.com/apache/ozone/pull/8161
## What changes were proposed in this pull request? This PR enhances the Container Key Mapping API in Recon to support prefix-based key filtering within a specific container. Users can now pass a startPrefix query parameter to retrieve only the keys in a container that match the provided prefix. 1. For OBS buckets, since keys are stored in a human-readable format, RocksDB’s seek operation is used for efficient prefix lookup. 2. For FSO buckets, keys are stored as object ID–based paths. This PR reuses the logic developed for global prefix-based search (for open and deleted keys) to convert the human-readable path into the internal object path format before querying. 3. A limit is also enforced on the number of results returned for better pagination and performance. This functionality allows users to perform key lookups within containers using familiar prefixes. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-12677 ## How was this patch tested? -- 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]
