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

Flushing starts only when 90% (srv_max_buf_pool_modified_pct) pages are modified

    XMLWordPrintable

Details

    Description

      Recently changes in introduced by MDEV-24537 accidentally changed the logic such that the flow will not start flushing pages till the number of the dirty-pages > srv_max_buf_pool_modified_pct (default 90%) when ideally is flushing should kick in when the dirty pages > 10%.

          if (lsn_limit);
      ****    else if (dirty_pct < srv_max_buf_pool_modified_pct)****
            goto unemployed;
          else if (srv_max_dirty_pages_pct_lwm == 0.0 ||
                   dirty_pct < srv_max_dirty_pages_pct_lwm)
            goto unemployed;
      

      Said condition is wrong and should be removed.

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              krunalbauskar Krunal Bauskar
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.