Which site a request belongs to when the caller did not say. The object name is the site, so a
wrong answer serves another site's database rather than failing.
Layers in order: ?site= (only when the caller opts in), KV by host, SITE_ID, the
deployment's primary site, the derived hostname, then site. The optional layers come first
because derivation answers for every real host and would shadow them.
Which site a request belongs to when the caller did not say. The object name is the site, so a wrong answer serves another site's database rather than failing.
Layers in order:
?site=(only when the caller opts in), KV by host,SITE_ID, the deployment's primary site, the derived hostname, thensite. The optional layers come first because derivation answers for every real host and would shadow them.