Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Remote Store] Add integration tests for restore flow #8483

Open
5 of 7 tasks
BhumikaSaini-Amazon opened this issue Jul 6, 2023 · 0 comments
Open
5 of 7 tasks

[Remote Store] Add integration tests for restore flow #8483

BhumikaSaini-Amazon opened this issue Jul 6, 2023 · 0 comments
Labels
enhancement Enhancement or improvement to existing feature or request Storage Issues and PRs relating to data and metadata storage

Comments

@BhumikaSaini-Amazon
Copy link
Contributor

BhumikaSaini-Amazon commented Jul 6, 2023

Is your feature request related to a problem? Please describe.
We need to identify and add relevant scenarios to the Remote Store restore flow test suite to thoroughly validate for any bugs or gaps in the restore logic. Currently, there are some tests already added to RemoteStoreIT class. Additional configurations need to be tested.

Describe the solution you'd like

Add the following test scenarios to the suite:

  • Restoring an index with >= 1 replica - 1 for each of the restore source / data loss (if any) combinations (RSS only, RSS+RTS both, flushed data, refreshed data, unrefreshed data)
  • Specifying indices using wildcards.
  • Excluding indices using wildcards.
  • Restoring multiple indices via single request.
  • Restoring only few of the red remote-enabled indices.
  • Restoring an index via index alias
  • TODO: what else is a good scenario to cover?

Additional context

  1. Remote Store restore API: https://opensearch.org/docs/latest/tuning-your-cluster/availability-and-recovery/remote-store/index/#restoring-from-a-backup
  2. Peer recovery tests are tracked separately in [Remote Store] Add integration tests for recovery flow #8476
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Storage Issues and PRs relating to data and metadata storage
Projects
Status: 🆕 New
Development

No branches or pull requests

4 participants