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

get_latest_version() called too often

    XMLWordPrintable

    Details

    • Sprint:
      10.1.18, 10.2.4-1

      Description

      Data at rest encryption. MariaDB calls the get_latest_version() of the *_key_management plugins millions of times if innodb_encryption_threads>1 during data scrub.

      Tested with file_key_management plugin, but it should not matter.

      The issue can be seen at each background data scrub, so for testing purposes I have set the interval to 60 seconds:
      innodb-background-scrub-data-check-interval=60

      When using innodb_encryption_threads>1 the function get_latest_version() of the plugin is called millions of times, also cpu load raises considerably.

      Using innodb_encryption_threads=1 there is no such issue.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jplindst Jan Lindström
              Reporter:
              claudio.nanni Claudio Nanni
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: