Thank you for your help! If the status of the bug report you submitted changes,
you will be notified. You may return here and check on the status or update
your report at any time. That URL for your bug report is: http://bugs.mysql.com/115463.
Bug #115463 | select wrong value after update statement when another session update the same r | ||
---|---|---|---|
Submitted: | 29 Jun 2024 18:03 | Modified: | 1 Jul 2024 11:32 |
Reporter: | jian liang | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 8.0.20 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | inndob |
[29 Jun 2024 18:03]
jian liang
[1 Jul 2024 9:43]
cranesky chen
Same issue happen to me.
[1 Jul 2024 9:55]
MySQL Verification Team
Hi Mr. Liang, Thank you for your bug report. However, this is not a bug. That is how MVCC of the Repeatable-Read is designed to work. You will find all the explanations in our Reference Manual. Not a bug.
[1 Jul 2024 10:16]
jian liang
Can you find the relevant description to this issue in the reference manual? I consider it is a bug because the select statement is just followed the update statement in the same session, and even no other session affect it.
[1 Jul 2024 11:32]
MySQL Verification Team
Hi Mr. LIang, The release that you are using is very old. Current release of 8.0 is 8.0.38. We ran your test case and we were not able to repeat it. We got a lock wait timeout. We suppose that you ran your test case with autocommit set to on. Even in that scenario, we did not manage to repeat your behaviour with 8.0.38. Can't repeat.