swamirishi opened a new pull request, #8517: URL: https://github.com/apache/ozone/pull/8517
## What changes were proposed in this pull request? Currently most of the operations performed on the tables are agnostic to order of iteration of keys and can be executed in parallel to speed up most of such operations. The proposal here is to introduce a central functionaliy to achieve this. The whole idea for parallelizing in this approach is to peek into the sst files metadata of rocksdb to get the keyRanges(smallestKey and largestKey) from LiveFileMetadata corresponding to the rocksdb column family and get an approximate set of range of keys in the table. Thus indirectly the table would be iterated based on the number of sst files as there are on the DB. For instance consider the case: 1.sst has key range [k1 - k10] 2.sst has key range [k5 - k15] 3.sst has key range [k15 - k30]. Thus with the approach we would be splitting the table into 4 iterators iterating the key range: [k1 - k5), [k5, k10), [k10, k15), [k15, k30] ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-12779 ## How was this patch tested? Adding unit tests -- 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]
