Skip to main content

stamp_offline_index_epochs

Function stamp_offline_index_epochs 

Source
fn stamp_offline_index_epochs(
    data_dir: &Path,
    commit_ts: CommitTs,
    plan: &IndexEpochPlan,
) -> Result<(), DevError>
Expand description

Stamp the epochs selected by index_epochs_to_stamp to commit_ts.

Reopens O after the compaction handle has been dropped. The value is the import commit_ts because that is the version on the postings just written: the planner trusts the index for snapshots at or after the epoch, which is when those postings become visible.