Chris Lu
89eb9f6e70
clean up .uploads directory in mysql and postgres tables
fix https://github.com/chrislusf/seaweedfs/issues/1957
When no uploads are running, you can run this SQL to clean up.
delete from <bucket_name> where directory like '/.uploads/%'
4 years ago
Chris Lu
46ef1811a1
correct help message
4 years ago
Chris Lu
11c120c040
master UI adds volume size limit
4 years ago
Chris Lu
6e5df901e4
adjust package names
4 years ago
Chris Lu
ca998328c2
do not add new volumes when below minFreeSpacePercent
fix https://github.com/chrislusf/seaweedfs/issues/2017
4 years ago
Chris Lu
cd7bf1a72a
filer.copy copy empty folders
fix https://github.com/chrislusf/seaweedfs/issues/2016
4 years ago
Chris Lu
a8114da02d
avoid thundering herd effect
transient errors may cause thundering herd effect to all trying to recover from remove ec shards
4 years ago
Chris Lu
ae74d8f02a
fix error message
related to https://github.com/chrislusf/seaweedfs/issues/2012
4 years ago
Chris Lu
11c405fc85
ensure file handles are released
4 years ago
liuxiaobo
c31c5e829c
fix path-specific filer store comment error
4 years ago
Chris Lu
83cf94ad2d
delay new file creation unless file is opened exclusively
4 years ago
Chris Lu
e983f91b03
2.40
4 years ago
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