Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 10.1
-
Component/s: Storage Engine - InnoDB
-
Labels:
Description
In InnoDB, fil_system->mutex is one of the most contended mutexes. We should reduce the amount of work done while holding this mutex.
One such source of work is tablespace lookups.
During a page flush, we could look up the tablespace only once, in buf_flush_write_block_low(), and pass the fil_space_t* to all functions that need it.