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: fix pre-split region timeout constraint not w ... (#17459) #17617

Merged
merged 5 commits into from
Jun 11, 2020

Conversation

sre-bot
Copy link
Contributor

@sre-bot sre-bot commented Jun 3, 2020

cherry-pick #17459 to release-3.0


What problem does this PR solve?

close #17458

As the title said.

What is changed and how it works?

Use context.WithTimeout.

Related changes

  • Need to cherry-pick to the release branch

Check List

Tests

  • Unit test
  • Manual test

Side effects

  • No

Release note

  • Fix pre-split region timeout constraint not work when create table.

@sre-bot
Copy link
Contributor Author

sre-bot commented Jun 3, 2020

/run-all-tests

ddl/ddl_api.go Outdated
@@ -1467,7 +1467,40 @@ func (d *ddl) CreateTable(ctx sessionctx.Context, s *ast.CreateTableStmt) (err e
return errors.Trace(err)
}

<<<<<<< HEAD
Copy link
Contributor

Choose a reason for hiding this comment

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

@crazycs520
Please fix the conflict.

@qw4990 qw4990 removed their request for review June 4, 2020 06:58
@bb7133 bb7133 modified the milestones: v3.0.15, 3.0.16, v3.0.16 Jun 6, 2020
@tiancaiamao
Copy link
Contributor

LGTM

@tiancaiamao tiancaiamao added the status/LGT1 Indicates that a PR has LGTM 1. label Jun 10, 2020
Copy link
Contributor

@zimulala zimulala 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 added the status/can-merge Indicates a PR has been approved by a committer. label Jun 10, 2020
@sre-bot
Copy link
Contributor Author

sre-bot commented Jun 10, 2020

Sorry @zimulala, you don't have permission to trigger auto merge event on this branch.

@crazycs520
Copy link
Contributor

/run-unit-test

@crazycs520
Copy link
Contributor

/run-all-tests

Copy link
Member

@wjhuang2016 wjhuang2016 left a comment

Choose a reason for hiding this comment

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

LGTM

@crazycs520
Copy link
Contributor

/run-all-tests

@zz-jason zz-jason changed the title ddl: fix pre-split region timeout constraint not work when create table (#17459) ddl: fix pre-split region timeout constraint not w ... (#17459) Jun 11, 2020
@zz-jason zz-jason merged commit 5b7c596 into pingcap:release-3.0 Jun 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/execution SIG execution sig/sql-infra SIG: SQL Infra status/can-merge Indicates a PR has been approved by a committer. status/LGT1 Indicates that a PR has LGTM 1. type/bugfix This PR fixes a bug. type/3.0-cherry-pick
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants