add c-api to get default cf handle
rocksdb_batched_multi_get_cf has performance improvement than normal multi_get, however it needs a cf_handle arg, so add a C-API to get and destroy the default cf_handle, as many user only use the default cf.
Fixes #12316
@ajkr has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@979357361 has updated the pull request. You must reimport the pull request before landing.
@979357361 has updated the pull request. You must reimport the pull request before landing.
@ajkr has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@979357361 has updated the pull request. You must reimport the pull request before landing.
@ajkr has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@ajkr merged this pull request in facebook/rocksdb@21a16f9e6410613498a4be219998049f95fbdd3f.
LGTM, thanks!
Hi @ajkr, I noticed that v9.3.1 has released and I can't find the [c-api to get default cf handle], is there anything wrong? what can I do to make it works? thanks, have a nice day~
9.3 was the May release. This landed in June so will be in 9.4. 9.4 is nearly ready to be tagged.