Package-level declarations
Types
The write-ahead log cannot be read as one this implementation wrote.
The manifest cannot be read as one this implementation wrote.
A sorted segment cannot be read as one this implementation wrote.
An ordered walk over the documents a store holds, as one view of it sees them.
A durable, ordered store of JSON documents keyed by byte string.
When a commit is forced to stable storage.
A document key: an opaque byte string ordered as unsigned bytes.
How much of a damaged log the engine is willing to read.
One segment's worth of observation.
A listener on the documents that pass through segment writing.
What an observer is told about a finished segment.
A fixed view of the store, taken at a sequence number.
The store has been closed. A programming error, not a data error.
Base class for every failure the storage core raises on its own account.
A write failed against the filesystem, and the store has stopped accepting new ones.
Another process — or another DocumentStore in this process — already holds the directory.
Tuning for DocumentStore.open.
A snapshot of what the store is holding, for tests, benchmarks and operational visibility.
The directory holds files written by a newer format version.
A group of writes that commit together.
Properties
Default byte budget for level 1; each level below it is DEFAULT_LEVEL_SIZE_MULTIPLIER times larger.
Default block size: 4 KiB, one page.
Default bloom budget: 10 bits per key, a roughly 1% false-positive rate.
Default number of level-0 segments that triggers a compaction.
Default growth factor between levels.
Default memtable ceiling: 64 MiB, the same working-set size RocksDB defaults to.
Default ceiling on one sorted segment: 8 MiB.
Number of levels below level 0. Seven levels at a factor of ten reach far past any embedded store.