• Marko Mäkelä's avatar
    MDEV-25594: Assertion failure in DeadlockChecker::check_and_resolve() · b9a2e460
    Marko Mäkelä authored
    ha_innobase::index_read(): If an autocommit non-locking transaction was
    already started, refuse to access a SPATIAL INDEX.
    Once a non-locking autocommit transaction has started, it must remain
    in that mode (not acquire any locks).
    
    This should fix one cause of the assertion failure that would occur in
    DeadlockChecker::check_and_resolve() under heavy load, presumably
    due to concurrent execution of trx_commit_in_memory().
    b9a2e460
dict0mem.h 67.4 KB