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

Fix wrong response for Get Snapshots API #68091

Merged
merged 3 commits into from Jan 29, 2021

Conversation

gaobinlong
Copy link
Contributor

Closes #68090.

The main changes are:

  1. fix the bug for Get Snapshots API.
  2. add some test code.

Copy link
Member

@original-brownbear original-brownbear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @gaobinlong

Nice find and great job on the test! Just a few minor points.

@original-brownbear
Copy link
Member

Jenkins test this

@original-brownbear original-brownbear added :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >bug v7.11.0 v7.12.0 v8.0.0 labels Jan 29, 2021
@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team label Jan 29, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@original-brownbear
Copy link
Member

Thanks @gaobinlong looks great now!

@original-brownbear original-brownbear merged commit 7793a95 into elastic:master Jan 29, 2021
alyokaz pushed a commit to alyokaz/elasticsearch that referenced this pull request Mar 10, 2021
…lastic#68091)

Currently running snapshots were not filtered by name correctly if `ignore_missing`  was set to `true`

Closes elastic#68090
easyice pushed a commit to easyice/elasticsearch that referenced this pull request Mar 25, 2021
…lastic#68091)

Currently running snapshots were not filtered by name correctly if `ignore_missing`  was set to `true`

Closes elastic#68090
@gwbrown gwbrown added v7.12.2 and removed v7.12.1 labels Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport pending >bug :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs Team:Distributed Meta label for distributed team v7.12.2 v7.13.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Return snapshots in progress when ignore_unavailable is set to true in Get Snapshots API
6 participants