KQ031 — a replica is in its primary's environment
Error · replica-in-its-primarys-environment · Environments and database servers
A database server replica is of a database server in its own Environment.
A database server is a replica of a server in another environment, or of something that is not a database server. A failover pair runs in one environment: point the replica at the primary in its own.
Examples
In a shop whose sql-prd server runs in PRD, a replica of it in DEV raises KQ031:
db-server sql-standby "Orders SQL standby" : azure.sql-database environment DEV x1 replica of sql-prd failover
A replica in the primary's own stage raises nothing:
db-server sql-standby "Orders SQL standby" : azure.sql-database environment PRD x1 replica of sql-prd failover
© 2026 Extenza Works. All rights reserved.