OpenSearch icon indicating copy to clipboard operation
OpenSearch copied to clipboard

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

Open linuxpi opened this issue 1 year ago • 1 comments

  • 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.

linuxpi avatar May 03 '24 10:05 linuxpi

: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] avatar May 03 '24 10:05 github-actions[bot]

: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.

github-actions[bot] avatar May 03 '24 11:05 github-actions[bot]

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
@@             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.

codecov[bot] avatar May 03 '24 11:05 codecov[bot]