Crate mz_timestamp_oracle
source ·Expand description
An interface/trait that provides write and read timestamps, reads observe exactly their preceding writes.
Specifically, all read timestamps will be greater or equal to all previously reported completed write timestamps, and strictly less than all subsequently emitted write timestamps.
Modules§
- A timestamp oracle that wraps a
TimestampOracle
and batches calls to it. - Prometheus monitoring metrics.
- A timestamp oracle backed by “Postgres” for persistence/durability and where all oracle operations are self-sufficiently linearized, without requiring any external precautions/machinery.
- Retry utilities.
Structs§
- Timestamps used by writes in an Append command.
Traits§
- A
NowFn
that is generic over the timestamp. - A type that provides write and read timestamps, reads observe exactly their preceding writes.