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

Disable query cache on Spider tables to avoid cache inconsistency

    XMLWordPrintable

Details

    Description

      If there are multiple (writable) Spider nodes, the content of the query cache of each node would be inconsistent. We simply disable the query cache on Spider tables to avoid inconsistency.

      Setting thd->query_cache_is_applicable= 0 in ha_spider::register_query_cache_table() would fix the problem. To see how the function is used, check Query_cache::ask_handler_allowance().

      Attachments

        Activity

          People

            nayuta-yanagisawa Nayuta Yanagisawa (Inactive)
            nayuta-yanagisawa Nayuta Yanagisawa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.