Skip to content
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

Support copy_if_not_exists for Cloudflare R2 (#4190) #4239

Merged
merged 4 commits into from
Aug 7, 2023

Conversation

tustvold
Copy link
Contributor

@tustvold tustvold commented May 17, 2023

Which issue does this PR close?

Closes #4190
Closes #2179

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

@github-actions github-actions bot added the object-store Object Store Interface label May 17, 2023
@tustvold tustvold force-pushed the support-r2-copy-if-not-exists branch from dfd68f5 to c7b12cd Compare May 17, 2023 18:56
@tustvold tustvold force-pushed the support-r2-copy-if-not-exists branch from c7b12cd to 004ac8a Compare May 17, 2023 19:04
@tustvold tustvold force-pushed the support-r2-copy-if-not-exists branch from 51a4bdf to a0b0dfc Compare August 2, 2023 13:54
@@ -1306,6 +1332,7 @@ mod tests {
async fn s3_test() {
let config = maybe_skip_integration!();
let is_local = matches!(&config.endpoint, Some(e) if e.starts_with("http://"));
let test_not_exists = config.copy_if_not_exists.is_some();
Copy link
Contributor Author

@tustvold tustvold Aug 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#4628 provides a mechanism to set this

@tustvold tustvold marked this pull request as ready for review August 2, 2023 17:16
@tustvold tustvold requested review from alamb and crepererum August 3, 2023 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
object-store Object Store Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support copy_if_not_exists for Cloudflare R2 (S3 API) object_store: Implement copy_if_not_exists for AWS
2 participants