Details
-
New Feature
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
24.02.2, 24.02.3
-
None
-
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:
- Set up a MaxScale configuration with multiple servers that may have overlapping host/port combinations.
- Attempt to configure MaxScale to allow duplicate servers using the debug option debug=allow-duplicate-servers.
- 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:
- Introduce a new configuration option, allow_duplicate_servers, in the MaxScale configuration file.
- Update the server creation logic to check this new option instead of the debug flag.
- 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