]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Api to get SST file with key ranges for a particular level and key range (startKey...
authorRanjan Banerjee <rbanerjee2@meta.com>
Tue, 11 Nov 2025 01:13:34 +0000 (17:13 -0800)
committeranand76 <anand1976@users.noreply.github.com>
Mon, 17 Nov 2025 21:00:41 +0000 (13:00 -0800)
commit3a196076d1ac06506434b01943a992b95e042e97
tree5af160134629b69e2f85163342c4497dbc6684c2
parent0a7ce8204db672252bc36ed623650a99a4b6475b
Api to get SST file with key ranges for a particular level and key range (startKey, EndKey)rocksdb [Internal version] (#14009)

Summary:
There are instances where  an application might be interested in knowing the distribution in SST files for a key range in a particular level.

This implementation creates an overloaded GetColumnFamilyMetaData api where  (startKey, EndKey) can be passed along with level information to filter the necessary sst files along with the keyranges for each sst file

Pull Request resolved: https://github.com/facebook/rocksdb/pull/14009

Reviewed By: anand1976

Differential Revision: D83389707

fbshipit-source-id: 6df1dc1f9233efe9000b03cc1831b3c618cbcef3
db/db_impl/db_impl.cc
db/db_impl/db_impl.h
db/db_test.cc
db/version_set.cc
db/version_set.h
include/rocksdb/db.h
include/rocksdb/metadata.h
include/rocksdb/utilities/stackable_db.h