-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Add thread pool for write coordination #129450
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
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
92c9cc7
Add thread pool for write coordination
Tim-Brooks 31ac057
Fix test
Tim-Brooks b7f5b12
Fix
Tim-Brooks ad5d0ed
Fix
Tim-Brooks 828cbe5
Merge remote-tracking branch 'origin/main' into write_coordination_pool
Tim-Brooks 3249513
Merge remote-tracking branch 'origin/main' into write_coordination_pool
Tim-Brooks 6ca7bb9
Change
Tim-Brooks cb9b06f
Change
Tim-Brooks fc95a00
Merge remote-tracking branch 'origin/main' into write_coordination_pool
Tim-Brooks e7f336a
Docs
Tim-Brooks 902f5c8
Merge remote-tracking branch 'origin/main' into write_coordination_pool
Tim-Brooks 8697eae
Fix
Tim-Brooks 4f79791
Merge remote-tracking branch 'origin/main' into write_coordination_pool
Tim-Brooks a81788c
Names
Tim-Brooks 1cf9619
Merge remote-tracking branch 'origin/main' into write_coordination_pool
Tim-Brooks 9d8e9a0
Merge remote-tracking branch 'origin/main' into write_coordination_pool
Tim-Brooks a085bc1
Merge remote-tracking branch 'origin/main' into write_coordination_pool
Tim-Brooks fc0a515
Merge remote-tracking branch 'origin/main' into write_coordination_pool
Tim-Brooks f76760d
Change
Tim-Brooks File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am ok with this, but it seems like for any case where we have ingest processing, we would then still have the coordination happen behind any local write work. At least the PR then avoids some of the wait roundtrips.
We could also decide to have both a system-write-coordination pool and a write-coordination pool and use those here? We can look at this in follow-ups ofc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I would like to move ingest work to a non-WRITE thread pool in a follow-up as I think there might be a few things to discuss.