Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[4.2.2 BACKPORT] Enable instance tracking by default for NLC builds (#…
…19278) Instance tracking should be on by default, but only for NLC builds. The field is set to true by the constructor but we need to introduce additional changes to prevent instance tracking of being disabled even though the user didn't add any configuration: - we need to remove instances tracking config from both XML and YAML default config files - we need to prevent setting the enabled field unless there is content found for the "enabled" field. Otherwise, even an empty instance tracking config could be parsed by YAML parser, and it would disable instance tracking - also, NLC builds don't have a default file name and it should be explicitly set. Non-NLC builds use the default file name. Fixes: https://github.com/hazelcast/hazelcast-enterprise/issues/4166
- Loading branch information
Showing
5 changed files
with
40 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters