Closed
Description
Consider the following two examples (there may be others, will need to audit more thoroughly):
cockroach/pkg/sql/conn_executor_exec.go
Lines 633 to 639 in 91a0898
cockroach/pkg/sql/colflow/vectorized_flow.go
Line 949 in 91a0898
The created spans are never explicitly Finish()-ed. This may pose to be a problem with always-on tracing (#55592), where un-Finish()-ed spans take up room in an in-memory registry of active spans (#58490). This is a tracking issue to refer to as we fix these.