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

Maxinfo sessions JSON output is not valid

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.1
    • Fix Version/s: 2.0.0
    • Component/s: maxinfo
    • Labels:
      None

      Description

      The JSON output of the maxinfo module for sessions is not valid JSON. This causes parsing of the output to fail.

      Here is an example of the output. Notice the missing values starting at line 3.

      [ { "Session" : "0x7fffc0000a30", "Client" : "127.0.0.1", "Service" : "maxinfo", "State" : "Session ready for routing"},
      { "Session" : "0x7fffc4000c70", "Client" : "127.0.0.1", "Service" : "maxinfo", "State" : "Session ready for routing"},
      { "Session" : "0x776770", "Client" : , "Service" : "CLI", "State" : "Listener Session"},
      { "Session" : "0x7766c0", "Client" : , "Service" : "Debug Interface", "State" : "Listener Session"},
      { "Session" : "0x777160", "Client" : , "Service" : "Read Connection Router", "State" : "Listener Session"},
      { "Session" : "0x776280", "Client" : , "Service" : "RW Split Hint Router", "State" : "Listener Session"},
      { "Session" : "0x775320", "Client" : , "Service" : "SchemaRouter Router", "State" : "Listener Session"},
      { "Session" : "0x6bc370", "Client" : , "Service" : "RW Split Router", "State" : "Listener Session"},
      { "Session" : "0x6bbea0", "Client" : , "Service" : "maxinfo", "State" : "Listener Session"},
      { "Session" : "0x6bb2b0", "Client" : , "Service" : "maxinfo", "State" : "Listener Session"}]
      

        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.