-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Replace S3 subprocess/multiprocessing with direct boto3 + ThreadPoolExecutor #3148
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
npow
wants to merge
24
commits into
master
Choose a base branch
from
s3-direct-boto3
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 23 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
b99063b
Replace S3 subprocess/multiprocessing with direct boto3 + ThreadPoolE…
af86e64
Add S3_DIRECT_BOTO3 feature flag for gradual rollout
a4d6621
style: fix black formatting in s3.py
427448a
refactor: extract direct boto3 ops into s3op_boto.py
820db67
refactor: minimal s3.py diff via early-return pattern
f381703
refactor: move dispatch logic into S3DirectClient.read_many
0be6d42
fix: address code review findings in s3op_boto
f44f3c2
fix(ci): replace minikube devstack with standalone minio container
063a49d
fix(ci): add numpy to minio test deps
924a428
Cap S3 retry count in minio CI to prevent multi-hour test runs
e282c2e
Increase minio CI timeout to 60 minutes
8c8e68b
Reduce CI retry count to 3 and increase timeout to 90min
f752aba
Fix get_recursive prefix loss, cap exponential backoff, bump CI retries
1362493
Optimize S3 tests: remove inject_failure_rate bloat, add dedicated re…
2332930
debug: fail-fast false, single Python version for minio CI
5d33ce4
debug: add -x --tb=long, skip slow put tests for traceback
4150c11
Fix read_many() generator bug: return → yield from
2e57c05
Fix list prefix filtering, retry monkeypatch, and minio test compat
17e8b91
Gate test changes on S3_DIRECT_BOTO3 flag
db449e5
Fix retry sleep bottleneck: skip backoff for injected failures
e7421a0
Fix retry exhaustion at high inject_failure_rates
dc132f6
Fix retry boost overriding exhausted-retries test
ff0ce85
Fix inject_failure_rate=100 not deterministic in exhaustion test
fde9a4d
Harden S3DirectClient error handling (Greptile P1 fixes)
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.
The matrix was previously
['3.8', '3.9', '3.10', '3.11', '3.12']. This PR reduces it to['3.11']while simultaneously making the news3op_boto.pycode path the default (S3_DIRECT_BOTO3=True). Version-specific issues (e.g.,ThreadPoolExecutorbehaviour differences,hashlibcalling conventions on older Pythons) on the other four supported interpreter versions will go undetected in CI until a user hits them in production.