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

Enable implicit creation of filters.

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 25.10.0
    • Core
    • None
    • MXS-SPRINT-222, MXS-SPRINT-223

    Description

      Currently a filter must always be explicitly created before it can be used.

      [MyFilter]
      type=filter
      module=xyzfilter
      ...
       
      [MyService]
      type=service
      ...
      filters=MyFilter
      

      That's unavoidable, if the filter has parameters that need to be set, but if it has not, it is in principle an unnecessary extra step.

      By making it possible to refer directly to the filter module, in cases where the filter takes no parameters that extra step could be avoided. E.g.

      [MyService]
      type=service
      ...
      filters=xyzfilter
      

      When this is possible, it would make sense to create very specific filters that do one thing, and one thing only. For instance, MXS-5354 will make it possible to allow only certain types of queries to go through and in desired the behaviour must be configured.

      With the functionality enabled by this feature, it would make sense to create specializations of it, say, readonly, writeonly, noddl, etc. that require no configuration and thus then easily could be used. E.g

      [MyService]
      type=service
      ...
      filters=readonly
      

      Attachments

        Issue Links

          Activity

            People

              markus makela markus makela
              johan.wikman Johan Wikman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 10d
                  10d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 1.25d Time Not Required
                  1.25d

                  Git Integration

                    Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.