mirror of
https://github.com/stablyai/orca.git
synced 2026-11-03 02:27:43 +00:00
After the database answers a reconnect verify or a phone resolve, the director compares that answer with the shadow seat map and counts the result by class, logging one count line per route and class a minute and a few rate-limited samples of unexplained disagreements (cell and epoch only, never raw ids). It runs only when the seat poller is on, inside try/catch, and never changes a response. A map-behind mismatch is explained only while this director first saw the newer epoch within 10 s (recorded only by the compare; classification is pure). A seat on a cell not polled within 10 s is cell-unpolled. A null answer for a seat on a cell placement's liveness rule calls dead is map-only-cell-unlive, or cell-unlive-pending when its heartbeat ran out after the last cell-list read.