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

maxctrl show sessions - queries always empty

Details

    Description

      Hi,

      I have an issue with maxctrl show sessions.

      Indeed, when I want to show the sessions, queries is always empty.

      [maxscale]
      threads=auto
      retain_last_statements=50
      dump_last_statements=on_close
      session_trace=50
      [.....]
      

      So, indeed, I can see the queries in Log row (probably due to session_trace) and in the logs but nothing in queries row. What is the goal of this row? This is a bug or normal behavior?

      │ Queries        │                                                                                                                                                                          │
      ├────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
      │ Log            │ 2020-06-05 20:56:14   info   : (4) [readconnroute] Routed [COM_QUERY] to 'dbserv2': UPDATE sbtest16 SET k=k+1 WHERE id=4049785                                      │
      │                │                                                                                                                                                                          │
      │                │ 2020-06-05 20:56:14   info   : (4) [readconnroute] Routed [COM_QUERY] to 'dbserv2': UPDATE sbtest16 SET k=k+1 WHERE id=5004436                                      │
      │                │                                                                                                                                                                          │
      │                │ 2020-06-05 20:56:14   info   : (4) [readconnroute] Routed [COM_QUERY] to 'dbserv2': SELECT DISTINCT c FROM sbtest7 WHERE id BETWEEN 5038798 AND 5038897 ORDER BY c 
      

      If I remove session_trace & keep the statements conf: nothing in log/log row/queries row.

      Best regards,

      Attachments

        Activity

          markus makela markus makela added a comment -

          I tested this with the latest 2.4 release and it seems to be working as expected. Can you try with the latest release and see if you can still reproduce it?

          markus makela markus makela added a comment - I tested this with the latest 2.4 release and it seems to be working as expected. Can you try with the latest release and see if you can still reproduce it?
          markus makela markus makela added a comment -

          anthosz any updates?

          markus makela markus makela added a comment - anthosz any updates?
          anthosz Anthony added a comment -

          Dear @markus,

          Sorry, I didn't see notification, you can close it.

          Best regards,

          anthosz Anthony added a comment - Dear @markus, Sorry, I didn't see notification, you can close it. Best regards,

          People

            markus makela markus makela
            anthosz Anthony
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.