Details
-
New Feature
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
Description
Currently, after changing the value of innodb_log_file_size using SET GLOBAL command, we dont have any mechanism to monitor the status (verified in 10.11.7).
When we retry the operation when the operation is in progress, we receive below error:
ERROR 1221 (HY000): innodb_log_file_size change is already in progress
Provide a mechanism similar to below to monitor the status of the resizing operation available in mysql
Attachments
Issue Links
- relates to
-
MDEV-27812 Allow innodb_log_file_size to change without server restart
-
- Closed
-
-
MDEV-34750 SET GLOBAL innodb_log_file_size is not crash safe
-
- Closed
-
I was recently thinking about the same while working on
MDEV-34750. Note thatMDEV-34750also fixed a bug where the buf_flush_page_cleaner() would fail to be woken up. That is, the log resizing might hang (using 100% of one CPU core) if there were not enough concurrent writes to InnoDB tables.I can think of a number of SET GLOBAL that could take a longer time to complete:
MDEV-27812; will wait until the log checkpoint has been advanced enough)MDEV-16952; a dummy assignment, will wait until the history list length is below the specified limit)Maybe there should be a variant of the SET GLOBAL statement that would enable the use of the https://mariadb.com/kb/en/progress-reporting/ interface.