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

local_address does not work when threads > 1

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Cannot Reproduce
    • 2.2.2
    • N/A
    • N/A
    • None

    Description

      The newer variable, local_address, does not get set when threads > 1.

      With the following configuration:

      [maxscale]
      threads=1
      local_address=192.168.1.183
      log_info=1
      

      Then in the maxscale.log, I see an entry like:

      2018-03-02 13:43:05   info  : Bound connecting socket to "192.168.1.183".
      

      When I increase threads to be > 1:

      threads=2
      local_address=192.168.1.183
      log_info=1
      

      Then there is no such message in the log.

      And it is more than not being logged, it is not set at all, afaict, because we see errors like this (it is using the wrong IP address, and not the one specified by "local_address"):

      [Warning] Access denied for user 'maxscale1'@'192.168.1.184' (using password: YES)
      

      Attachments

        Activity

          People

            johan.wikman Johan Wikman
            ccalender Chris Calender (Inactive)
            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.