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
Cache-Control metadata cleared on save #648
Comments
Can you tell how are you modifying the file. Is it via editors like vi/vim or programatically? |
Using IntelliJ. |
The issue is fixed at head. The object properties will be retained if the edit is done programmatically. Incase the edit is done via editors like vi/vim, the properties will not be retained since vi/vim deletes the original file and creates a new file. GcsFuse has no control over this behaviour. @gkresic, For intellij, the original file is not deleted, hence the object properties will get retained. We will soon do a release. Meanwhile, you can try installing gcsfuse from source. |
Please retry with the latest release (0.41) of gcsfuse which has a fix for the same. |
I can confirm that version 0.41.0 works OK, at least when file is edited via IntelliJ. |
Thanks for the confirmation. Will close this issue out. Please feel free to reopen incase you find any inconsistencies. |
I have a file in bucket that has
Cache-Control
set tono-store
in metadata.If I mount this bucket using
gcsfuse
(version 0.40.0), modify a file and save it, file'sCache-Control
metadata is cleared/unset.The text was updated successfully, but these errors were encountered: