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

Client port is not in 'maxctrl show sessions' output

    XMLWordPrintable

Details

    Description

      When displaying the output from 'maxctrl show sessions' or 'maxctrl list sessions' as well as the remote clients ip address it would be useful to see the remote clients port number in the same way that the remote port number is displayed by the database when 'show processlist' is run. For example:

      [root@ip-172-16-12-13 ~]# maxctrl show sessions
      .
      .
      ├───────────────────┼──────────────────────────┤
      │ Host │ ::ffff:172.16.12.224 │ <------ current output
      ├───────────────────┼──────────────────────────┤
      .
      .

      [root@ip-172-16-12-13 ~]# maxctrl show sessions
      .
      .
      ├───────────────────┼──────────────────────────┤
      │ Host │ ::ffff:172.16.12.224:12345 │ <------ desired output
      ├───────────────────┼──────────────────────────┤
      .
      .

      This would help in identifying which process on the remote client has established the connection to Maxscale.

      Attachments

        Activity

          People

            markus makela markus makela
            mpflaum Maria M Pflaum
            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.