sql: goroutine spawned for vtable generators does not go through stopper #60587
Labels
A-error-handling
Error messages, error propagations/annotations
A-sql-execution
Relating to SQL execution.
A-sql-executor
SQL txn logic
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
The code in
sql/virtual_table.go
contains the following:it should use the stopper and run an Async task instead
or alternatively share the goroutine registration stuff with the stopper to get the cancellation behavior upon server stop.
at the very least it needs a call to
logcrash.RecoverOnPanic...
The text was updated successfully, but these errors were encountered: