Expand description
Durable metadata storage.
Modules
- The current types that are serialized in the Stash.
- postgres 🔒
- This module contains all of the helpers and code paths for upgrading/migrating the
Stash
.
Structs
- An
AppendBatch
describes a set of changes to append to a stash collection. - Stash factory to use for tests that uses a random schema for a stash, which is re-used on all stash openings. The schema is dropped when this factory is dropped.
- A Stash whose data is stored in a Postgres-compatible database. The format of the tables are not specified and should not be relied upon. The only promise is stability. Any changes to the table schemas will be accompanied by a clear migration path.
StashCollection
is like a differential dataflowCollection
, but the state of the collection is durable.- An error that can occur while interacting with a
Stash
. - Factory type used to open new one or more
Stash
. - TableTransaction emulates some features of a typical SQL transaction over table for a
StashCollection
. - A helper struct to prevent mistyping of a
StashCollection
’s name and k,v types.
Enums
Constants
- The limit AFTER which to split an update batch (that is, we will ship an update that exceeds this number, but then start another batch).
- The minimum
Stash
version number that we support migrating from. - The current version of the
Stash
. - The key within the Config Collection that stores the version of the Stash.
Traits
- A common trait for uses of K and V to express in a single place all of the traits required by async_trait and StashCollection.
Type Definitions
- Id 🔒