-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
clustered index + unionscan,query using index return the same 2 records #30823
Comments
1、the update operation in the transaction does not match the record, why unionscan is used? |
There is a PUT_index for (batch_)point_get, introduced by #25730
It does not call UpdateRecord. The mutation checker is not triggered |
/cc @cfzjywxk |
@vivid392845427 @ekexium
The unique index If the
|
In the future sprint doing pessimistic transaction optimizations for example if we could push down the lock operator to tikv nodes, the lock behaviour then would be the same for all executors. |
IMO, such PUT operation should not be visible to read operations. |
duplicate with 24159,appears when union scan + point_get + select use unqiue index |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
set new_collations_enabled_on_first_bootstrap: true
2. What did you expect to see? (Required)
queries return the same result:
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: