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

Query caching should not be enabled by default in apt packages

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 5.5(EOL), 10.0(EOL), 10.1(EOL), 10.2(EOL), 10.3(EOL)
    • 10.5.4
    • Platform Debian

    Description

      Query caching is enabled in MariaDB apt packages although it’s not the default behaviour of a vanilla MariaDB server (see the documentation of query_cache_type).
      This probably happens because query_cache_size is set to a non-default value.

      It is especially problematic since query caching has a regression in MariaDB 10.2.x and 10.3.x which causes SELECT to return wrong results in certain scenarios (see MDEV-16087 for details).

      Attachments

        Issue Links

          Activity

            With MDEV-16087 fixed, should query cache be now enabled by default or not?

            I see that in upstream Debian packaging the my.cnf ships with query_cache_size=64M and in downstream official Debian packages there is query_cache_size=16M

            otto Otto Kekäläinen added a comment - With MDEV-16087 fixed, should query cache be now enabled by default or not? I see that in upstream Debian packaging the my.cnf ships with query_cache_size=64M and in downstream official Debian packages there is query_cache_size=16M

            With MDEV-16087 fixed, should query cache be now enabled by default or not?

            In my opinion the apt packages should use the default configuration.
            I.e. default query_cache_size and thus query caching disabled.

            bwaldvogel Benedikt Waldvogel added a comment - With MDEV-16087 fixed, should query cache be now enabled by default or not? In my opinion the apt packages should use the default configuration. I.e. default query_cache_size and thus query caching disabled.
            otto Otto Kekäläinen added a comment - WIP in https://github.com/MariaDB/server/pull/1504

            Closed via aaaf005ce61a543f1a1470b179ccb535698b36ef and bb8477778b72f047437b2a03a2bd38997e155f10 when #1504 was merged.

            otto Otto Kekäläinen added a comment - Closed via aaaf005ce61a543f1a1470b179ccb535698b36ef and bb8477778b72f047437b2a03a2bd38997e155f10 when #1504 was merged.

            People

              otto Otto Kekäläinen
              bwaldvogel Benedikt Waldvogel
              Votes:
              0 Vote for this issue
              Watchers:
              6 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.