-
Notifications
You must be signed in to change notification settings - Fork 85
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
feat: add cache for location in stream writer, and trigger that when location is not presented #1804
Merged
Merged
feat: add cache for location in stream writer, and trigger that when location is not presented #1804
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
5a63d95
feat: Split writer into connection worker and wrapper, this is a
GaoleMeng 5a13302
feat: add connection worker pool skeleton, used for multiplexing client
GaoleMeng 0297204
Merge branch 'main' into main
GaoleMeng 8a81ad3
feat: add Load api for connection worker for multiplexing client
GaoleMeng 68fd040
Merge remote-tracking branch 'upstream/main'
GaoleMeng 3106dae
Merge remote-tracking branch 'upstream/main'
GaoleMeng 5bf04e5
Merge branch 'googleapis:main' into main
GaoleMeng 2fc7551
Merge branch 'main' of https://github.com/GaoleMeng/java-bigquerystorage
GaoleMeng 7a6d919
feat: add multiplexing support to connection worker. We will treat every
GaoleMeng 3ba7659
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] f379a78
Updates from OwlBot post-processor
gcf-owl-bot[bot] 9307776
Merge branch 'main' of https://github.com/GaoleMeng/java-bigquerystorage
GaoleMeng de73013
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] 19005a1
feat: port the multiplexing client core algorithm and basic tests
GaoleMeng c5d14ba
Merge branch 'googleapis:main' into main
GaoleMeng 644360a
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] 3099d82
Merge branch 'googleapis:main' into main
GaoleMeng e707dd6
Merge branch 'googleapis:main' into main
GaoleMeng 9e7a8fa
Merge branch 'main' of https://github.com/GaoleMeng/java-bigquerystorage
GaoleMeng 31f1755
Merge branch 'googleapis:main' into main
GaoleMeng 44c36fc
feat: wire multiplexing connection pool to stream writer
GaoleMeng 87a4036
feat: some fixes for multiplexing client
GaoleMeng c92ea1b
Merge remote-tracking branch 'upstream/main'
GaoleMeng 019520c
Merge branch 'googleapis:main' into main
GaoleMeng 47893df
feat: fix some todos, and reject the mixed behavior of passed in clie…
GaoleMeng 8bd4e6a
Merge remote-tracking branch 'upstream/main'
GaoleMeng 83409b0
Merge remote-tracking branch 'upstream/main'
GaoleMeng f7dd72d
Merge branch 'googleapis:main' into main
GaoleMeng 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
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
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.
Should we have a size limit of this cache? And also probably an expiration time. I am not sure how often is this but the user can delete a dataset and recreate one in different region?
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.
Let's just add a size limit for now and add expiration 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 didn't add a size limit because it's plain string, seems not possible to exceed limit. We can cache millions of entries without problem I think and it's kinda hard to imagine we need to cache that many..
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.
Sure fine, let's first go with this. I am a bit worry about dataset recreate case but that should be a corner case. Let's get going.