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

/maxscale/logs/data endpoint returns less rows than expected using maxlog as the source

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.4.1
    • Fix Version/s: 22.08.0
    • Component/s: REST-API
    • Labels:
      None

      Description

      If maxlog is used as the log source, the /v1/maxscale/logs/data endpoint would return less rows than requested if the log span it covers contained lines with the log footers or headers. This also caused the row numbering to not be sequential which could cause invalid cursor positions to be created.

      The fix to this is to use the valid row count as the line numbers, not the actual line numbers in the file.

        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.