Chris Lu
8dfeba8023
FUSE: skip changing to empty uid and gid during flush
Skip uid and gid changes if request uid and gid are zero
mongodb lock file, and many interim files, has empty uid and gid
I0724 10:05:51 93643 filehandle.go:173] /db/diagnostic.data/metrics.interim fh 1333342842031408359 flush Flush [ID=0x3 Node=0x50 Uid=0 Gid=0 Pid=178] 0x10 fl=0x0 lk=0x0
4 years ago
Chris Lu
dd29b8c81d
fix compilation
4 years ago
Chris Lu
5788f1f6bf
remove fsnode cache
fix https://github.com/chrislusf/seaweedfs/issues/1400
4 years ago
Chris Lu
6962ca48d3
fix compilation
4 years ago
Chris Lu
df7eee523b
FUSE: implement dir fsync
fix https://github.com/chrislusf/seaweedfs/issues/1398
4 years ago
Chris Lu
3bbac0820b
FUSE: faster rename implementation
4 years ago
Chris Lu
60d14a9800
mount: fix difference with storage format in local cache
4 years ago
Chris Lu
97d97f3528
go code can read and write chunk manifest
4 years ago
Chris Lu
ddec7b2bb9
go fmt
5 years ago
Chris Lu
2d1df97933
mount: fatal error if can not process meta data
5 years ago
Chris Lu
e3e00d36c5
reset cache for each new release
5 years ago
Chris Lu
7ad0bce2f5
remove old code
5 years ago
Chris Lu
54d6b3c30f
filer: support running multiple mount to different filers avoiding duplicated cache
fix https://github.com/chrislusf/seaweedfs/issues/1382
5 years ago
Chris Lu
ce3630e7a4
refactoring
5 years ago
Chris Lu
31e23e9783
filer: support active<=>active filer replication
5 years ago
Chris Lu
42a338d7b0
FUSE mount: clean up file handles during renaming
resolve dir rename when file is still open. Need to clean the file handles as soon as possible.
These can happen out of order:
file rename, then file release
file release, then file rename
5 years ago
Chris Lu
95a1860d65
remove empty calls for list cache
5 years ago
Chris Lu
6498d0c86b
remove list cache
5 years ago
Chris Lu
9033a7d369
removed async option
5 years ago
Chris Lu
1bb8cae65d
reverting and working
5 years ago
Chris Lu
3cec4b3c49
FUSE mount: fix file id written twice?
fix https://github.com/chrislusf/seaweedfs/issues/1373
5 years ago
Chris Lu
e8e0d629af
ensure correct file mode
5 years ago
Chris Lu
f7a45d448f
FUSE mount: lazy loading meta cache
5 years ago
Chris Lu
b74eced7a3
mount: a fix to prevent possible repeated calls
related to https://github.com/bazil/fuse/issues/130
5 years ago
Chris Lu
628b27ef3b
purge old cache implementation
5 years ago
Chris Lu
4598473251
fix possible EOF problem
5 years ago
Chris Lu
bb3e86fbd5
auto create non-existing cache directory
fix https://github.com/chrislusf/seaweedfs/issues/1350
5 years ago
Chris Lu
ac48c899e8
add printouts for synchronizing metadata which can be slow for large folders
5 years ago
Chris Lu
47234760f4
log adjust format
5 years ago
Chris Lu
97a504b0bb
fix possible directory deletion error
5 years ago
Chris Lu
871efa4fc1
refactoring
some previous chunk etag was using md5, which should be wrong.
5 years ago
Chris Lu
e93588ec78
FUSE mount: atomic local cache updates
5 years ago
Chris Lu
9e72e9e4b8
able to subscribe any topic from any point of time
5 years ago
Chris Lu
ed3cf811f5
refactoring
5 years ago
wuyuxiang
6850d28d6b
refacotr: move signal handling and pprof to grace package
5 years ago
Chris Lu
2a7957b4ca
FUSE: subcribe meta events based on timestamp
5 years ago
Chris Lu
5d0e1d8d74
also writes to local meta cache
before waiting for subscribed meta events
5 years ago
Chris Lu
a207285af7
cache metadata on startup
5 years ago
Chris Lu
e24b25de78
async meta caching: can stream updates now
5 years ago
Chris Lu
4f02f7121d
read from meta cache
meta cache is not initialized
5 years ago
Chris Lu
b8e4238ad2
add placeholder for cached meta data reading
5 years ago
Chris Lu
9cacaf5eca
better detect file mime type
5 years ago
Chris Lu
2b5c4fbbf3
tiered caching
1/4 for small less than 1MB files. 1/4 for 1~4MB files, 1/2 for bigger than 4MB files
5 years ago
Chris Lu
7764e0465c
refactoring
5 years ago
Chris Lu
211d87cf4c
mount: option to disable caching
5 years ago
Chris Lu
df97da25f9
mount: add on disk caching
5 years ago
Chris Lu
d7f3acb2c0
refactor
5 years ago
Chris Lu
e909b55633
refactoring
5 years ago
Chris Lu
13ab1fdaf0
mount: use file default permission 0666
5 years ago
Chris Lu
eb39df2704
avoid dead loop
5 years ago