Skip to main content
Version: 0.4.1

KQ012 — a replica has a source

Error · replica-has-a-source · Data

A replica syncs from the authoritative holding or from another replica, never from a transient one.

A from names a holding that can't be a source, such as a transient one. Sync from the authoritative holding or from another replica.

Examples​

The billing service keeps a transient basket of orders, so a returns service that copies the orders from it raises KQ012:

component billing { sql basket "Basket" { root order transient } } component returns "Returns" : backend { sql returns-db "Returns DB" { root order from billing over http } } returns realizes selling

Copying them from the order service, which holds the authoritative orders, raises nothing:

component returns "Returns" : backend { sql returns-db "Returns DB" { root order from order-service over http } } returns realizes selling

© 2026 Extenza Works. All rights reserved.