Skip to main content

Module foundationdb_oracle

Module foundationdb_oracle 

Source
Expand description

A timestamp oracle backed by FoundationDB for persistence/durability and where all oracle operations are self-sufficiently linearized, without requiring any external precautions/machinery.

We store the timestamp data in a subspace at the configured path. Each timeline maps to a subspace with the following structure:

  • ./<timeline>/read_ts -> <timestamp>
  • ./<timeline>/write_ts -> <timestamp>

Structsยง

FdbTimestampOracle
A TimestampOracle backed by FoundationDB.
FdbTimestampOracleConfig
Configuration to connect to a FoundationDB-backed implementation of TimestampOracle.
PackableTimestamp ๐Ÿ”’
Wrapper to implement TuplePack/TupleUnpack for Timestamp.

Enumsยง

FdbTransactError ๐Ÿ”’
An error that can occur during a FoundationDB transaction. This is either a FoundationDB error or an external error.