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

ddl: make the SyncerSessionTTL smaller #10371

Merged
merged 3 commits into from
Jun 11, 2019
Merged

Conversation

zimulala
Copy link
Contributor

@zimulala zimulala commented May 6, 2019

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

  • Need to cherry-pick to the release branch

@codecov
Copy link

codecov bot commented May 6, 2019

Codecov Report

Merging #10371 into master will decrease coverage by 0.023%.
The diff coverage is n/a.

@@               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

Copy link
Contributor

@winkyao winkyao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@crazycs520 crazycs520 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zimulala zimulala changed the title [Test] ddl: make the SyncerSessionTTL smaller ddl: make the SyncerSessionTTL smaller Jun 11, 2019
@zimulala zimulala added status/LGT2 Indicates that a PR has LGTM 2. and removed status/DNM labels Jun 11, 2019
Copy link
Member

@bb7133 bb7133 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bb7133
Copy link
Member

bb7133 commented Jun 11, 2019

/run-all-tests

@bb7133 bb7133 merged commit 4077d22 into pingcap:master Jun 11, 2019
@zimulala zimulala deleted the test-ttl branch June 13, 2019 02:39
zimulala added a commit to zimulala/tidb that referenced this pull request Jun 13, 2019
zimulala added a commit to zimulala/tidb that referenced this pull request Jun 13, 2019
@you06 you06 added the sig/sql-infra SIG: SQL Infra label Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/sql-infra SIG: SQL Infra status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants