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

readconnroute does not increment active_operations

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 21.06.18, 22.08.15, 23.02.12, 23.08.8, 24.02.4, 24.08.0
    • 25.10.0
    • readconnroute
    • None

    Description

      The readconnroute is an exception in that it doesn't use the Backend class to manage the writes. It can do this as it doesn't care whether a result is complete or not as there's next to no logic in the router after the connection has been opened. However, a side-effect of using the Backend class is that it also increments the active operation count which is what e.g. readwritesplit uses to track the load on a server. This means that if a part of the read-only traffic goes through readconnroute and another part goes through readwritesplit, the traffic is not distributed as evenly as it should be.

      Attachments

        Activity

          People

            markus makela markus makela
            markus makela markus makela
            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.