KQ215 — a synced command is its holder's
Error · sync-command-is-the-holders · Data
A sync carries only commands the Component holding the replica declares.
A sync carries a command the component holding the replica doesn't declare. A copy kept by commands is written by the source calling the holder, so the command is the holder's own: declare it there, or name the one it declares.
Examples
A copy kept by cancel-order, a command of the order service rather than of the billing service that holds the copy, raises KQ215:
component billing {
sql billing-db "Billing DB" {
root order from order-service over http carries order-service/cancel-order
}
}
Kept by a command the billing service declares, it raises nothing:
component billing {
command record-order "Record order" about order
sql billing-db "Billing DB" {
root order from order-service over http carries billing/record-order
}
}
© 2026 Extenza Works. All rights reserved.