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

Add formal configuration option for allowing duplicate servers in MaxScale

    XMLWordPrintable

Details

    • New Feature
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 24.02.2, 24.02.3
    • None
    • galeramon
    • None

    Description

      Currently, the MaxScale server allows the use of duplicate servers only when the debug=allow-duplicate-servers option is set in the configuration. This functionality should be enhanced to enable allowing duplicate servers through a standard, non-debug configuration option.

      Steps to Reproduce:

      1. Set up a MaxScale configuration with multiple servers that may have overlapping host/port combinations.
      2. Attempt to configure MaxScale to allow duplicate servers using the debug option debug=allow-duplicate-servers.
      3. Note that this feature is only accessible through a debug configuration setting.

      Expected Behavior:

      The system should allow the configuration of duplicate servers through a standard configuration option, such as allow_duplicate_servers, rather than relying on a debug option. This should be clearly documented and easily accessible for production use.

      Proposed Solution:

      1. Introduce a new configuration option, allow_duplicate_servers, in the MaxScale configuration file.
      2. Update the server creation logic to check this new option instead of the debug flag.
      3. Ensure that the new option is properly documented in the MaxScale configuration guide.
        Additional Information:

      In version 2.3.12, it was possible to add the same server multiple times without needing a debug option. This feature should be reintroduced in a more formal and user-friendly manner.

      Rationale:

      Allowing duplicate servers via a standard configuration option improves usability and flexibility, making it easier for users to manage their server configurations without needing to enable debug settings. This change aligns with best practices for production environments and enhances the overall robustness of the MaxScale server management

      Attachments

        Activity

          People

            maxmether Max Mether
            Carverok Abel Alam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.