Skip to main content

Module registry

Module registry 

Source
Expand description

Partition-hashed string registry shards (StrHash → raw string).

Structs§

InMemoryRegistryShard
In-memory registry shard keyed by StrHash.
RocksDbRegistry
RocksDB-backed inverse dictionary: 16-byte StrHash key → raw UTF-8 value.
ShardedRegistry
Partition-hashed multi-shard registry (MVP: in-memory).

Enums§

Registry
In-memory or RocksDB string registry used by compute and the registry process.

Constants§

REGISTRY_CF
Column family holding StrHash → UTF-8 entries in RocksDbRegistry.
REGISTRY_DIR_NAME
Subdirectory name under {data_dir}/{repository} for the disk registry.

Traits§

RegistryShard
Single shard of the distributed string registry.

Functions§

delete_partial_registry_sst_runs
Delete in-progress run-*.sst.partial files. A missing directory is a no-op.
finished_registry_sst_runs
Finished offline-import runs in staging_dir (run-NNNNNN.sst), sorted by name.
registry_entries_for_quad
Collect (StrHash, raw) pairs that must be registered for an encoded quad.
resolve_bindings
Resolve only the requested hashes to raw strings (late materialization).
resolve_multiget_env_enabled
Gate: resolve-path lookup strategy, process-wide (WARATAH_RESOLVE_MULTIGET=1; off by default).
shard_id_for_hash
Route a hash to a shard index with Murmur3-32.