Bug #113228 | Phantom rows caused by update statements which changes value of the primary key | ||
---|---|---|---|
Submitted: | 27 Nov 2023 5:51 | Modified: | 27 Nov 2023 12:29 |
Reporter: | zhuang liu | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
Version: | 8.0 | OS: | Linux |
Assigned to: | CPU Architecture: | x86 |
[27 Nov 2023 5:51]
zhuang liu
[27 Nov 2023 6:58]
zhuang liu
This test case can also be repeated in MySQL 8.2.0.
[27 Nov 2023 12:29]
MySQL Verification Team
Hi Mr. Liu, Thank you very much for your bug report. We have managed to repeat it with latest 8.0 and 8.2. However, if you commit changes in the second connection, the phantom rows will disappear !!!!! This looks like a duplicate of the bug https://bugs.mysql.com/bug.php?id=100328, which was documented here in the Note here: https://dev.mysql.com/doc/refman/8.0/en/innodb-consistent-read.html However, your report with shadow bugs is something new. Verified as reported for latest 8.0 and 8.2 releases.