Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The scheduling TTL job of table created in v6.5 is particularly frequent after upgraded to 7.5 or later versions #56539

Closed
lcwangchao opened this issue Oct 10, 2024 · 0 comments · Fixed by #56540
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.4 severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@lcwangchao
Copy link
Collaborator

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. create table TTL table in 6.5
  2. upgrade cluster to 7.5 or later versions
  3. select histories in mysql.tidb_ttl_job_history to see the schedule history

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

The TTL job should be scheduled every 1 hour.

3. What did you see instead (Required)

The history shows the schedule interval is much less than 1 hour.

4. What is your TiDB version? (Required)

@lcwangchao lcwangchao added type/bug The issue is confirmed as a bug. severity/major labels Oct 10, 2024
@lcwangchao lcwangchao added sig/sql-infra SIG: SQL Infra affects-7.5 This bug affects the 7.5.x(LTS) versions. affects-8.1 This bug affects the 8.1.x(LTS) versions. and removed may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 may-affects-7.1 may-affects-7.5 may-affects-8.1 labels Oct 10, 2024
@ti-chi-bot ti-chi-bot bot closed this as completed in c827297 Oct 11, 2024
@lcwangchao lcwangchao added the affects-7.1 This bug affects the 7.1.x(LTS) versions. label Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.4 severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant