Fenced request passed to a Checkpoint Store erasure callback.
A present checkpoint is bound by revision and canonical digest. Both fields
are nil only when core observed the key as absent and asks the adapter to
install an anti-resurrection marker for that absence.
Summary
Functions
Builds a validated request bound to one exact Instance Ref.
Types
@type t() :: %Spectre.Instance.Erasure.Request{ checkpoint_digest: String.t() | nil, erasure_id: String.t(), expected_revision: non_neg_integer() | nil, instance_key: String.t(), owner_fencing_token: pos_integer(), requested_at: non_neg_integer(), schema_version: pos_integer() }
Functions
@spec new(Spectre.Instance.Ref.t(), map() | keyword()) :: {:ok, t()} | {:error, term()}
Builds a validated request bound to one exact Instance Ref.