Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .changeset/ets-inspector-mailbox-overload.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'@core/sync-service': patch
---

Stop the EtsInspector from overloading its mailbox and re-running database lookups during cold-start bursts or while Postgres is degraded (#4370):

- Concurrent lookups of the same relation, oid, or feature now share a single database call instead of each running their own.
- Failed lookups (table-not-found and connection errors) are cached briefly, so a burst against a failing key stops hammering the database.
- Each lookup has an explicit transaction timeout.
- Each lookup is recorded as an `inspector.fetch_db` span so its latency and outcome are visible in telemetry.
Loading
Loading