Skip to content

Comments

Add C API and Java bindings for IngestExternalFileOptions::link_files#14298

Open
corydolphin wants to merge 2 commits intofacebook:mainfrom
corydolphin:claude/add-hard-linking-support-XP8I8
Open

Add C API and Java bindings for IngestExternalFileOptions::link_files#14298
corydolphin wants to merge 2 commits intofacebook:mainfrom
corydolphin:claude/add-hard-linking-support-XP8I8

Conversation

@corydolphin
Copy link

@corydolphin corydolphin commented Feb 3, 2026

Expose the existing link_files option in IngestExternalFileOptions to the C API and Java (JNI) bindings.

I am working on a project which could benefit from using hard-link based ingestion to simplify managing a content-addressable store of read-only SSTFiles. Hopefully this can benefit others as well :-)

This is my first time contributing to rocksdb, so please let me know if there is anything else I can do to help make this change easy to merge. I've attempted to follow the patterns for tests closely, but may have missed something.

I have signed the CLA.

Add rocksdb_ingestexternalfileoptions_set_link_files() to expose the
link_files option that was added in PR facebook#12980 but was missing from the
C API. This allows C/Rust bindings to use hard linking for SST file
ingestion.
@meta-cla meta-cla bot added the CLA Signed label Feb 3, 2026
Add linkFiles() and setLinkFiles() methods to the Java API to expose
the link_files option for hard linking SST files during ingestion.
@corydolphin corydolphin force-pushed the claude/add-hard-linking-support-XP8I8 branch from b7cf5f0 to 9ec4a2e Compare February 10, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant