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

Read and delete only mode #14

Merged
merged 3 commits into from
Jul 12, 2024
Merged

Conversation

kuenishi
Copy link
Member

Add "deletion" exception into readonly mode (c.f. #9) . #13 needs to be merged beforehand.

@kuenishi kuenishi requested a review from k5342 July 10, 2024 06:46
@kuenishi kuenishi self-assigned this Jul 10, 2024
@@ -407,7 +407,7 @@ public MultiDeleteResponse multiDelete(@PathParam("bucket") String bucketName,
MultiDeleteResponse result = new MultiDeleteResponse();

// Check if the S3Gateway status is readonly
Optional<Response> checkResult = checkIfReadonly();
Optional<Response> checkResult = checkIfReadonly(false);
Copy link
Member

Choose a reason for hiding this comment

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

Isn't this a delete function?

Copy link
Member Author

Choose a reason for hiding this comment

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

tasikani

Copy link
Member

@k5342 k5342 left a comment

Choose a reason for hiding this comment

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

LGTM, but I have a question.

@kuenishi kuenishi marked this pull request as ready for review July 11, 2024 14:35
@kuenishi kuenishi requested a review from k5342 July 11, 2024 14:35
@kuenishi kuenishi merged commit 0755cba into pfn-ozone-1.3.990012 Jul 12, 2024
@kuenishi kuenishi deleted the read-and-delete-only branch July 12, 2024 00:55
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