Skip to content

Harden runaway split detection#13271

Closed
groupcache4321 wants to merge 3 commits intotrinodb:masterfrom
groupcache4321:fixRaceCondition
Closed

Harden runaway split detection#13271
groupcache4321 wants to merge 3 commits intotrinodb:masterfrom
groupcache4321:fixRaceCondition

Conversation

@groupcache4321
Copy link
Contributor

Improve detection of runaway splits and related task killing code to
ensure that we do not kill a thread which we suppose hung, but moved to
execute on behalf of another query, just before we issue kill command.

Description

Bugfix (for a very low probablity race condition)

Related issues, pull requests, and links

Improvement on top of #12392

Documentation

(x) No documentation is needed.
( ) Sufficient documentation is included in this PR.
( ) Documentation PR is available with #prnumber.
( ) Documentation issue #issuenumber is filed, and can be handled later.

Release notes

(x) No release notes entries required.
( ) Release notes entries required with the following suggested text:

groupcache4321 and others added 3 commits July 18, 2022 16:49
To ensure the consistency between
	1. the split and associate the interrupt thread is failing.
	2. and the thread stack trace that the interrupt thread inspected.
@cla-bot
Copy link

cla-bot bot commented Jul 20, 2022

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: yluan.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email email@example.com
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant