Repository navigation
feat(api): bidirectional chunk stream protocol #5618
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
Open
martinconic
wants to merge
19
commits into
master
Choose a base branch
from
feat/chunk-stream-download
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
064ec06
feat: download mode for the chunk stream endpoint
martinconic 676c748
refactor: address review feedback on the chunk download stream
martinconic daf2fb9
fix: close the socket before waiting on stalled download workers
martinconic 1e79780
feat: protobuf request/response protocol for the chunk stream
martinconic 4bdf24d
Merge remote-tracking branch 'origin/master' into feat/chunk-stream-d…
martinconic 972c344
refactor(api): use address correlation and typed responses in chunk s…
martinconic d31c7a6
refactor(api): infer chunk type, per-request batch, direct-only uploa…
martinconic bef0d8e
test(api): wait for the pushed chunk in the chunk stream upload test
martinconic ba4c6be
Merge remote-tracking branch 'origin/master' into feat/chunk-stream-d…
martinconic 20889a2
test(api): fuzz chunk stream input and cover socket close ordering
martinconic ad3c534
fix(api): harden chunk stream lifecycle and input limits
martinconic 8a49dad
Merge remote-tracking branch 'origin/master' into feat/chunk-stream-d…
martinconic 95b4acd
fix(api): chunk stream statuses, batch pinning and keepalives
martinconic 5930061
docs(api): correct the chunk stream close code on node shutdown
martinconic 80eb2fd
Merge remote-tracking branch 'origin/master' into feat/chunk-stream-d…
martinconic be02bd2
fix(api): chunk stream keepalive on client pings and busy metric
martinconic 7346e2a
Merge remote-tracking branch 'origin/master' into feat/chunk-stream-d…
martinconic ea81d5d
feat(api): remove the legacy upload stream and simplify the chunk stream
martinconic e55380e
Merge remote-tracking branch 'origin/master' into feat/chunk-stream-d…
martinconic 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
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.
nit: these three fields are only set by tests. node.go never fills them. As public Options they read as operator-tunable. I'd keep the defaults in Configure and expose a test-only setter in export_test.go, e.g. SetChunkStreamTimeouts(writeDeadline, readTimeout) called from newTestServer after Configure.