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

Validate that shared cache bucket is usable #1141

Merged

Conversation

muddyfish
Copy link
Contributor

Description of change

  • Validates the shared cache bucket is write-able
  • Validates the shared cache bucket supports the EXPRESS_ONEZONE storage class

Relevant issues: N/A

Does this change impact existing behavior?

Yes, the shared cache bucket is now validated that it supports the EXPRESS_ONEZONE storage class

Does this change need a changelog entry in any of the crates?

No


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).

@muddyfish muddyfish requested review from passaro and vladem November 15, 2024 16:49
@muddyfish muddyfish had a problem deploying to PR integration tests November 15, 2024 16:49 — with GitHub Actions Failure
@muddyfish muddyfish had a problem deploying to PR integration tests November 15, 2024 16:49 — with GitHub Actions Failure
@muddyfish muddyfish had a problem deploying to PR integration tests November 15, 2024 16:49 — with GitHub Actions Failure
@muddyfish muddyfish had a problem deploying to PR integration tests November 15, 2024 16:49 — with GitHub Actions Failure
@muddyfish muddyfish had a problem deploying to PR integration tests November 15, 2024 16:49 — with GitHub Actions Failure
@muddyfish muddyfish had a problem deploying to PR integration tests November 15, 2024 16:49 — with GitHub Actions Failure
@muddyfish muddyfish had a problem deploying to PR integration tests November 15, 2024 16:49 — with GitHub Actions Failure
@muddyfish muddyfish force-pushed the disable-express-cache-for-express-mount branch from a7c4c91 to 83038da Compare November 15, 2024 16:50
@muddyfish muddyfish temporarily deployed to PR integration tests November 15, 2024 16:50 — with GitHub Actions Inactive
@muddyfish muddyfish temporarily deployed to PR integration tests November 15, 2024 16:50 — with GitHub Actions Inactive
@muddyfish muddyfish temporarily deployed to PR integration tests November 15, 2024 16:50 — with GitHub Actions Inactive
@muddyfish muddyfish temporarily deployed to PR integration tests November 15, 2024 16:50 — with GitHub Actions Inactive
@muddyfish muddyfish temporarily deployed to PR integration tests November 15, 2024 16:50 — with GitHub Actions Inactive
@muddyfish muddyfish temporarily deployed to PR integration tests November 15, 2024 16:50 — with GitHub Actions Inactive
@muddyfish muddyfish temporarily deployed to PR integration tests November 15, 2024 16:50 — with GitHub Actions Inactive
@muddyfish muddyfish force-pushed the disable-express-cache-for-express-mount branch from 83038da to 2b822f9 Compare November 18, 2024 10:58
@muddyfish muddyfish had a problem deploying to PR integration tests November 18, 2024 10:58 — with GitHub Actions Failure
@muddyfish muddyfish had a problem deploying to PR integration tests November 18, 2024 10:58 — with GitHub Actions Failure
@muddyfish muddyfish had a problem deploying to PR integration tests November 18, 2024 10:58 — with GitHub Actions Failure
@muddyfish muddyfish had a problem deploying to PR integration tests November 18, 2024 10:58 — with GitHub Actions Failure
@muddyfish muddyfish had a problem deploying to PR integration tests November 18, 2024 10:58 — with GitHub Actions Failure
@muddyfish muddyfish had a problem deploying to PR integration tests November 18, 2024 10:58 — with GitHub Actions Failure
@muddyfish muddyfish had a problem deploying to PR integration tests November 18, 2024 10:58 — with GitHub Actions Failure
@muddyfish muddyfish force-pushed the disable-express-cache-for-express-mount branch from 2b822f9 to 4126b4d Compare November 18, 2024 13:20
@muddyfish muddyfish had a problem deploying to PR integration tests November 18, 2024 13:20 — with GitHub Actions Failure
@muddyfish muddyfish had a problem deploying to PR integration tests November 18, 2024 13:20 — with GitHub Actions Failure
@muddyfish muddyfish had a problem deploying to PR integration tests November 18, 2024 13:20 — with GitHub Actions Failure
Copy link
Contributor

@vladem vladem left a comment

