Chris Lu
4ccfdaeb4d
prevent nil
4 years ago
Chris Lu
24c8e6bcb4
minor optimization
4 years ago
Chris Lu
f5837b7000
report error first
4 years ago
Chris Lu
2ac27616bc
fix possible out of range bytes
avoid buff out of range resp.Data = buff[:totalRead]
4 years ago
Chris Lu
22e5132b3a
adjust log level
4 years ago
Chris Lu
ee0f92a6be
reduce memory allocation
4 years ago
Chris Lu
4a77f0820a
clean up logs
4 years ago
Chris Lu
aec7f32b02
fix reader_at
4 years ago
Chris Lu
5d80fc2ec7
adjust logs
4 years ago
Chris Lu
e0bfd3161a
update metadata only if changed
4 years ago
Chris Lu
003d48da21
adjust logs
4 years ago
Chris Lu
6ee8d952d2
adjust log level
4 years ago
Chris Lu
a22ee30596
fix nil
4 years ago
Chris Lu
0d60e67816
ensure meta data changes are updated
4 years ago
Chris Lu
5b43bddf20
proper deletion ordering
delete central file store first, then delete local cache
4 years ago
Chris Lu
c647deace1
file size support set file length
use Attr.FileSize and TotalChunkSize to determine file size
4 years ago
Chris Lu
a7f669044e
rename also applies to open file handle
4 years ago
Chris Lu
edfa73782f
adjust log level
4 years ago
Chris Lu
090612492c
fix compilation
4 years ago
Chris Lu
d43129d27f
add back handles lock
4 years ago
Chris Lu
e74dc4e4bc
add back fs node cache for renaming
4 years ago
Chris Lu
9832653e1d
FUSE mount: proper error with deleting non empty folder
4 years ago
Chris Lu
20e2ac1add
filer: store md5 metadata for files uploaded by filer
fix https://github.com/chrislusf/seaweedfs/issues/1412
4 years ago
Chris Lu
eed525b717
FUSE mount: remove DirListCacheLimit
outdated parameter
4 years ago
Chris Lu
d40de39e75
FUSE: do not change crtime, uid, gid on save
4 years ago
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
5 years ago
Chris Lu
97d97f3528
go code can read and write chunk manifest
5 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