OpenSearch icon indicating copy to clipboard operation
OpenSearch copied to clipboard

[Remote Store] Add validator that forces segment replication type before enabling remote store

Open sachinpkale opened this issue 3 years ago • 2 comments

Signed-off-by: Sachin Kale [email protected]

Description

Allow remote_store.enabled=true index setting only when replication type is set to segment replication (replicaiton.type=SEGMENT).

Issues Resolved

  • https://github.com/opensearch-project/OpenSearch/issues/3147

Check List

  • [X] New functionality includes testing.
    • [X] All tests pass
  • [ ] New functionality has been documented.
    • [ ] New functionality has javadoc added
  • [X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

sachinpkale avatar Aug 09 '22 16:08 sachinpkale

Gradle Check (Jenkins) Run Completed with:

  • RESULT: FAILURE :x:
  • URL: https://build.ci.opensearch.org/job/gradle-check/1619/
  • CommitID: 11ef2709bd02455f808bb390896480c1eb767dd5

github-actions[bot] avatar Aug 09 '22 16:08 github-actions[bot]

Gradle Check (Jenkins) Run Completed with:

  • RESULT: SUCCESS :white_check_mark:
  • URL: https://build.ci.opensearch.org/job/gradle-check/1620/
  • CommitID: f6174b2f242deea81d197185721a6e109b4bf192

github-actions[bot] avatar Aug 09 '22 17:08 github-actions[bot]