method

Store.ReadyWithMigrationHistory

func (backend *Store) ReadyWithMigrationHistory( ctx context.Context, manifest schema.Manifest, expectedHistoryDigest string, ) error

Prove exact executable history, manifest, completed step state, and managed-index readiness.

Source adapters/mongodb/migration_runner.go:663

@param ctx
The ctx value.
@param manifest
The manifest value.
@param expectedHistoryDigest
The expectedHistoryDigest value.
@returns
The declared result.

It compares every ordered ledger filename and artifact digest with the ridu build fingerprint, verifies indexes without mutation, then rereads the ledger to reject a concurrent change.

Related types

  • Store

    A replica-set implementation of Ridu’s document, snapshot, auth, preference, task, lock, upload, readiness, and migration contracts.

  • Manifest

    An immutable versioned schema contract.