Chris Lu
d1c813c470
let the fuse library manage directory id
otherwise, on mac, during large directory deletion, if some ReaDirAll happens, the lib seems confused about the directories, and some child directories are not deleted.
4 years ago
Chris Lu
372872ebbf
set root node inode number
4 years ago
Chris Lu
e332da4837
set inode value
4 years ago
Chris Lu
2acf6be24e
resend the http request if connection is stale
4 years ago
Chris Lu
6cbd786db9
correctly runs git clone
4 years ago
Chris Lu
d41e6826d3
adjust logging
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
Konstantin Lebedev
198688c717
revert volume etag
4 years ago
Chris Lu
c83ab91e2e
remove unused variable
4 years ago
Chris Lu
3074e9b428
ensure consistent inode value
4 years ago
Chris Lu
b971317a16
avoid possible corrupted file names
4 years ago
Chris Lu
283d703d50
adjust text
4 years ago
Chris Lu
609e228578
avoid forward slash in file names
4 years ago
Chris Lu
ba92f2e714
add node.selectedVolumes
fix https://github.com/chrislusf/seaweedfs/issues/1990
4 years ago
Chris Lu
16c0304416
ensure to delete on filer also
4 years ago
Chris Lu
217e0f9066
mount: remove folder recursively
4 years ago
Chris Lu
3e669e6d7b
mostly refactoring, add some error handling
4 years ago
Chris Lu
07f712c83f
fix typo
4 years ago
Chris Lu
36c79de3f4
fuse mount: dir ReadDirAll avoid extra conversion to filer_pb.Entry
4 years ago
Chris Lu
e41766feb6
fuse mount: dir lookup avoids extra conversion to filer_pb.Entry object
4 years ago
Chris Lu
1adc8f86ea
lighten up File object
file.entry only exists when file.isOpen
4 years ago
Chris Lu
6bc09b18c4
truncate is a bit faster to reuse the storage
4 years ago
Chris Lu
c04b7e106f
mount: remove entry from Dir object
4 years ago
Chris Lu
fc0cbf565f
add option to obfuscate the file names
4 years ago
Chris Lu
e75633c64f
volume.check.disk: break loop for read only volumes
fix https://github.com/chrislusf/seaweedfs/issues/2002
4 years ago
Chris Lu
9d50867d08
volume.tier.move: avoid data loss when destination volume server already has the volume
fix https://github.com/chrislusf/seaweedfs/issues/2001
4 years ago
Chris Lu
ff4c1d5965
adjust logging
fix https://github.com/chrislusf/seaweedfs/issues/1999
4 years ago
qieqieplus
270645f8d7
fix #1996
4 years ago
Chris Lu
90677e1097
ensure to call line.Close()
fix https://github.com/chrislusf/seaweedfs/issues/1995
similar to https://github.com/peterh/liner/issues/104
4 years ago
Chris Lu
3f3268cd1b
go fmt
4 years ago
Chris Lu
ca0f07a188
move file reader, entryViewCache to file handle
reduce file object size
4 years ago
Chris Lu
5985a7d38d
add log level possible values
fix https://github.com/chrislusf/seaweedfs/issues/1989
4 years ago
Chris Lu
1e033d45b8
simpler logic
related to https://github.com/chrislusf/seaweedfs/pull/1981
4 years ago
Chris Lu
519b0e1e49
filer: upload to a directory without "/" suffix
fix https://github.com/chrislusf/seaweedfs/issues/1988
4 years ago
Chris Lu
742ab1ec81
2.39
4 years ago
Chris Lu
0df5b53ad8
adjust help message
4 years ago
Chris Lu
f62c153274
go fmt
4 years ago
Chris Lu
af313dff58
add gateway for easier POST and DELETE blobs
4 years ago
Konstantin Lebedev
5021bea698
GetUserPolicy
4 years ago
Chris Lu
0b82edc0d2
filer: avoid stuck uploader
fix https://github.com/chrislusf/seaweedfs/issues/1980
reverting the file upload batch executor
4 years ago
Chris Lu
93f4146ffa
properly release the view cache
4 years ago
Merlin Gaillard
f952f979d1
filer: return 304 when If-Modified-Since == Last-Modified
4 years ago
Merlin Gaillard
4d4acc715e
s3api: handle 304 response code from filer
4 years ago
Chris Lu
6deb647a8f
mount: fix possible memory leak
if many files are read repeatedly, their metadata are accumulated in memory. This fix cleared the metadata after the file is read.
4 years ago
Konstantin Lebedev
ba175f81b5
add auth aws signV4
4 years ago
Konstantin Lebedev
995ae91007
add DeleteUserPolicy
4 years ago
Philippe Pepiot
42a761ee20
Fix typo in weed filer long help
4 years ago
Chris Lu
3be061994f
skip connection reset error
fix https://github.com/chrislusf/seaweedfs/issues/1971
this is because the connections are pooled but the volume server has reset the connection
4 years ago
Chris Lu
c5b08bac1b
remove mac specific mount options
4 years ago