Expand description
Internal upsert types re-exported under cfg(feature = "fuzzing") so the
storage fuzz crate can drive the upsert state machine and value encodings
directly. The modules themselves stay crate-private; this facade exposes
only the items the fuzz targets need (mirroring mz-persist-client and
mz-pgwire). Not part of the public API.
Structs§
- Upsert
Key - Upsert
Value AndSize - The result type for
multi_get. The value and size are stored in individualOptions so callees can reuse this value as they overwrite this value, keeping track of the previous metadata. Additionally, values may beNonefor tombstones.
Enums§
- State
Value UpsertStatehas 2 modes:
Functions§
- fuzz_
drain_ staged_ input - Fuzzing hook: run a single
drain_staged_inputovercommands(each a(timestamp, key, order, value), wherevalue == Noneis a delete) against a fresh empty in-memory state, draining everything strictly belowdrain_to. Returns the emitted output updates and the final finalized value of each key inall_keys. Exposed only for fuzzing. Not a stable public API. - upsert_
bincode_ opts - Build the default
BincodeOpts.