-
Notifications
You must be signed in to change notification settings - Fork 25k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove feature flag from influencing the serialisation (#119875)
When serialising the `IndicesOptions` we were using the helper method `IndicesOptions#allowSelectors()` to retrieve the value of the flag `allowSelector` from the `GatekeeperOptions`. This helper method is taking into consideration the failure store feature flag to ensure we will not allow selectors unless the feature flag is enabled: ``` public boolean allowSelectors() { return DataStream.isFailureStoreFeatureFlagEnabled() && gatekeeperOptions.allowSelectors(); } ``` This was tripping this test. In this case we do not want the feature flag to influence the serialsation of the object. We only want it to be used during index name expression resolution. Fixes: #119862 Fixes: #119861 Fixes: #119860 Fixes: #119859 Fixes: #119822 Fixes: #119821 Fixes: #119820 Fixes: #119819
- Loading branch information
Showing
2 changed files
with
4 additions
and
26 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