-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
metric: the lock resolver counter for expired type is incorrect #22356
Comments
It means that we just need to update |
@dwangxxx |
Ok, |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Run some test having conflict read/write like ycsb tests.
2. What did you expect to see? (Required)
There should be few expired counter value.
3. What did you see instead (Required)
Many expired counter value.
4. What is your TiDB version? (Required)
The release-5.0-rc branch.
8df9dbb
The
tikvLockResolverCountWithExpired
collects value everytime for the transaction status withttl == 0
, but it does not mean the transaction is expired if thecommitTS
is greater than zero. The counter should increase only if the transaction is really expired.The text was updated successfully, but these errors were encountered: