Chris Lu
6cbd786db9
correctly runs git clone
4 years ago
Chris Lu
d9a2a7f1c4
WIP
no memory issue
if some directory is removed, it may have this error
$ rm -Rf ~/tmp/m2/s1
rm: fts_read: Device not configured
4 years ago
Chris Lu
54410ca955
cleaner way to set readonly
4 years ago
Chris Lu
0f64f5b9c8
mount: add readOnly option
fix https://github.com/chrislusf/seaweedfs/issues/1961
4 years ago
Chris Lu
3fedfec1e7
check cross device rename error
4 years ago
Chris Lu
4a1fe4b8e2
add error logs
4 years ago
Chris Lu
daf0a449f7
properly cancel context for streaming grpc
4 years ago
Chris Lu
a7f669044e
rename also applies to open file handle
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
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
3bbac0820b
FUSE: faster rename implementation
4 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
1bb8cae65d
reverting and working
5 years ago
Chris Lu
628b27ef3b
purge old cache implementation
5 years ago
Chris Lu
2f5ed29c37
clean up
5 years ago
Chris Lu
7f0d87b206
tree structured fs cache
FsCache for FsNode, wrapping fs.Node
5 years ago
Chris Lu
2e4fadd10a
fix fscache move
5 years ago
Chris Lu
c0f0fdb3ba
refactoring
5 years ago
Chris Lu
bda13ed593
commented prints
5 years ago
Chris Lu
74e23e8d64
FUSE mount: rename correctly across folders
5 years ago
Chris Lu
892e726eb9
avoid reusing context object
fix https://github.com/chrislusf/seaweedfs/issues/1182
5 years ago
Chris Lu
72a64a5cf8
use the same context object in order to retry
5 years ago
Chris Lu
09f4ceef3a
mount: reuse previous file node
5 years ago
Chris Lu
a990ef2106
mount: fix problems found in issue 1182
fix https://github.com/chrislusf/seaweedfs/issues/1182
always use the non-duplicated fs.Node
Forget() the fs.Node
Rename will also use the right fs.Node
Avoid using the same file handle for the same file
5 years ago
Chris Lu
1b0bfbaf59
refactoring
5 years ago
Chris Lu
2f15e93466
mount: rename also clear the cache
fix https://github.com/chrislusf/seaweedfs/issues/1182
5 years ago
Chris Lu
061a61e018
logs
5 years ago
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
5 years ago
j.laycock
595a1beff0
Swap imports to use joeslay
5 years ago
Chris Lu
b30c14b631
webdav: can read now
6 years ago
Chris Lu
97406333a5
support atomic renaming for mysql/postgres filer store
6 years ago
Chris Lu
55bab1b456
add context.Context
6 years ago
Chris Lu
d312c55bbe
file path supports windows, avoiding back slashes
fix https://github.com/chrislusf/seaweedfs/issues/868
6 years ago
bingoohuang
ab6be025d7
go fmt and fix some typo
6 years ago
Chris Lu
d7bf6c5b91
switching_to_seaweedfs_fuse
6 years ago
Chris Lu
79168ab0bb
adjust error and log
6 years ago
Chris Lu
d3839fe279
go fmt
6 years ago
Chris Lu
3ac54792e1
paginate when filer deleting and FUSE mount renaming
6 years ago
Chris Lu
39ea8484c1
adjust proto API
6 years ago
Chris Lu
7e2031b18f
go fmt
7 years ago
Chris Lu
cec1d97035
recursively move files and directories
7 years ago