KQ089 — a Storage is hosted where its owner runs
Error · storage-hosted-where-its-owner-runs · Environments and database servers
A database server hosting a Storage runs only in stages the Storage's owner runs in.
A storage is on a database server in a stage its owning component doesn't run in. A server holds the data of what runs beside it: give the component an environment in that stage, or host the storage on the server of a stage it runs in.
Examples
The sql-prd server runs in PRD, so a storage on it whose component runs only in DEV raises KQ089:
platform storefront {
component billing "Billing" : backend {
environment DEV x1
sql billing-db "Billing DB" on sql-prd
}
}
With the component running in PRD as well, it raises nothing:
platform storefront {
component billing "Billing" : backend {
environment DEV x1
environment PRD x2
sql billing-db "Billing DB" on sql-prd
}
}
© 2026 Extenza Works. All rights reserved.