Snapshot Pagination and Scalability Improvements Backport to 7.x#74676
Merged
original-brownbear merged 4 commits intoelastic:7.xfrom Jun 29, 2021
original-brownbear:7.x-snapshot-backport-madness
Merged
Snapshot Pagination and Scalability Improvements Backport to 7.x#74676original-brownbear merged 4 commits intoelastic:7.xfrom original-brownbear:7.x-snapshot-backport-madness
original-brownbear merged 4 commits intoelastic:7.xfrom
original-brownbear:7.x-snapshot-backport-madness
Conversation
Collaborator
|
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 #69108 closes #43462
original-brownbear
added a commit
that referenced
this pull request
Jun 29, 2021
This was referenced Jun 29, 2021
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.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.xand 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
masterand7.xbranches)