Project

General

Profile

Actions

Bug #7

open
AL LF

Job runner leaks a database connection per cancelled job

Bug #7: Job runner leaks a database connection per cancelled job

Added by Anna Lindqvist 3 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Job runner
Target version:
Start date:
08/24/2026
Due date:
% Done:

100%

Estimated time:
2:00 h

Description

What happens

job runner leaks a database connection per cancelled job — reproduced on the current 1.5 Glasshouse build.

Steps to reproduce

  1. Sign in as a tenant on the standard plan.
  2. Open the affected screen and repeat the action three times in a row.
  3. Watch the response, the log line and the metric named in the comments below.

Expected

The operation completes once, the log carries a single correlated request id, and the metric moves
by exactly one.

Actual

The behaviour in the title: every time on a cold cache, and roughly one run in four on a warm one.
Found while working through the Job runner backlog; the correlation id is available on request.

Actions

Also available in: PDF Atom