[BUG] Unable to clear remote_store.compatibility_mode
setting
#13634
Labels
bug
Something isn't working
good first issue
Good for newcomers
low hanging fruit
Storage:Remote
Storage
Issues and PRs relating to data and metadata storage
v2.15.0
Issues and PRs related to version 2.15.0
Describe the bug
Once set in the cluster settings, there isn't a way to clear the
remote_store.compatibility_mode
settingRelated component
Storage
To Reproduce
Run a docrep cluster to remote-backed cluster migration (steps added in PR https://github.com/opensearch-project/documentation-website/pull/7121/files)
Try to clear the compatibility_mode setting:
Expected behavior
The setting should get cleared
Additional Details
Error response
Proposed solution
We seem to be missing a null check in
validateCompatibilityModeSettingRequest( )
:OpenSearch/server/src/main/java/org/opensearch/action/admin/cluster/settings/TransportClusterUpdateSettingsAction.java
Line 288 in cd55bca
Adding that should fix this
The text was updated successfully, but these errors were encountered: