fn index_epochs_to_stamp(o: &Storage) -> Result<IndexEpochPlan, DevError>Expand description
Decide whether this import may stamp the geo and temporal epochs.
The write plugins already append postings during the load. Startup rebuilds an index whose epoch is missing, which wipes those postings. Stamping is safe only when this import is the whole store: every quad, including every geometry and temporal literal, was written with the plugins on. An epoch that is already set is left alone — raising it would hide an index that older snapshots can still use. A store that already held triples keeps a missing epoch, so startup’s auto-upgrade can still repair plugin-less literals from before this import.