Eng Zer Jun
a23bcbb7ec
refactor: move from io/ioutil to io and os package
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
3 years ago
bingoohuang
eab6e31d34
use backticks instead of double quotes to avoid escaped additionally in regex
4 years ago
Chris Lu
f8446b42ab
this can compile now!!!
4 years ago
Chris Lu
6d30b21b10
volume: add "-dir.idx" option for separate index storage
fix https://github.com/chrislusf/seaweedfs/issues/1265
4 years ago
Chris Lu
ab759f0ec2
erasure coding: fix EC error if multiple disks are configured in one volume server
4 years ago
Chris Lu
3137777d83
volume: automatically detect max volume count
5 years ago
stlpmo
38e4b79125
decouple the volume.Destroy() from the operation of unmountVolume()
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
d344e0a035
fix ec related bugs
6 years ago
Chris Lu
ca8a2bb534
go fmt
6 years ago
Chris Lu
7e80b2b882
fix multiple bugs
6 years ago
Chris Lu
133b772fb5
destroy ec volume if it is empty
6 years ago
Chris Lu
ba18314aab
ec shard delete also check ec volumes, in addition to volumes
6 years ago
Chris Lu
40ca2f2903
add collection.delete
6 years ago
Chris Lu
3a8c1055a2
refactoring ecx to ecVolume
6 years ago
Chris Lu
217cde0a3b
refactoring
6 years ago
Chris Lu
a4f3d82c57
convert needle id to ec intervals to read from
6 years ago
Chris Lu
db94a41f9e
mount/unmount ec shards
6 years ago
Chris Lu
17ac1290c0
volume: load ec shards during heartbeats to master
6 years ago