Choose a reason for hiding this comment

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

a couple of suggestions, mostly LGTM

mountpoint-s3/tests/fuse_tests/cache_test.rs Show resolved Hide resolved
mountpoint-s3/tests/fuse_tests/cache_test.rs Show resolved Hide resolved
mountpoint-s3/src/cli.rs Outdated Show resolved Hide resolved
@muddyfish muddyfish temporarily deployed to PR integration tests November 18, 2024 14:31 — with GitHub Actions Inactive
@muddyfish muddyfish temporarily deployed to PR integration tests November 18, 2024 14:31 — with GitHub Actions Inactive
@muddyfish muddyfish temporarily deployed to PR integration tests November 18, 2024 14:31 — with GitHub Actions Inactive
@muddyfish muddyfish temporarily deployed to PR integration tests November 18, 2024 14:31 — with GitHub Actions Inactive
@muddyfish muddyfish had a problem deploying to PR integration tests November 18, 2024 14:31 — with GitHub Actions Failure
@muddyfish muddyfish had a problem deploying to PR integration tests November 18, 2024 14:31 — with GitHub Actions Failure
@muddyfish muddyfish had a problem deploying to PR integration tests November 18, 2024 14:31 — with GitHub Actions Failure
@muddyfish muddyfish force-pushed the disable-express-cache-for-express-mount branch from bfad653 to 7a265f5 Compare November 18, 2024 15:07
@muddyfish muddyfish temporarily deployed to PR integration tests November 18, 2024 15:07 — with GitHub Actions Inactive
@muddyfish muddyfish temporarily deployed to PR integration tests November 18, 2024 15:07 — with GitHub Actions Inactive
@muddyfish muddyfish temporarily deployed to PR integration tests November 18, 2024 15:07 — with GitHub Actions Inactive
@muddyfish muddyfish temporarily deployed to PR integration tests November 18, 2024 15:07 — with GitHub Actions Inactive
@muddyfish muddyfish temporarily deployed to PR integration tests November 18, 2024 15:07 — with GitHub Actions Inactive
@muddyfish muddyfish temporarily deployed to PR integration tests November 18, 2024 15:07 — with GitHub Actions Inactive
@muddyfish muddyfish temporarily deployed to PR integration tests November 18, 2024 15:07 — with GitHub Actions Inactive
@muddyfish muddyfish requested a review from vladem November 18, 2024 15:44
@@ -72,6 +72,33 @@ where
bucket_name: bucket_name.to_owned(),
}
}

pub async fn verify_cache_valid(&self) -> ObjectClientResult<(), PutObjectError, Client::ClientError> {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: we can now remove the todo

Copy link
Contributor

@vladem vladem left a comment

Choose a reason for hiding this comment

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

LGTM

@muddyfish muddyfish added this pull request to the merge queue Nov 18, 2024
@muddyfish muddyfish mentioned this pull request Nov 18, 2024
Merged via the queue into awslabs:main with commit 378a56c Nov 18, 2024
23 checks passed
@muddyfish muddyfish deleted the disable-express-cache-for-express-mount branch November 18, 2024 16:17
muddyfish added a commit to muddyfish/mountpoint-s3 that referenced this pull request Nov 19, 2024
## Description of change

- Validates the shared cache bucket is write-able
- Validates the shared cache bucket supports the `EXPRESS_ONEZONE`
storage class

Relevant issues: N/A

## Does this change impact existing behavior?

Yes, the shared cache bucket is now validated that it supports the
`EXPRESS_ONEZONE` storage class

## Does this change need a changelog entry in any of the crates?

No

---

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license and I agree to the terms of
the [Developer Certificate of Origin
(DCO)](https://developercertificate.org/).

---------

Signed-off-by: Simon Beal <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Nov 19, 2024
## Description of change

Remove unneeded todo

Relevant issues:
#1141 (comment)

## Does this change impact existing behavior?

No

## Does this change need a changelog entry in any of the crates?

No

---

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license and I agree to the terms of
the [Developer Certificate of Origin
(DCO)](https://developercertificate.org/).

Signed-off-by: Simon Beal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants