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
sql: fix node panic on SIGINT during CHECK EXTERNAL CONNECTION
`CHECK EXTERNAL CONNECTION` defers a close of the `rows` channel as part
of its execution. It also closes that same channel in its `Close`
method. Under normal execution, if `CHECK EXTERNAL CONNECTION` is
allowed to complete, that `rows` channel is set to `nil`, so `Close`
skips the attempt to close to the channel.
However, if a `SIGINT` is sent during the execution to cancel the query,
`rows` is never set to `nil` and `Close` will attempt to close a closed
channel, causing a node panic.
Epic: None
Release note (bug fix): Fixed a bug introduced in v25.1.0 that would
cause a node panic if a `SIGINT` signal was sent during the execution of
a `CHECK EXTERNAL CONNECTION` command.
0 commit comments