opensearch-project / OpenSearch

🔎 Open source distributed and RESTful search engine.
https://opensearch.org/docs/latest/opensearch/index/
Apache License 2.0
8.83k stars 1.62k forks source link

[Backport 2.x] Support wildcard/regex for indices param in _remotestore/_restore (#8922) #13527

Closed linuxpi closed 2 weeks ago

linuxpi commented 2 weeks ago

Signed-off-by: bansvaru bansvaru@amazon.com (cherry picked from commit 29ebd80fdd6771ccc2023bf432977c38c76bfd55)

Description

[Describe what this change achieves]

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

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.

github-actions[bot] commented 2 weeks ago

:x: Gradle check result for 60d74ed7f9db12f76d8afb3bfd9892a9b25f5cac: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

github-actions[bot] commented 2 weeks ago

:grey_exclamation: Gradle check result for 9d4efbb2568c154d28c1d146bd5433fe1dad6596: UNSTABLE

Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 77.19298% with 13 lines in your changes are missing coverage. Please review.

Project coverage is 71.19%. Comparing base (0dd892c) to head (9d4efbb). Report is 225 commits behind head on 2.x.

Files Patch % Lines
...in/java/org/opensearch/common/util/IndexUtils.java 84.61% 4 Missing and 4 partials :warning:
...arch/index/recovery/RemoteStoreRestoreService.java 0.00% 4 Missing :warning:
...ava/org/opensearch/snapshots/SnapshotsService.java 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## 2.x #13527 +/- ## ============================================ - Coverage 71.28% 71.19% -0.09% - Complexity 60145 61132 +987 ============================================ Files 4957 5027 +70 Lines 282799 287538 +4739 Branches 41409 42038 +629 ============================================ + Hits 201591 204722 +3131 - Misses 64189 65539 +1350 - Partials 17019 17277 +258 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.