-
Notifications
You must be signed in to change notification settings - Fork 552
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
refactor: Integrate with opendal for s3 #1412
Conversation
This comment was marked as off-topic.
This comment was marked as off-topic.
sccache currently requires MSRV 1.58.0, so opendal also need to support Rust 1.58.0 unless the maintainers are willing to update to a new MSRV policy.
|
Thanks for explanation! |
What is the MSRV for opendal? |
opendal v0.20.1 can run on 1.60: apache/opendal#968 |
Needs rebasing now, thanks :) |
Signed-off-by: Xuanwo <github@xuanwo.io>
Codecov ReportBase: 23.61% // Head: 30.07% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1412 +/- ##
==========================================
+ Coverage 23.61% 30.07% +6.45%
==========================================
Files 49 49
Lines 22414 17409 -5005
Branches 10265 8305 -1960
==========================================
- Hits 5294 5236 -58
+ Misses 11528 6556 -4972
- Partials 5592 5617 +25
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Signed-off-by: Xuanwo <github@xuanwo.io>
Signed-off-by: Xuanwo <github@xuanwo.io>
Sorry for the late chime: There are a few risks associated with
Open questions:
On the other side, we (as in
My bottom line is a |
Great summary, exactly how i feel... maybe we could do a new release of sccache with the current code (and a few PR) |
Most backends like They will not add the compile time cost for Services that only need HTTP client will be enabled by default (which includes services like s3, gcs, oss) because they will not introduce extra heavy dependences. If this is a big concern to Answers to open questions:
Yes. OpenDAL is the core dependence of databend and we will continue to maintain it. And we are kept enlarge our community to get more maintainers. So far, we have two maintainers: @Xuanwo and @PsiACE.
Yes, we adopt the semver compliant, all changes will be recorded at https://github.com/datafuselabs/opendal/blob/main/CHANGELOG.md NOTE: OpenDAL is on the track on We are working hard to make a
OpenDAL's MSRV is We will not change the MSRV before
LGTM. |
@Xuanwo thank you for the prompt response, it addressed my concerns, for me it's good to go, right after: @sylvestre we should cut a release before merging this PR as you suggested, just to get some experience/burning time with it |
Signed-off-by: Xuanwo <github@xuanwo.io>
Signed-off-by: Xuanwo <github@xuanwo.io>
@sylvestre I think it's time to merge |
@Xuanwo you are going to update the various backend next, right ? |
Yes, I plan to migrate |
Github is complaining about conflicts |
Not for me, merging |
Signed-off-by: Xuanwo github@xuanwo.io
Hi, this is a quick demo for #1404. This PR intends to show what opendal's API looks like and how opendal will work with sccache. And give the whole community a chance to try opendal.
This PR only changes the s3 implementation. In face, we can implement
Cache
foropendal::Operator
so that we don't need to implementCache
for different storage backends anymore.Any comments are welcome! Thank you so much for your attention and participation.
Fix #1386
Fix #1404
Fix #633