-
Notifications
You must be signed in to change notification settings - Fork 720
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
client: Make tsoStream receives asynchronously #8483
Merged
Merged
Changes from 11 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
140a7c2
Add implementation of making tsoStream asynchronous
MyonKeminta 88d9f5b
Add basic tests for rewritten tsoStream
MyonKeminta 623d896
Add a concurrency test
MyonKeminta 86d0f42
Fix some of CI failures
MyonKeminta ff0f11a
Fix integration tests
MyonKeminta ef47b9d
Fix tso deadline
MyonKeminta ff1d50d
Fix stream broken handling
MyonKeminta 9076c9d
Fix comments
MyonKeminta 39e4e0b
try to avoid double invocation to the callback
MyonKeminta 632781b
Fix lint
MyonKeminta 8809c45
Address comments
MyonKeminta ca64ed0
Pass context outside the tsoStream (push for running CI)
MyonKeminta 67967e4
client: Add benchmark for tsoStream and dispatcher
MyonKeminta 1362aac
Merge branch 'm/add-benchmarks-for-tso-stream-and-dispatcher' into m/…
MyonKeminta 4699b41
Fix build
MyonKeminta 7dbcd77
Reimplement mock receiving
MyonKeminta f4dc99a
Merge branch 'm/add-benchmarks-for-tso-stream-and-dispatcher' into m/…
MyonKeminta 1f2dcd8
Fix disptacher benchmark
MyonKeminta 123a869
Fix incorrect error generating
MyonKeminta 2c6aaba
Merge branch 'm/add-benchmarks-for-tso-stream-and-dispatcher' into m/…
MyonKeminta bff9eae
Disable logs in BenchmarkTSOStreamSendRecv
MyonKeminta ef6e365
Fix lint
MyonKeminta a9f4aee
Merge branch 'm/add-benchmarks-for-tso-stream-and-dispatcher' into m/…
MyonKeminta 388d705
Make the comments more clear; unset req.streamID when getting new tso…
MyonKeminta a183aca
Fix lint
MyonKeminta 5314485
Merge branch 'master' into m/make-tso-stream-async
ti-chi-bot[bot] 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 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 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.
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.
There is also a TODO
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.
This assertion should be true in my understanding. Is it true? If so, I can change it to an assertion here.
The assignment statement in the next line exists before my change. If I understood it right, it didn't make much sense here, since if it's non-zero and we set it zero, it might mean that some requests will be dropped without notifying their caller and leave them waiting forever.