[Backport 2.x] Support wildcard/regex for indices param in _remotestore/_restore (#8922)
- Support wildcard/regex for indices param in _remotestore/_restore
Signed-off-by: bansvaru [email protected] (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
- [ ] New functionality includes testing.
- [ ] All tests pass
- [ ] New functionality has been documented.
- [ ] New functionality has javadoc added
- [ ] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
- [ ] Commits are signed per the DCO using --signoff
- [ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
- [ ] Public documentation issue/PR created
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.
: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?
:grey_exclamation: Gradle check result for 9d4efbb2568c154d28c1d146bd5433fe1dad6596: UNSTABLE
- TEST FAILURES:
1 org.opensearch.remotestore.RemoteStoreStatsIT.testDownloadStatsCorrectnessSinglePrimarySingleReplica
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 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.
Additional details and impacted files
@@ 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.