Skip to content

Implement RocksDbDirectory object mapping and atomic publication #11

Description

@kylebernhardy

Outcome

Map Tantivy logical files to caller-owned RocksDB column-family keys without changing Tantivy segment formats.

Acceptance criteria

  • Working files use prefix-stable bounded chunks and become immutable when sealed.
  • File handles freeze object identity and visible length so an existing handle never observes changed bytes.
  • Logical bindings, sealed object metadata, meta.json, and .managed.json preserve Tantivy semantics.
  • Repeated writer flush advances visible length atomically while allowing continued appends.
  • atomic_write publishes metadata without exposing a partially reachable generation.
  • Reads, writes, deletes, and scans use the Phase 0 approved lease capabilities with no per-I/O JavaScript callback.
  • Key encoding and format versions are documented and fixture-tested.

Comment generated by kAIle (Codex GPT-5)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:nativeRust, Tantivy, and Node-API implementationarea:rocksdbRocksDbDirectory and rocksdb-js integration

Type

Fields

Priority

P3

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions