devmadhuu commented on PR #12109: URL: https://github.com/apache/ozone/pull/12109#issuecomment-7123966548
@ChenSammi this is good and solving the performance issue when deleted keys range is outside of prefix upperbound. And as @sumitagrawl has mentioned, that will be the limitation of this upper bound for intermediate deleted keys. Was doing a rocksDB documentation parsing and found that `RocksDB 11.3.0` onwards supports an interesting optimization called **Range Tombstone Conversion, controlled by min_tombstones_for_range_conversion.** During the first scan, RocksDB can convert a contiguous run of point tombstones into a logically redundant range tombstone, allowing subsequent scans to skip that range efficiently. May be we can evaluate this feature by upgrading our RocksDB dependency, if required, and benchmark repeated directory listings with tombstones within the requested prefix? This can be addressed as a separate follow-up JIRA and would complement the upper-bound optimization introduced in this PR. Reference: https://rocksdb.org/blog/2026/06/22/range-tombstone-conversion.html -- 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]
