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

Weight calculation favors servers without connections

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.2.1
    • 1.3.0
    • readconnroute
    • None

    Description

      If two servers are configured, one with a weight of 100 and the other with a weight of 1, and 50 connections are made to a service using readconnroute one of the connections will always go to the server with the lower weight. This is caused by the use of the actual amount of connections divided by the server weight as the basis of the server selection process.

      This behavior does not correctly represent the documented behavior and instead of the amount of connections, the amount of connections + 1 should be used for the calculation.

      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.