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

Some statistics use 32-bit integers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.10, 2.5.14
    • Fix Version/s: 2.4.18
    • Component/s: Core
    • Labels:
      None
    • Sprint:
      MXS-SPRINT-138

      Description

      Some statistics in 2.4 use plain int types for statistics which overflow into negative values. Depending on the statistic it might take longer but the counter for the number of executed queries is the most problematic one.

      This is not a problem in 2.5 where the statistics were converted into the generic statistics object.

      The JSON library used by MaxScale doesn't support unsigned 64-bit values. To correctly handle statistics that are stored as unsigned 64-bit values, they must be made to fit the positive range of the 64-bit signed integer. This isn't really a problem in practice as most counters in MaxScale grow slowly enough to never wrap around.

        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:

                Git Integration

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