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

Fixed a bug that mounting with ksmid specified to fail #2409

Merged
merged 1 commit into from
Feb 18, 2024

Conversation

ggtakec
Copy link
Member

@ggtakec ggtakec commented Feb 12, 2024

Relevant Issue (if applicable)

#2401

Details

If the bucket(or directory under the bucket) user attempt to mount is not created as SSE, a GET request(with the x-amz-server-side-encryption header) to check the mount point will return an error(InvalidArgument: x-amz-server-side-encryption header is not supported for this operation).

Thus, if the bucket did not have SSE settings(get error response), I changed that s3fs retried to send the GET request without x-amz-server-side-encryption header to check the mount point.

@gaul
If there are multiple causes for an error when making a GET request to check a mount point, the error details will be returned in order on each attempt, so the trial processing has been changed to a loop and refactored.
(I have added this recovering code, but the basic logic has not changed.)

This is a PR that fixes a bug reported by @aczire.

@gaul gaul merged commit e89adf6 into s3fs-fuse:master Feb 18, 2024
19 checks passed
@ggtakec ggtakec deleted the fix_kmsid branch February 19, 2024 11:19
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.

None yet

2 participants