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

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 6.4.1
    • 22.08.0
    • REST-API
    • 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

            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.