class MemorySaverDelete all checkpoints and writes associated with a specific thread ID.
Override: walk the parent chain ONCE for all requested channels using direct storage access.
Each channel terminates independently at the nearest ancestor whose
stored channel_values[ch] is populated. Other channels keep walking
until they find their own terminator or hit the root.
The seed value (whether a DeltaSnapshot or a plain pre-delta migration
blob) is the value AT that ancestor, prior to its own pending writes that
produce the child. Those on-path writes — including the ones stored on the
terminating ancestor — are always collected and replayed on top of the
seed, so a thread migrated from a pre-delta channel does not drop the
writes saved under the migration boundary checkpoint.
Generate the next version ID for a channel.
Default is to use integer versions, incrementing by 1. If you override, you can use str/int/float versions, as long as they are monotonically increasing.
Store intermediate writes linked to a checkpoint.
taskPath is the serialized path of the task creating the writes (see
writesSortKey). Implementations should persist it when they can, and
must return pendingWrites from getTuple/list in writesSortKey
order — live execution applies a superstep's writes in that order, so
replaying in any other order can rebuild a different value for an
order-sensitive reducer. Writes stored without a path (rows predating it,
savers that don't persist one) sort first by taskId, which is also the
order live execution applies input in.
Prevent JSON.stringify from traversing backend clients (e.g. pg Pool
timers) when a checkpointer is present in runnable configurable.
Delete all checkpoints and writes associated with a specific thread ID.
Walk the parent chain returning per-channel writes + seed, used to
Generate the next version ID for a channel.
Store intermediate writes linked to a checkpoint.
Prevent JSON.stringify from traversing backend clients (e.g. pg Pool