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
153868: rpc, server: add interceptor to catch panics in DRPC for DB console requests r=cthumuluru-crdb,shubhamdhama a=Nukitt
Previously if a DRPC handler experienced an uncaught panic, the entire node would crash. When serving a DB console request, uncaught panics due to its functionality should not cause the CRDB node to crash.
To address this, this patch introduces metadata into the context for all requests originating from the gateway and this is used by a panic recovery interceptor to detect such requests. This allows the server to decide whether to recover from the panic instead of letting it propagate and crash the node.
Epic: none
Fixes: #153452
Release note: None
Co-authored-by: Nukitt <[email protected]>
0 commit comments