-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Snapshot Pagination and Scalability Improvements Backport to 7.x #74676
Merged
original-brownbear
merged 4 commits into
elastic:7.x
from
original-brownbear:7.x-snapshot-backport-madness
Jun 29, 2021
Merged
Snapshot Pagination and Scalability Improvements Backport to 7.x #74676
original-brownbear
merged 4 commits into
elastic:7.x
from
original-brownbear:7.x-snapshot-backport-madness
Jun 29, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
original-brownbear
added
:Distributed Coordination/Snapshot/Restore
Anything directly related to the `_snapshot/*` APIs
backport
labels
Jun 29, 2021
elasticmachine
added
the
Team:Distributed (Obsolete)
Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.
label
Jun 29, 2021
Pinging @elastic/es-distributed (Team:Distributed) |
This PR returns the get snapshots API to the 7.x format (and transport client behavior) and enhances it for requests that ask for multiple repositories. The changes for requests that target multiple repositories are: * Add `repository` field to `SnapshotInfo` and REST response * Add `failures` map alongside `snapshots` list instead of returning just an exception response as done for single repo requests * Pagination now works across repositories instead of being per repository for multi-repository requests closes elastic#69108 closes elastic#43462
original-brownbear
added a commit
to original-brownbear/elasticsearch
that referenced
this pull request
Jun 29, 2021
Disabling BwC tests so that elastic#74676 can be merged.
original-brownbear
added a commit
that referenced
this pull request
Jun 29, 2021
original-brownbear
added a commit
to original-brownbear/elasticsearch
that referenced
this pull request
Jun 29, 2021
Now that elastic#74676 has been merged, reenable BwC tests.
This was referenced Jun 29, 2021
original-brownbear
added a commit
to original-brownbear/elasticsearch
that referenced
this pull request
Jun 29, 2021
Follow-up to elastic#74676 where I missed a spot in request conversions.
original-brownbear
added a commit
that referenced
this pull request
Jun 29, 2021
original-brownbear
added a commit
that referenced
this pull request
Jun 29, 2021
Follow-up to #74676 where I missed a spot in request conversions.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport
:Distributed Coordination/Snapshot/Restore
Anything directly related to the `_snapshot/*` APIs
Team:Distributed (Obsolete)
Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.
v7.14.0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport of the recently introduced snapshot pagination and scalability improvements listed below.
Merged as a single backport because the
7.x
and master snapshot status API logic had massively diverged between master and 7.x. With the work in the below PRs, the logic in master and 7.x once again has been aligned very closely again.#72842
#73172
#73199
#73570
#73952
#74236
#74451 (this one is only partly applicable as it was mainly a change to master to align
master
and7.x
branches)