MySQL Forums
Forum List  »  InnoDB

Re: deadlock of gap lock upgrade to insert attention lock
Posted by: Federico Razzoli
Date: November 21, 2020 08:26PM

In my tests, this works as expected:
* With REPEATABLE READ (default) the second SELECT remains on hold.
* With READ COMMITTED no lock or deadlock occurs.

Which version of MySQL are you using? Probably you should file a bug (after checking if the bug was already reported).

--
Federico Razzoli
Director @ Vettabase Ltd
https://vettabase.com

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: deadlock of gap lock upgrade to insert attention lock
293
November 21, 2020 08:26PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.