Patch Changes
- e423cb7: Add
ELECTRIC_EXCLUDE_SPANSenv var to exclude arbitrary OTel spans by name, helping manage telemetry quota usage. - 8fe0a37: Fix head-of-line blocking in ShapeLogCollector for shapes with subqueries. Shapes using
IN (SELECT ...)clauses were causing 6–14 second SLC stalls under load due to O(N×D) serialised GenServer calls to Materializer. Replaced with concurrent ETS reads via a per-stack link-values cache, and added an inverted index in Filter so dep-shape record changes bypass the O(N) other_shapes scan. - 9ea6a31: Ignore failures to rollback a transaction when handling a shape db write exception.
- 4608e2e: Replace exqlite SQLite driver with esqlite
- 7e9791c: Run optimize using the write pool rather than using a separate persistent connection even in non-exclusive mode
- fa61cc1: Export number of affected shapes per transaction into the global metrics
- d63e3f5: Disable SQLite metric collection by default