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

executor: fix data race in (*HashJoinExec).Close() since fetchInnerAndBuildHashTable is still running #11639

Merged
merged 4 commits into from
Aug 15, 2019

Conversation

SunRunAway
Copy link
Contributor

@SunRunAway SunRunAway commented Aug 6, 2019

What problem does this PR solve?

Fixes #11600, and fixes #11693

What is changed and how it works?

It's a bug introduced by #11571

Check List

Tests

Code changes

  • None

Side effects

  • None

Related changes

  • None

@SunRunAway SunRunAway added type/bugfix This PR fixes a bug. sig/execution SIG execution labels Aug 6, 2019
@kennytm
Copy link
Contributor

kennytm commented Aug 6, 2019

/run-all-tests

@codecov
Copy link

codecov bot commented Aug 6, 2019

Codecov Report

Merging #11639 into master will decrease coverage by 0.0017%.
The diff coverage is 0%.

@@               Coverage Diff                @@
##             master     #11639        +/-   ##
================================================
- Coverage   81.4489%   81.4471%   -0.0018%     
================================================
  Files           433        433                
  Lines         93240      93091       -149     
================================================
- Hits          75943      75820       -123     
+ Misses        11867      11846        -21     
+ Partials       5430       5425         -5

@SunRunAway
Copy link
Contributor Author

/run-all-tests

Copy link
Contributor

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

@zz-jason zz-jason left a comment

Choose a reason for hiding this comment

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

Please add an UT for the bug-fixes. You can write a failpoint test.

Copy link
Member

@zz-jason zz-jason left a comment

Choose a reason for hiding this comment

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

Please add an UT for the bug-fixes. You can write a failpoint test.

Copy link
Member

@zz-jason zz-jason left a comment

Choose a reason for hiding this comment

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

LGTM

@zz-jason zz-jason added status/can-merge Indicates a PR has been approved by a committer. and removed status/PTAL labels Aug 15, 2019
@zz-jason zz-jason added the status/LGT2 Indicates that a PR has LGTM 2. label Aug 15, 2019
@sre-bot
Copy link
Contributor

sre-bot commented Aug 15, 2019

/run-all-tests

@sre-bot sre-bot merged commit db6c36c into pingcap:master Aug 15, 2019
@SunRunAway SunRunAway deleted the issue11600 branch August 15, 2019 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/execution SIG execution status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. type/bugfix This PR fixes a bug.
Projects
None yet
5 participants