Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-27094

Debug builds include useless InnoDB "disabled" options

Details

    Description

      The following options were introduced in MariaDB 10.2.2 and have little use:

      • innodb_disable_resize_buffer_pool_debug has no effect even in MariaDB 10.2.2. It was introduced in MySQL 5.7.6 and almost entirely removed in MySQL 5.7.12.
      • innodb_page_cleaner_disabled_debug and innodb_master_thread_disabled_debug are only used by the test innodb.redo_log_during_checkpoint that is rather useless.
      • innodb_dict_stats_disabled_debug is only used by that test, and it is redundant because one could simply use innodb_stats_persistent=OFF or CREATE TABLE…STATS_PERSISTENT=0 in the test to achieve the same effect.

      Attachments

        Activity

          I applied this debug-only cleanup to 10.5, because the test innodb.redo_log_during_checkpoint would occasionally fail due to the function log_checkpoint() triggering some apparent bug in the DBUG subsystem via safe_mutex. In 10.8, MDEV-14425 should have made the conditions unreachable. In 10.5 log checkpoints are tightly coupled with the single buf_flush_page_cleaner thread. The debug instrumentation is more relevant to 10.2, 10.3, 10.4, where there can be multiple page cleaner threads, and the checkpoints are invoked by yet other threads.

          marko Marko Mäkelä added a comment - I applied this debug-only cleanup to 10.5, because the test innodb.redo_log_during_checkpoint would occasionally fail due to the function log_checkpoint() triggering some apparent bug in the DBUG subsystem via safe_mutex . In 10.8, MDEV-14425 should have made the conditions unreachable. In 10.5 log checkpoints are tightly coupled with the single buf_flush_page_cleaner thread. The debug instrumentation is more relevant to 10.2, 10.3, 10.4, where there can be multiple page cleaner threads, and the checkpoints are invoked by yet other threads.

          People

            marko Marko Mäkelä
            marko Marko Mäkelä
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.