• Marko Mäkelä's avatar
    MDEV-24884 fixup: Remove a bogus assertion · 74281fe1
    Marko Mäkelä authored
    rw_lock::upgrade_trylock(): If the compare-and-swap fails,
    only assert that we are still holding the U lock and that
    no conflicting lock exists. If the upgrade to X would fail due
    to some thread holding an S latch, we will terminate the loop.
    74281fe1
rw_lock.h 7.08 KB