Skip to content

More Efficient Snapshot State Handling (#56669)#59430

Merged
original-brownbear merged 1 commit intoelastic:7.xfrom
original-brownbear:56669-7.x
Jul 13, 2020
Merged

More Efficient Snapshot State Handling (#56669)#59430
original-brownbear merged 1 commit intoelastic:7.xfrom
original-brownbear:56669-7.x

Conversation

@original-brownbear
Copy link
Copy Markdown
Contributor

Follow up to #56365. Instead of redundantly checking snapshots for completion
over and over, just track the completed snapshots in the CS updates that complete
them instead of looping over the same snapshot entries over and over.
Also, in the batched snapshot shard status updates, only check for completion
of a snapshot entry if it isn't already finalizing.

backport of #56669

Follow up to #56365. Instead of redundantly checking snapshots for completion
over and over, just track the completed snapshots in the CS updates that complete
them instead of looping over the smae snapshot entries over and over.
Also, in the batched snapshot shard status updates, only check for completion
of a snapshot entry if it isn't already finalizing.
@original-brownbear original-brownbear added :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs backport labels Jul 13, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed (:Distributed/Snapshot/Restore)

@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team. label Jul 13, 2020
@original-brownbear
Copy link
Copy Markdown
Contributor Author

Jenkins run elasticsearch-ci/2 (known GCS test infra issue)

@original-brownbear
Copy link
Copy Markdown
Contributor Author

Jenkins run elasticsearch-ci/2 (known GCS test infra issue)

@original-brownbear original-brownbear merged commit 31be3a3 into elastic:7.x Jul 13, 2020
@original-brownbear original-brownbear deleted the 56669-7.x branch July 13, 2020 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs Team:Distributed Meta label for distributed team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants