OrchidStratum.MetaStorage (orchid_stratum v0.2.1)

Copy Markdown View Source

A Meta Store records the outcome of a step execution indexed by the step's content-addressable key. Each entry is a MetaItem that carries the dehydrated outputs (with heavy payloads replaced by {:ref, ...} tuples) plus provenance metadata.

Responsibilities

  • Persist a MetaItem keyed by a binary step key (put/3).
  • Retrieve a MetaItem by step key (get/2).
  • Delete a MetaItem by step key (delete/3) — used by GC and manual cache invalidation.

Store Reference

Like OrchidStratum.BlobStorage, every callback receives an opaque store_ref as its first argument. The reference is the second element of the {module, store_ref} configuration tuple held in Orchid's baggage under the :meta_store key.