amoro
amoro copied to clipboard
[Subtask]: Use a new configuration item to control whether master & slave mode is enabled.
A new configuration item has been added to control whether master & slave mode is enabled, in order to support the horizontal scaling capability of AMS.
Why are the changes needed?
Close #3845
Brief change log
Add a new configuration USE_MASTER_SLAVE_MODE to control whether master & slave mode is enabled.
How was this patch tested?
-
[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible
-
[ ] Add screenshots for manual tests if appropriate
-
[ ] Run test locally before making a pull request
Documentation
- Does this pull request introduce a new feature? (yes / no)
- If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)