• Daniel Black's avatar
    MDEV-29166: reduce locking of innodb rseg for user exposure of innodb_history_list_length · 552919d0
    Daniel Black authored
    SHOW ENGINE INNODB STATUS and SHOW GLOBAL VARIABLES were blocking on the locks used
    to access the history length in MDEV-29141. While the reason for the blockage
    was elsewhere, we should make these monitoring commands less blocking as there
    is a trx_sys.history_size_approx function that can be used.
    
    SHOW ENGINE INNODB STATUS and SHOW GLOBAL STATUS LIKE
    'innodb_history_list_length' and Innodb Monitors can use
    trx_sys.history_size_approx().
    552919d0
srv0mon.cc 62.1 KB