Skip to content

Fix Threading in Snapshot Restore#68390

Merged
original-brownbear merged 2 commits intoelastic:masterfrom
original-brownbear:fix-restore-loading-of-global-metadata
Feb 3, 2021
Merged

Fix Threading in Snapshot Restore#68390
original-brownbear merged 2 commits intoelastic:masterfrom
original-brownbear:fix-restore-loading-of-global-metadata

Conversation

@original-brownbear
Copy link
Copy Markdown
Contributor

Same as #68023 but even less likely (couldn't really find a quick way
to write a test for it for that reason).
Fix is the same, fork off to the generic pool for listener handling.
Also, this allows removing the forking in the transport action since we don't do any long
running work on the calling thread any longer in the restore method.

non issue since this didn't leak into any released version

Same as #68023 but even less likely (couldn't really find a quick way
to write a test for it for that reason).
Fix is the same, fork off to the generic pool for listener handling.
Also, this allows removing the forking in the transport action since we don't do any long
runnning work on the calling thread any longer in the restore method.
@original-brownbear original-brownbear added >non-issue :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v8.0.0 v7.12.0 labels Feb 2, 2021
@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team. label Feb 2, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
Contributor

@fcofdez fcofdez left a comment

Choose a reason for hiding this comment

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

LGTM

@mark-vieira
Copy link
Copy Markdown
Contributor

@elasticmachine update branch

@elasticmachine
Copy link
Copy Markdown
Collaborator

merge conflict between base and head

@original-brownbear
Copy link
Copy Markdown
Contributor Author

Jenkins run elasticsearch-ci/2

@original-brownbear
Copy link
Copy Markdown
Contributor Author

Thanks Francisco!

@original-brownbear original-brownbear merged commit 78dc03c into elastic:master Feb 3, 2021
@original-brownbear original-brownbear deleted the fix-restore-loading-of-global-metadata branch February 3, 2021 11:26
original-brownbear added a commit that referenced this pull request Feb 3, 2021
Same as #68023 but even less likely (couldn't really find a quick way
to write a test for it for that reason).
Fix is the same, fork off to the generic pool for listener handling.
Also, this allows removing the forking in the transport action since we don't do any long
runnning work on the calling thread any longer in the restore method.
@original-brownbear original-brownbear restored the fix-restore-loading-of-global-metadata branch April 18, 2023 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >non-issue Team:Distributed Meta label for distributed team. v7.12.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants