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

Page cleaner should do LRU flushing regardless of server activity

    Details

      Description

      This is fix for upstream bug
      http://bugs.mysql.com/bug.php?id=71988
      http://bugs.mysql.com/bug.php?id=70500

      page_cleaner should work whether or not there is server activity.
      Its iterations become a noop when there is no work to do but we
      should not tie it to the server activity.

      The page_cleaner thread does spurious background flushing
      because of conditional sleep between iterations. The solution
      is not to make sleep dependent on server activity etc.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              jplindst Jan Lindström added a comment -

              revno: 4456
              committer: Jan Lindström <jplindst@mariadb.org>
              branch nick: 10.0-innodb
              timestamp: Fri 2014-10-24 18:58:04 +0300
              message:
              MDEV-6931: Page cleaner should do LRU flushing regardless of server activity

              Merge Facebook commit 926a077b14b73c14094de7fc7aa913241b801b4d
              authored by Inaam Rana from https://github.com/facebook/mysql-5.6.

              This is fix for upstream bugs
              http://bugs.mysql.com/bug.php?id=71988
              http://bugs.mysql.com/bug.php?id=70500

              page_cleaner should work whether or not there is server activity.
              Its iterations become a noop when there is no work to do but we
              should not tie it to the server activity.

              The page_cleaner thread does spurious background flushing
              because of conditional sleep between iterations. The solution
              is not to make sleep dependent on server activity etc.

              Show
              jplindst Jan Lindström added a comment - revno: 4456 committer: Jan Lindström <jplindst@mariadb.org> branch nick: 10.0-innodb timestamp: Fri 2014-10-24 18:58:04 +0300 message: MDEV-6931 : Page cleaner should do LRU flushing regardless of server activity Merge Facebook commit 926a077b14b73c14094de7fc7aa913241b801b4d authored by Inaam Rana from https://github.com/facebook/mysql-5.6 . This is fix for upstream bugs http://bugs.mysql.com/bug.php?id=71988 http://bugs.mysql.com/bug.php?id=70500 page_cleaner should work whether or not there is server activity. Its iterations become a noop when there is no work to do but we should not tie it to the server activity. The page_cleaner thread does spurious background flushing because of conditional sleep between iterations. The solution is not to make sleep dependent on server activity etc.

                People

                • Assignee:
                  jplindst Jan Lindström
                  Reporter:
                  jplindst Jan Lindström
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: