HISTORY_COHORT

Constant HISTORY_COHORT 

Source
pub const HISTORY_COHORT: &[&str];
Expand description

The embedded fullnode’s history cohort: the pipelines seeded to the lowest available checkpoint L and backfilled upward from the perpetual store, then followed live.

Most cannot be reconstructed from a live-object snapshot at all – they record ledger history (tx_seq <-> digest maps, the transaction and event bitmaps) and per-epoch metadata (epochs) – so they are seeded, never restored.

object_version_by_checkpoint and package_versions are the exceptions: they are both restored and backfilled. restore_indexes bulk-loads their floor rows at the tip T (the versions live in the snapshot but predate the available window, so a checkpoint-bounded read treats them as having always existed), and the history seed then rewinds their __watermark to L-1 so they also backfill the per-checkpoint detail over (L, T]object_version_by_checkpoint’s per-checkpoint changes, and package_versions’s real publish checkpoint for versions published in the window. The embedded bootstrap runs the restore before the seed, so the L-1 watermark wins.

Matches the history half of PipelineLayer::embedded.