Skip to main content

Module fuzz_exports

Module fuzz_exports 

Source
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§

UpsertKey
UpsertValueAndSize
The result type for multi_get. The value and size are stored in individual Options so callees can reuse this value as they overwrite this value, keeping track of the previous metadata. Additionally, values may be None for tombstones.

Enums§

StateValue
UpsertState has 2 modes:

Functions§

fuzz_drain_staged_input
Fuzzing hook: run a single drain_staged_input over commands (each a (timestamp, key, order, value), where value == None is a delete) against a fresh empty in-memory state, draining everything strictly below drain_to. Returns the emitted output updates and the final finalized value of each key in all_keys. Exposed only for fuzzing. Not a stable public API.
upsert_bincode_opts
Build the default BincodeOpts.

Type Aliases§

UpsertValue