Skip to content

TTL Job summary is empty when the job timeout #61509

@YangKeao

Description

@YangKeao

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. Run a TTL job until timeout (6h).

2. What did you expect to see? (Required)

The tidb_ttl_table_status and tidb_ttl_job_history will include the job summary like deleted row counts:

3. What did you see instead (Required)

The rows counts are always 0.

{"total_rows":0,"success_rows":0,"error_rows":0,"total_scan_task":0,"scheduled_scan_task":0,"finished_scan_task":0,"scan_task_err":"job is timeout"}

4. What is your TiDB version? (Required)

Metadata

Metadata

Assignees

Labels

affects-8.1This bug affects the 8.1.x(LTS) versions.affects-8.5This bug affects the 8.5.x(LTS) versions.severity/minorsig/sql-infraSIG: SQL Infratype/bugThe issue is confirmed as a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions