• Monty's avatar
    Fixed assertion Assertion `!table->pos_in_locked_tables' failed · 6765cc60
    Monty authored
    MDEV-17717
    Assertion `!table->pos_in_locked_tables' failed in tc_release_table on
    flushing RocksDB table under SERIALIZABLE
    MDEV-17998
    Deadlock and eventual Assertion `!table->pos_in_locked_tables' failed
    in tc_release_table on KILL_TIMEOUT
    MDEV-19591
    Assertion `!table->pos_in_locked_tables' failed in tc_release_table upon
    altering table into S3 under lock.
    
    The problem was that thd->open_tables->pos_in_locked_tables was not reset
    when alter table failed to reopen a locked table.
    6765cc60
sql_base.cc 287 KB