SQLStreams

the messaging platform that is just Postgres

You last visited on 9999-99-99 Show what's new since then

0430 — NoInstanceTarget (-1) for self-claimed consumer loops

Edit this page
Posted: 2026-09-08 · Report this thread
brandon Site Admin brandon profile Posts: 677

Context. Consumer-type loops register their own instances through a self-claim door rather than being spawned by the manager, but they still need worker rows for visibility and suspension.

Decision. Their worker rows carry NoInstanceTarget (-1): the row is visibility plus a suspend toggle, not managed capacity, and a self-claim against it never declines for being over target.

Consequences. One target_instances column serves both managed workers (a count the manager reconciles toward) and self-claimed loops (a sentinel meaning “not capacity-managed”), so suspension stays uniform — 0 suspends either kind — without the manager trying to scale loops it does not own.