As part of this feature, we are supporting repository configuration for Remote-Store (or) Remote-Publication. A node can specify a repository configuration (eg cluster-state repository) as part of only one of the feature since the underlying repository service validates for unique repositories. Validate if a repository is configured either Remote-Store (or) Remote-Publication and NOT both.
Describe the bug
As part of this feature, we are supporting repository configuration for Remote-Store (or) Remote-Publication. A node can specify a repository configuration (eg cluster-state repository) as part of only one of the feature since the underlying repository service validates for unique repositories. Validate if a repository is configured either Remote-Store (or) Remote-Publication and NOT both.
Context :- Comment
Related component
Cluster Manager
To Reproduce
Configure the following settings in opensearch.yml node.attribute.remote_store.state.repository node.attribute.remote_publication.state.repository
the 2nd configuration will be ignored
Expected behavior
Node bootstrap should fail
Additional Details
Plugins Please list all plugins currently enabled.
Screenshots If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context Add any other context about the problem here.