Structs§
- Commits
- Committed
- Metadata about a
Commitwhich was successfully written viaWriter::commit. - Header
- Metadata
- Offset
Index Writer - Reader
- Transaction
- Pair of transaction offset and payload.
- Writer
Constants§
- CHECKSUM_
ALGORITHM_ CRC32C - CHECKSUM_
CRC32C_ LEN - CHECKSUM_
LEN - Lookup table for checksum length, index is
Header::checksum_algorithm. - DEFAULT_
CHECKSUM_ ALGORITHM - DEFAULT_
LOG_ FORMAT_ VERSION - MAGIC
Traits§
Functions§
- seek_
to_ offset - Advances the
segmentreader to the position corresponding to thestart_tx_offsetusing theindex_filefor efficient seeking. - validate_
commit_ header - Try to extract the commit header from the asked position without advancing seek.
IndexFileMutfsync asynchoronously, which makes it important for reader to verify its entry