reconcile

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

func NewReconciler

func NewReconciler(s *store.Store, k *kernel.Kernel) *Reconciler

NewReconciler seeds its cursor from the durable decision log (Store.MaxDecidedSeq), so a process restart resumes after the last consumed event instead of re-reading the log from 0 and re-deciding already-accepted events (which would pollute pull feedback). The decision log is the cursor.

The liveness-escalation counter (Invariant #10) is NOT kept in memory either — it is derived per event from the durable log (Store.DeferralCount), so escalation survives restart exactly as the cursor does.

func (*Reconciler) RunOnce

func (r *Reconciler) RunOnce(modes contract.Modes) []contract.Decision

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL