-
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
executor: fix IsPointGet judgment condition #10278
Conversation
index lookup should not the max ts optimization
@tiancaiamao Please fix CI. |
/run-all-tests |
Codecov Report
@@ Coverage Diff @@
## master #10278 +/- ##
===============================================
+ Coverage 77.8185% 77.8256% +0.007%
===============================================
Files 410 410
Lines 84724 84733 +9
===============================================
+ Hits 65931 65944 +13
+ Misses 13863 13861 -2
+ Partials 4930 4928 -2 |
go.mod
Outdated
@@ -55,6 +55,7 @@ require ( | |||
github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72 | |||
github.com/struCoder/pidusage v0.1.2 | |||
github.com/tiancaiamao/appdash v0.0.0-20181126055449-889f96f722a2 | |||
github.com/tiancaiamao/debugger v0.0.0-20190426085344-91156e93f38e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we put this package into failpoint
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
debugger.Continue("point-get-g1") | ||
debugger.Break(label) | ||
tk2.MustExec("update point_get set b = 2, c = 2 where a = 1") | ||
debugger.Continue("point-get-g1") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
continue "point-get-g2"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
continue "point-get-g1" is right here... it means notify the other goroutine to continiue, not this one...
Notify the "select c from point_get where b = 1"
transaction, to continue the second get(key)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Please fix ci |
I tried |
@tiancaiamao well, let's focus on the bug fixing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
index lookup should not use the max ts optimization
fix IsPointGet judgment condition
What problem does this PR solve?
index lookup should not use the max ts optimization
What is changed and how it works?
fix IsPointGet judgment condition
Check List
Tests
Related changes