Module mz_persist_client::fetch

source Β·
Expand description

Fetching batches of data from persist’s backing store

Structs§

  • Capable of fetching LeasedBatchPart while not holding any capabilities.
  • Cursor πŸ”’
    A pointer into a particular encoded part, with methods for fetching an update and scanning forward to the next. It is an error to use the same cursor for distinct parts.
  • EncodedPart πŸ”’
    A Blob object that has been fetched, but has no associated decoding logic.
  • A Blob object that has been fetched, but not at all decoded.
  • A Blob object that has been fetched, but not yet fully decoded.
  • Lease πŸ”’
    This represents the lease of a seqno. It’s generally paired with some external state, like a hollow part: holding this lease indicates that we may still want to fetch that part, and should hold back GC to keep it around.
  • A token representing one fetch-able batch part.
  • This represents the serde encoding for LeasedBatchPart. We expose the struct itself (unlike other encodable structs) to attempt to provide stricter drop semantics on LeasedBatchPart, i.e. SerdeLeasedBatchPart is exchangeable (including over the network), where LeasedBatchPart is not.
  • FetchedPart but with an accompanying permit from the fetch mem/disk semaphore.

Enums§

Constants§

Functions§