Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2.2, 10.3.0, 10.4.0
Description
The BtrBulk class, which was introduced in MySQL 5.7, is by design the exclusive writer to an index. It is therefore unnecessary to acquire the dict_index_t::lock in that code.
Holding the dict_index_t::lock would unnecessarily block other threads (SQL connections and the InnoDB purge threads) from buffering concurrent modifications to being-created secondary indexes.
This was addressed in MySQL 5.7.28 with a change that is still unnecessarily acquiring the dict_index_t::lock in some cases:
Bug #29008298 MYSQLD CRASHES ITSELF WHEN CREATING INDEX
Attachments
Issue Links
- is part of
-
MDEV-20850 Merge new release of InnoDB 5.7.28 to 10.2
- Closed