Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-4215

Allow manual clearing of schemarouter caches

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 23.08.0
    • schemarouter
    • None
    • MXS-SPRINT-184, MXS-SPRINT-185

    Description

      As described in MXS-4214, there's a need to have finer control over when the schemarouter caches are emptied as the act of populating the cache causes a one-time increase in query latency.

      Being able to manually clear the cache, both globally and for a single user, would make it easier to manage when the expensive work of loading the database and table information takes place.

      Attachments

        Activity

          markus makela markus makela created issue -
          johan.wikman Johan Wikman made changes -
          Field Original Value New Value
          Assignee Todd Stoffel [ toddstoffel ]
          markus makela markus makela made changes -
          Attachment schemarouter-clear-caches.patch [ 65260 ]
          markus makela markus makela added a comment -

          I needed this for testing of some other stuff so I wrote a patch for it (attached to the issue).

          markus makela markus makela added a comment - I needed this for testing of some other stuff so I wrote a patch for it (attached to the issue).
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked higher
          toddstoffel Todd Stoffel (Inactive) made changes -
          Fix Version/s Icebox [ 22648 ]
          toddstoffel Todd Stoffel (Inactive) made changes -
          Fix Version/s 23.08 [ 28436 ]
          Fix Version/s Icebox [ 22648 ]
          ccalender Chris Calender (Inactive) made changes -
          Assignee Todd Stoffel [ toddstoffel ] markus makela [ <markus.makela ]
          toddstoffel Todd Stoffel (Inactive) made changes -
          Fix Version/s Icebox [ 22648 ]
          Fix Version/s 23.08 [ 28436 ]
          Assignee markus makela [ <markus.makela ] Todd Stoffel [ toddstoffel ]
          toddstoffel Todd Stoffel (Inactive) made changes -
          Fix Version/s 23.08 [ 28436 ]
          Fix Version/s Icebox [ 22648 ]
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked lower
          markus makela markus makela made changes -
          Assignee Todd Stoffel [ toddstoffel ] markus makela [ <markus.makela ]
          markus makela markus makela made changes -
          Sprint MXS-SPRINT-184 [ 720 ]
          markus makela markus makela made changes -
          Rank Ranked lower
          markus makela markus makela made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          markus makela markus makela made changes -
          Status In Progress [ 3 ] In Review [ 10002 ]
          markus makela markus makela added a comment -

          The command should also allow the cache to be marked a stale instead of clearing it completely. This way the cache can still be used if max_staleness is set to a high value.

          markus makela markus makela added a comment - The command should also allow the cache to be marked a stale instead of clearing it completely. This way the cache can still be used if max_staleness is set to a high value.
          johan.wikman Johan Wikman made changes -
          Sprint MXS-SPRINT-184 [ 720 ] MXS-SPRINT-184, MXS-SPRINT-185 [ 720, 723 ]
          markus makela markus makela made changes -
          Fix Version/s 23.08.0 [ 28440 ]
          Fix Version/s 23.08 [ 28436 ]
          Resolution Fixed [ 1 ]
          Status In Review [ 10002 ] Closed [ 6 ]
          mariadb-jira-automation Jira Automation (IT) made changes -
          Zendesk Related Tickets 146212

          People

            markus makela markus makela
            markus makela markus makela
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.