Skip to main content

Module timeline

Module timeline 

Source
Expand description

A mechanism to ensure that a sequence of writes and reads proceed correctly through timestamps.

Structsยง

TimelineState ๐Ÿ”’
Global state for a single timeline.

Enumsยง

TimelineContext
An enum describing whether or not a query belongs to a timeline and whether the query can be affected by the timestamp at which it executes.

Functionsยง

check_runaway_write_ts ๐Ÿ”’
Reports a write timestamp that is further ahead of now than write_ts_upper_bound allows, the signal that the EpochMilliseconds timeline has run away (e.g. after a wall-clock regression, or from a durably poisoned oracle).
timedomain_for ๐Ÿ”’
Return the set of ids in a timedomain and verify timeline correctness.
write_ts_upper_bound ๐Ÿ”’
The highest timestamp the EpochMilliseconds write timeline may be advanced to while the wall clock reads now.