Crate mz_stash

source ·
Expand description

Durable metadata storage.



  • 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 dataflow Collection, 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.




  • 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