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

txn: add optimistic transaction blocking infomation to data_lock_waits #34609

Closed
longfangsong opened this issue May 12, 2022 · 0 comments · Fixed by #33993
Closed

txn: add optimistic transaction blocking infomation to data_lock_waits #34609

longfangsong opened this issue May 12, 2022 · 0 comments · Fixed by #33993
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@longfangsong
Copy link
Contributor

Enhancement

Currently data_lock_waits will only show pessimistic transaction blocking infomation, however, an optimistic transaction can be blocked by a pessimistic lock for a long time.

Thus we'd better add this infomation.

@longfangsong longfangsong added the type/enhancement The issue or PR belongs to an enhancement. label May 12, 2022
longfangsong added a commit to longfangsong/tidb that referenced this issue May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant