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

config sync does not ignore port for listeners

    XMLWordPrintable

Details

    • MXS-SPRINT-229

    Description

      The following is reported whenever a change is made with configuration synchronization enabled with two MaxScales on the same host.

      2025-02-23 09:17:22   notice : (ConfigManager); Updating to configuration version 1
      2025-02-23 09:17:23   error  : (ConfigManager); listener: The parameter 'port' cannot be modified at runtime.
      2025-02-23 09:17:23   error  : (ConfigManager); Failed to sync configuration: Failed to update listener 'RW-Split-Listener'
      2025-02-23 09:17:24   warning: (ConfigManager); Successfully reverted the failed configuration change, ignoring configuration version 1.
      2025-02-23 09:18:04   notice : (ConfigManager); Updating to configuration version 2
      2025-02-23 09:18:04   error  : (ConfigManager); listener: The parameter 'port' cannot be modified at runtime.
      2025-02-23 09:18:05   warning: (ConfigManager); Successfully reverted the failed configuration change, ignoring configuration version 2.
      2025-02-23 10:13:06   notice : (ConfigManager); Updating to configuration version 3
      2025-02-23 10:13:07   error  : (ConfigManager); listener: The parameter 'port' cannot be modified at runtime.
      2025-02-23 10:13:07   warning: (ConfigManager); Successfully reverted the failed configuration change, ignoring configuration version 3.
      

      Given that the ports cannot currently be modified at runtime and that ports and listening addresses of the listeners may be different on the different MaxScale instances, the port, socket and address parameters of listeners should be excluded from this check.

      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.