Two halves of novox/hq ADR 0131. Migration 0040 moves the mesh-broker row from `amqp` to `mesh-bus`, so the seat's holder answers for the mesh's bus and not for the wire protocol the old broker spoke — which is what let only the retiring broker hold the seat that names the bus. Safe under the current holder: the control plane composes its own address through the seat by name and the overview derives holders by name; only registration and provision resolution read the column. What must not happen in between is re-registering the current holder. And the parser refuses a manifest that provides or requires `amqp`, each refusal saying what to do instead: a module reaches the mesh's bus through the sdk and depends on the seat, not on a protocol. A whole-catalogue test asserts nothing beside this checkout names it; the three modules that did are removed there. Two tests that used the old broker as a fixture now use the module that replaces it or a manifest this package owns.
13 lines
1000 B
SQL
13 lines
1000 B
SQL
-- The bus seat's holder answers for the mesh's bus, not for a wire protocol (novox/hq ADR 0131).
|
|
--
|
|
-- The row said `amqp`, which is the protocol the old broker spoke, and so only that broker could hold
|
|
-- the seat that names the mesh's bus — while the module that will carry the bus could not. The seat
|
|
-- delivers `mesh-bus`; whichever module provides that may hold it, and today that is one module.
|
|
--
|
|
-- Safe under the current holder: the control plane composes its own bus address through the seat by
|
|
-- name, and the overview derives holders by name. Only registration and provision-to-seat resolution
|
|
-- read this column. So the row changes, the current holder keeps holding by derivation, the next one
|
|
-- can register its claim, and the handover (0039) moves the seat when both are running. What must
|
|
-- not happen in between is re-registering the current holder — registration would now refuse it.
|
|
update seat set delivers = 'mesh-bus' where name = 'mesh-broker' and delivers = 'amqp';
|