• Thirunarayanan Balathandayuthapani's avatar
    MDEV-23370 innodb_fts.innodb_fts_misc failed in buildbot, server crashed in... · 3ba8f619
    Thirunarayanan Balathandayuthapani authored
    MDEV-23370 innodb_fts.innodb_fts_misc failed in buildbot, server crashed in dict_table_autoinc_destroy
    
    This issue is caused by MDEV-22456 ad6171b9. Fix involves the backported version of 10.4 patch
    MDEV-22778 5f2628d1 and few parts of
    MDEV-17441 (e9a5f288).
    
    dict_table_t::stats_latch_created: Removed
    
    dict_table_t::stats_latch: make value member and always lock it for
    simplicity even for stats cloned table.
    
    zip_pad_info_t::mutex_created: Removed
    
    zip_pad_info_t::mutex: make member value instead of pointer
    
    os0once.h: Removed
    
    dict_table_remove_from_cache_low(): Ensure that fts_free() is always
    called, even if dict_mem_table_free() is deferred until
    btr_search_lazy_free().
    
    InnoDB would always zip_pad_info_t::mutex and
    dict_table_t::autoinc_mutex, even for tables are not in
    ROW_FORMAT=COMPRESSED nor include any AUTO_INCREMENT column.
    3ba8f619
ibuf0ibuf.cc 140 KB