You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
colexecerror: allow-list vecindex packages for panic catching
Previously, panics originating from the vecindex packages were not in
the colexecerror allow-list, causing them to crash the server instead
of being returned as SQL errors. For example, a dimension mismatch
query against a vector index would bring down the node.
Catching these panics is safe for two reasons. The vecindex search
path holds no in-memory locks (it relies on KV-layer locking via
vecstore), so a panic mid-operation cannot tear shared state. And
Manager.Get — the one in-memory cache on the path — now cleans up
after a panic during cache-miss construction: waiters are woken with
an error and the failed entry is removed so the next call retries.
Caught panics are returned as assertion errors with sentry reports,
preserving bug visibility without crashing the server.
Resolves: #146694
Epic: none
Release note: None
Co-Authored-By: roachdev-claude <roachdev-claude-bot@cockroachlabs.com>
0 commit comments