-
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
Incorrect select result after point update nothing #28011
Comments
The cause is similar with #28011, currently the merge operation done by the union scan operater will consider the handle key but not the unique key. As a result there will be some weird in transaction query results such as returning same index values for a unique index, like the examples described in #28011. The data consistency will not be affected, but It will be confusing if the user query data for some updates in transaction. |
Signed-off-by: zyguan <zhongyangguan@gmail.com>
This reverts commit 3a5f434. Signed-off-by: zyguan <zhongyangguan@gmail.com>
…ap#42642) ref pingcap#28011 Signed-off-by: zyguan <zhongyangguan@gmail.com>
…42488) (pingcap#42503)" This reverts commit 6211ae6.
…42488) (pingcap#42503)" This reverts commit 6211ae6.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
TiKV is required, then execute the following SQL.
This issue is introduced by #25730 and seems to be fixed by #26759 by accident (after which IndexLookUp gets used).
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
release-5.0
release-5.1
The text was updated successfully, but these errors were encountered: