-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
ddl: make the SyncerSessionTTL smaller #10371
Conversation
Codecov Report
@@ Coverage Diff @@
## master #10371 +/- ##
================================================
- Coverage 80.2056% 80.1826% -0.0231%
================================================
Files 415 415
Lines 88313 88276 -37
================================================
- Hits 70832 70782 -50
- Misses 12256 12267 +11
- Partials 5225 5227 +2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/run-all-tests |
What problem does this PR solve?
If we do "kill -9" to TiDB, the DDLAllSchemaVersions path doesn't be removed, and it will be automatically removed after a TTL.
If this path doesn't be removed, then changing a DDL state requires waiting for 2 * lease.
What is changed and how it works?
Make the SyncerSessionTTL smaller
Related changes