Module mz_persist_client::cli::inspect

source ยท
Expand description

CLI introspection tools for persist

Structsยง

  • BatchPartOutput ๐Ÿ”’
  • BatchPartUpdate ๐Ÿ”’
  • Arguments for commands that run only against the blob store.
  • Arguments for viewing contents of a batch part
  • BlobCounts ๐Ÿ”’
  • D ๐Ÿ”’
  • Commands for read-only inspection of persist state
  • K ๐Ÿ”’
    The following is a very terrible hack that no one should draw inspiration from. Currently State is generic over <K, V, T, D>, with KVD being represented as phantom data for type safety and to detect persisted codec mismatches. However, reading persisted States does not require actually decoding KVD, so we only need their codec names to match, not the full types. For the purposes of persistcli inspect, which only wants to read the persistent data, we create new types that return static Codec names, and rebind the names if/when we get a CodecMismatch, so we can convince the type system and our safety checks that we really can read the data.
  • O ๐Ÿ”’
  • PrettyBytes ๐Ÿ”’
  • Arguments for viewing the state rollup of a shard
  • T ๐Ÿ”’
  • UnreferencedBlobs ๐Ÿ”’
  • V ๐Ÿ”’

Enumsยง

  • Command ๐Ÿ”’
    Individual subcommands of inspect

Staticsยง

Functionsยง