Skip to content

Run newShardSnapshotTask tasks concurrently#126478

Merged
elasticsearchmachine merged 1 commit intoelastic:8.xfrom
DaveCTurner:2025/04/08/newShardSnapshotTask-run-concurrently-8x
Apr 8, 2025
Merged

Run newShardSnapshotTask tasks concurrently#126478
elasticsearchmachine merged 1 commit intoelastic:8.xfrom
DaveCTurner:2025/04/08/newShardSnapshotTask-run-concurrently-8x

Conversation

@DaveCTurner
Copy link
Copy Markdown
Member

In #88707 we changed the behaviour here to run the shard-snapshot
initialization tasks all in sequence. Yet these tasks do nontrivial work
since they may flush to acquire the relevant index commit, so with this
commit we go back to distributing them across the SNAPSHOT pool again.

Backport of #126452 to 8.x

In elastic#88707 we changed the behaviour here to run the shard-snapshot
initialization tasks all in sequence. Yet these tasks do nontrivial work
since they may flush to acquire the relevant index commit, so with this
commit we go back to distributing them across the `SNAPSHOT` pool again.

Backport of elastic#126452 to `8.x`
@DaveCTurner DaveCTurner added >bug :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) v8.19.0 labels Apr 8, 2025
@elasticsearchmachine elasticsearchmachine merged commit 69fa6b3 into elastic:8.x Apr 8, 2025
15 checks passed
@DaveCTurner DaveCTurner deleted the 2025/04/08/newShardSnapshotTask-run-concurrently-8x branch April 8, 2025 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >bug :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v8.19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants