mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[GH-ISSUE #523] Cache not expiring #292
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#292
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shardebeck on GitHub (Jan 19, 2017).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/523
Additional Information
The following information is very important in order to help us to help you. Omission of the following details may delay your support request or receive no attention at all.
Amazon Simple Storage Service File System V1.79 with OpenSSL
Copyright (C) 2010 Randy Rizun rrizun@gmail.com
License GPL2: GNU GPL version 2 http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
2.9.3
Linux ip-10-179-61-141 4.4.30-32.54.amzn1.x86_64 #1 SMP Thu Nov 10 15:52:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Distro (cat /etc/issue)
command result: result
s3fs command line used (if applicable)
@ggtakec commented on GitHub (Mar 19, 2017):
@shardebeck I'm sorry for late reply.
Now by stat_cache_expire option, s3fs updated the cached time of stat information to the time when it was accessed to that cache.
This effectively reduces the number of requests for continuous cache access.
However, this specification will cause problems like your case.
This means that you are using multiple boxes(multiple s3fs processes), accessing the target file object within the effective time, the cache will not be updated.
I have disabled the function to automatically extend this expiration time.
This will solve your problem, the codes in master branch is it.
If you want to extend the expiration date automatically as before, we added the stat_cache_interval_expire option so you can use this new option.(This option is made for compatibility.)
I'm closing this issue, but if you have any problem about this issue, please reopen this.
Regards,