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.
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
[live-data-fetcher] Distribute read load across objects in S3 #817
[live-data-fetcher] Distribute read load across objects in S3 #817
Changes from all commits
6925337
6d08a47
f139232
624d359
046df38
52516a2
ad035a7
0297f50
b844da5
f3058f3
6699197
aa0eff1
d16b210
cd0e4cf
7ce1296
907acae
f70e98e
2d9b459
c9d0bfb
203a8f6
f386fb5
fc9162e
8ae0658
9f97142
3db971d
a976e5a
f94047b
3264b30
b661929
0691085
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Per https://reddit.slack.com/archives/C067Q6N14LA/p1701373678708859?thread_ts=1701370864.667409&cid=C067Q6N14LA we want to revert the changes made in PR/813 where we increased retry total_max_attempt from 5->10
cc @areitz @jerroydmoore
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 know
_generate_sharded_file_key
has an underscore prefix, but we're only using it internally in reality.I just need to call it here as part of the unit test
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.
For unit test, we can upload all the copies of the file in the setUp.
And then in each unit test, we can optionally provide the
num_file_shards
key in the ZK content. If the key is missing, we should expect the unit test to still pass since it should fetch the original file with no prefix.If the key is present, we should also expect it to pass by fetching one of the prefixed files.