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§

batching_oracle
A timestamp oracle that wraps a TimestampOracle and batches calls to it.
metrics
Prometheus monitoring metrics.
postgres_oracle
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
Retry utilities.
tests

Structs§

WriteTimestamp
Timestamps used by writes in an Append command.

Traits§

GenericNowFn
A NowFn that is generic over the timestamp.
TimestampOracle
A type that provides write and read timestamps, reads observe exactly their preceding writes.