Oz Katz
Ariel Shaqed (Scolnicov)
02/11/2021, 6:46 AMOz Katz
Ariel Shaqed (Scolnicov)
02/11/2021, 6:55 AMOz Katz
Ariel Shaqed (Scolnicov)
02/11/2021, 7:09 AMSELECT ... FOR SHARE NOWAIT
then they proceed concurrently (good!). But now when a commit tries to SELECT ... FOR UPDATE NOWAIT
it errors out - the requirement is to wait.
(If the commit instead runs SELECT ... FOR UPDATE -- YES, WAIT
, then this case works, but now commits wait for each other instead of erroring out.)Barak Amar
Barak Amar