• Sergei Golubchik's avatar
    MDEV-6605 Multiple Clients Inserting Causing Error: Failed to read... · 6b720ae4
    Sergei Golubchik authored
    MDEV-6605 Multiple Clients Inserting Causing Error: Failed to read auto-increment value from storage engine
    
    * handler::get_auto_increment() was not expecting any errors from the storage engine.
      That was wrong, errors could happen.
    * ha_partition::get_auto_increment() was doing index lookups in partition under a mutex.
      This was redundant (engine transaction isolation was covering that anyway)
      and harmful (causing deadlocks).
    6b720ae4
handler.cc 159 KB