Ir al contenido

Table: federation_dispatch_state

Esta página aún no está disponible en tu idioma.

A single-row cursor recording how far the outbox dispatcher has read the activities ledger. It advances in the same transaction as the outbox rows it covers, so after a restart the dispatcher resumes from the last committed point. Together with the outbox’s unique indexes, this keeps a re-run from adding duplicate rows; it doesn’t guarantee that each activity is delivered exactly once.

ColumnTypeNullableNotes
idintegerno-
last_dispatched_activity_iduuidyes-
last_dispatched_attimestampyes-
updated_attimestampnoDefault now()
  • CONSTRAINT federation_dispatch_state_id_check CHECK ((id = 1))

This is the table’s CREATE TABLE statement. Constraints added with separate ALTER TABLE statements, including foreign-key ON DELETE rules, and indexes are defined elsewhere in the dump; see the complete app/schema.sql.

CREATE TABLE public.federation_dispatch_state (
id integer NOT NULL,
last_dispatched_activity_id uuid,
last_dispatched_at timestamp with time zone,
updated_at timestamp with time zone DEFAULT now() NOT NULL,
CONSTRAINT federation_dispatch_state_id_check CHECK ((id = 1))
);

See the schema overview for context.