Skip to content

Sequencer

Synchronous linearization point: assign offsets and own the offset→location index. The engine never interprets Meta.

Trait surface

MethodRole
commitAtomic multi-batch assign; Assigned or Duplicate per batch
lookupIndex entries from a fetch offset onward
high_watermark / log_start_offsetIndex-only bounds
truncate_beforeDrop entries; return object ids unreferenced across all partitions

Shipped implementors

TypeMetaCrash-durable index?
InMemorySequencer()No — bytes may live in BlobStore; index is process memory
ManifestSequencer()Yes — manifest objects rebuilt on open

Consumer implementors

Brokers implement Sequencer with typed Meta (producer identity, fencing). object-log stays free of those types. Conformance checklist lives in TD-003 and tests/sequencer_conformance.rs.