Expand description
A mechanism to ensure that a sequence of writes and reads proceed correctly through timestamps.
Structsยง
- Timeline
State ๐ - Global state for a single timeline.
Enumsยง
- Timeline
Context - 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
nowthanwrite_ts_upper_boundallows, the signal that theEpochMillisecondstimeline 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
EpochMillisecondswrite timeline may be advanced to while the wall clock readsnow.