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

SIGFPE when weightby parameter is 0 and using LEAST_GLOBAL_CONNECTIONS

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.3.0
    • Component/s: readwritesplit
    • Labels:
      None

      Description

      If configured with slave_selection_criteria=LEAST_GLOBAL_CONNECTIONS and at least one server with a calculated weight of 0, MaxScale will crash when a client connects to the service. This is caused by the division by zero when the weight of the server is used to calculate which servers to connect to.

        Attachments

          Activity

            People

            • Assignee:
              markus makela markus makela
              Reporter:
              markus makela markus makela
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: