method

Store.ReadyWithMigrationHistory

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

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
manifestschema.ManifestThe manifest value.
expectedHistoryDigeststringThe expectedHistoryDigest value.

Returns

The declared result.

error

How it works

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.

Full signature

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

Source adapters/mongodb/migration_runner.go:653

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.