Bug #112838 | INSERT ON DUPLICATE locks the first unequal record in unique secondary index | ||
---|---|---|---|
Submitted: | 26 Oct 2023 2:51 | Modified: | 26 Oct 2023 9:46 |
Reporter: | Zarn Yao Tan | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S4 (Feature request) |
Version: | 8.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[26 Oct 2023 2:51]
Zarn Yao Tan
[26 Oct 2023 9:46]
MySQL Verification Team
Hi Mr. Tan, Thank you for your bug report. However, this is not a bug, nor can it be a feature request. Simply, when, in the transactional engine, you add a record that is to take the last spot, then the gap between the previous record and infimum has to be locked, so that space is reserved. This is explained in our Reference Manual and in the famous Gray's book "Transaction Processing". Not a bug.
[26 Oct 2023 9:46]
MySQL Verification Team
Hi Mr. Tan, Thank you for your bug report. However, this is not a bug, nor can it be a feature request. Simply, when, in the transactional engine, you add a record that is to take the last spot, then the gap between the previous record and infimum has to be locked, so that space is reserved. This is explained in our Reference Manual and in the famous Gray's book "Transaction Processing". Not a bug.
[26 Oct 2023 9:46]
MySQL Verification Team
Hi Mr. Tan, Thank you for your bug report. However, this is not a bug, nor can it be a feature request. Simply, when, in the transactional engine, you add a record that is to take the last spot, then the gap between the previous record and infimum has to be locked, so that space is reserved. This is explained in our Reference Manual and in the famous Gray's book "Transaction Processing". Not a bug.