Patrick Schmidt
2ef6ab998c
Avoid race conditions with current filer address ( #3474 )
When multiple filer requests are in-flight and the current filer
disappears and a new one is selected by the first goroutine, then
there can be a lot of race conditions while retrieving the current
filer.
Therefore, load/save the current filer index atomically.
2 years ago
chrislu
409f39390d
mount: retryable data chunk uploading
2 years ago
chrislu
689b4ecdcc
remove unused collection and replication from upload result
2 years ago
chrislu
ae93c966d9
ensure memory is aligned
fix https://github.com/seaweedfs/seaweedfs/issues/3427
2 years ago
chrislu
662ec97602
mount: adjust on du stats reporting
fix https://github.com/seaweedfs/seaweedfs/issues/3424
2 years ago
chrislu
d8e69df295
adjust comments
2 years ago
chrislu
0aeec04c31
quicker to adapt to pattern change
2 years ago
chrislu
8a880a139d
mount: fix truncate operation
fix https://github.com/seaweedfs/seaweedfs/issues/2609
2 years ago
chrislu
b278bb24d3
mount: adjust df stats reporting when close to the limit
fix https://github.com/seaweedfs/seaweedfs/issues/3407
2 years ago
Konstantin Lebedev
4d08393b7c
filer prefer volume server in same data center ( #3405 )
* initial prefer same data center
https://github.com/seaweedfs/seaweedfs/issues/3404
* GetDataCenter
* prefer same data center for ReplicationSource
* GetDataCenterId
* remove glog
2 years ago
chrislu
bd13a7968f
remove unused symlink resolving
2 years ago
chrislu
88945d9954
mount: do not follow soft link with xattr
2 years ago
chrislu
303bd067b5
Revert "rename: delete source entry metadata only, skipping hard links"
This reverts commit 03466f955e
.
fix https://github.com/seaweedfs/seaweedfs/issues/3386
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
89e276de64
fix loop
2 years ago
chrislu
e0eda52c54
mount: ensure symlink parent directory is tracked
fix https://github.com/chrislusf/seaweedfs/issues/3373
2 years ago
chrislu
f401b996eb
mount: fix symlink size reporting
2 years ago
chrislu
b98c0b4bf4
disable symlink translation for now
2 years ago
chrislu
2dc5d4adac
disable symlink translation for now
2 years ago
chrislu
2b64916d3e
set status to fuse.OK
2 years ago
chrislu
7386cf6a06
mount: resolve symlink
2 years ago
chrislu
40089b6753
maintain node lookup counter
2 years ago
chrislu
d24db396cc
fix removing path from inode2path
2 years ago
chrislu
41eeb4deef
do not add new inode during link
2 years ago
chrislu
02c2d81cde
fix removePathFromInode2Path
2 years ago
chrislu
4d5dc55766
mount: better support hard links
2 years ago
chrislu
ebda0689ab
use linux default max name length
2 years ago
chrislu
64f3d6fb6e
metadata subscription uses client epoch
2 years ago
chrislu
2c8818351f
mount: comment out stuck fuse inode notify during renaming
2 years ago
chrislu
a5c94acd4f
mount: check possible nil entry case
2 years ago
chrislu
6147b61b0a
mount: fix concurrent map read and map write
fix https://github.com/chrislusf/seaweedfs/issues/3344
2 years ago
chrislu
289402a741
writer pattern: similar changes to reader pattern
2 years ago
chrislu
578c8aea0e
typo
2 years ago
chrislu
3d0defa663
fix compilation
2 years ago
chrislu
6f00c7f061
comments
2 years ago
chrislu
d685b94102
mount: rename also invalidate source inode
2 years ago
chrislu
e2ecf137a2
fix resetting fh.reader
2 years ago
chrislu
05c53820b9
mount: file handler release memory
2 years ago
chrislu
6b3beb709d
fix format
3 years ago
chrislu
69a2e503ab
non-recursive directory deletion
fix a problem during git checkout a different version, where updated directories are deleted even though the directory is not empty.
3 years ago
chrislu
76f26c4b99
mount: delete target entry first during move
3 years ago
chrislu
4fd5f96598
filer: remove replication, collection, disk_type info from entry metadata
these metadata can change and are not used
3 years ago
ningfd
f32142f6f5
add disableXAttr in mount option
3 years ago
chrislu
d65bb2c6df
mount: file handle locks entry better
related to https://github.com/chrislusf/seaweedfs/issues/2952
3 years ago
chrislu
746092a60b
add a comment
3 years ago
creeew
02ae102731
fix filer.sync missing source srv uploaded files to target when target down
3 years ago
chrislu
a2b101a737
subscribe metadata between a range
3 years ago
chrislu
5b8b022985
remove unused parameter
3 years ago
Robert Coelho
0e6e72d462
mount: ReadDir return EIO on EnsureVisited err
3 years ago
Robert Coelho
1fabbe8a25
mount: cleanup ReadDir rewrite's branches to not assume offsets
3 years ago