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

cyclic, cmd: qoute cyclic table name, fatal if loopback and fix a data race #701

Merged
merged 8 commits into from
Jul 3, 2020

Conversation

overvenus
Copy link
Member

What problem does this PR solve?

  • Correct a few logs
  • Fix data race on log
  • Fail fast if loopback detected
  • Quote mark table name in update SQL.

Check List

Tests

  • Integration test

Related changes

  • Need to cherry-pick to the release branch

Release note

  • Fix the issue log may cause data race.

Signed-off-by: Neil Shen <overvenus@gmail.com>
Signed-off-by: Neil Shen <overvenus@gmail.com>
@overvenus overvenus changed the title Cyclic/misc fix cyclic, cmd: qoute cyclic table name, fatal if loopback and fix a data race Jun 29, 2020
@overvenus
Copy link
Member Author

/run-integration-tests

@codecov-commenter
Copy link

codecov-commenter commented Jun 29, 2020

Codecov Report

Merging #701 into master will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master       #701   +/-   ##
===========================================
  Coverage   31.4206%   31.4206%           
===========================================
  Files            90         90           
  Lines          9411       9411           
===========================================
  Hits           2957       2957           
  Misses         6215       6215           
  Partials        239        239           

Copy link
Contributor

@zier-one zier-one left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -1,66 +0,0 @@
#!/bin/bash
Copy link
Contributor

Choose a reason for hiding this comment

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

why is this test case removed?

Signed-off-by: Neil Shen <overvenus@gmail.com>
Copy link
Contributor

@amyangfei amyangfei left a comment

Choose a reason for hiding this comment

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

LGTM

@amyangfei amyangfei added LGT2 and removed LGT1 labels Jul 2, 2020
@amyangfei
Copy link
Contributor

/run-integration-tests

@overvenus
Copy link
Member Author

/run-integration-tests

@amyangfei amyangfei merged commit 0057782 into pingcap:master Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants