Skip to content
CCPEDIAby Unity Nodes
OPENPull Request

record when Scan update history load from bulk storage is complete

#8942by stephencompall-DACreated 04-12-2026

The update history load from bulk storage records when it is complete, and update history pruning and the votes store wait for it:

  • The load records completion (update_history_from_bulk_storage_complete) and from when its update history has no gaps (update_history_from_bulk_storage_loaded_from). A restart after completion does nothing, unless the analyzable time window was widened: then it loads the earlier segments too.
  • HistoryReadiness.isUpdateHistoryLoaded: true for a genesis history start, or for a later one once the load is complete or never ran. PruneUpdateHistoryTrigger drops no partitions until then.
  • VotesStoreBackfilling reads its own update history for a later history start only once it is loaded without gaps since the founding transaction (isUpdateHistoryLoadedFrom); before that, it reads from peers.
  • Init order: ScanHistoryStart.create and UpdateHistoryLoadFromBulkStorage.resetProgressIfAsked apply the debug flags before anything reads the history start or the load's progress.

The ACS snapshot seed (#8405) and the update history listing (#8799) are to wait on isUpdateHistoryLoaded.

Part of #6311.

Pull Request Checklist

Cluster Testing

  • If a cluster test is required, comment /cluster_test on this PR to request it, and ping a maintainer to run it.
  • If an upgrade test is required, comment /upgrade_test on this PR to request it, and ping a maintainer to run it.
  • If a logical synchronizer upgrade test is required (from canton-3.5), comment /lsu_test on this PR to request it, and ping a maintainer to run it.

PR Guidelines

  • Describe user-facing changes in the release notes, i.e. any change visible to anyone deploying, operating, integrating with or using Splice.
  • Specify fixed issues with Fixes #n, and mention issues worked on using #n
  • Include a screenshot for frontend-related PRs - see README or use your favorite screenshot tool

Merge Guidelines

  • Make the git commit message look sensible when squash-merging on GitHub (most likely: just copy your PR description).