-
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
A row got updated twice by one update statement #19585
Comments
/assign @tiancaiamao |
If nobody tells me about this issue, I would never know it ever happened. After a binary search between different commits, I locate the bug. And the bug is fixed by another refactoring, remove The bug is introduced partly due to the complex design of DirtyTable, the partition table did not consider all the corner cases. This story is a perfect example of "Complexity is the enemy of software engineering". |
Both commits are on the master branch |
Integrity check: |
Please edit this comment to complete the following informationNot a bug
Duplicate bug
BugNote: Make Sure that 'component', and 'severity' labels are added 1. Root Cause Analysis (RCA)During partition table refactoring, some corner case in union scan is not considered. 2. SymptomNot in any TiDB released version 3. All Trigger ConditionsSee Minimal reproduce step 4. Workaround (optional)5. Affected versionsunreleased 6. Fixed versionsunplanned |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
master @ b0c3fe7
The text was updated successfully, but these errors were encountered: