-
Notifications
You must be signed in to change notification settings - Fork 526
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
add async in read from s3 #2080
add async in read from s3 #2080
Conversation
recheck |
@@ -532,14 +532,35 @@ int FileCacheManager::ReadFromS3(const std::vector<S3ReadRequest> &requests, | |||
uint64_t start = butil::cpuwide_time_us(); | |||
if (async) { |
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.
if async is enable, you can set(bool async = true;)
Signed-off-by: YLShi <[email protected]>
d9db62a
to
75433a3
Compare
recheck |
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.
- most read logic of sync read between async are same, extract common logic
- add some unit test case
recheck |
1 similar comment
recheck |
cc@YLShiJustFly This pr has been opened for a long time, and the review comments have not been replied. Please resubmit the pr if necessary. |
Signed-off-by: YLShi [email protected]
What problem does this PR solve?
Issue Number: #xxx
Problem Summary:
What is changed and how it works?
What's Changed:
How it Works:
Side effects(Breaking backward compatibility? Performance regression?):
Check List