Skip to content

TTL should be able to tolerate region disappearance #61512

Closed

Description

@YangKeao

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. Create a table with millions empty regions.
  2. Start a TTL job for it.

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

TTL job starts successfully.

3. What did you see instead (Required)

TTL job failed to start because split scan ranges: region not found for regionID.

4. What is your TiDB version? (Required)

Activity

  1. self-assigned this
    on Jun 5, 2025
  2. added
    affects-7.1This bug affects the 7.1.x(LTS) versions.
    affects-7.5This bug affects the 7.5.x(LTS) versions.
    affects-8.1This bug affects the 8.1.x(LTS) versions.
    affects-8.5This bug affects the 8.5.x(LTS) versions.
    on Jun 5, 2025
  3. added a commit that references this issue on Jun 6, 2025
    fc28ff6
  4. added a commit that references this issue on Jun 6, 2025
    c0c17cf
  5. added a commit that references this issue on Jun 10, 2025
    2947a24
  6. added a commit that references this issue on Jun 10, 2025
    4ed7521
  7. added a commit that references this issue on Jun 12, 2025
    6901a6b
  8. added a commit that references this issue on Jul 10, 2025
    c8faf49
  9. added a commit that references this issue on Jul 21, 2025
    931a734
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

affects-7.1This bug affects the 7.1.x(LTS) versions.affects-7.5This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.affects-8.5This bug affects the 8.5.x(LTS) versions.severity/majorsig/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