TTL scan task will leak when down scaling the scan workers if it failed to cancel the task. #57708
Labels
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-8.1
This bug affects the 8.1.x(LTS) versions.
affects-8.5
This bug affects the 8.5.x(LTS) versions.
impact/leak
severity/moderate
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
If the scan worker failed to cancel the task, the
task.result
will always benil
, and it'll never be regarded as finished. See the following function:It's easy to fix. We need to assign a result to the scan task.
The text was updated successfully, but these errors were encountered: