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
Chris Lu
f0d1e7bd05
skip ec volumes when loading normal volumes
3 years ago
Chris Lu
8c6ff55226
add volume not found error type, to reduce error log
3 years ago
bingoohuang
cf552417a7
minFreeSpace refactored
4 years ago
bingoohuang
31f1cdeac2
minFreeSpace argument allows size like 10GiB
4 years ago
Chris Lu
283d703d50
adjust text
4 years ago
Chris Lu
f8446b42ab
this can compile now!!!
4 years ago
Chris Lu
7ce647f27e
support customizable disk type
4 years ago
bingoohuang
94ea3bd3a5
renaming NeedleMapType to NeedleMapKind
4 years ago
Chris Lu
e2076201d7
volume: avoid reprocessing the same volume
fix https://github.com/chrislusf/seaweedfs/issues/1682
4 years ago
Chris Lu
986cbdf7d9
Revert "Merge pull request #1683 from qieqieplus/master"
This reverts commit 8cb67952db
, reversing
changes made to 200e56215a
.
4 years ago
Chris Lu
f56e6d231e
Revert "Merge pull request #1683 from qieqieplus/master"
This reverts commit 8cb67952db
, reversing
changes made to 200e56215a
.
4 years ago
Chris Lu
1bf22c0b5b
go fmt
4 years ago
chenqieqie
45f902a9b7
smaller critical section
4 years ago
chenqieqie
4e58a4f24e
fix race condition when loading volumes concurrently
4 years ago
Chris Lu
2e8dba571b
adjust volume server UI
4 years ago
Chris Lu
0d2ec832e2
rename from volumeType to diskType
4 years ago
Chris Lu
d156c74ec0
volume server set volume type and heartbeat to the master
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
3c229eb677
refactor
4 years ago
Chris Lu
6783ae5f8f
rename
4 years ago
Chris Lu
97f706f35b
just refactoring
4 years ago
Chris Lu
b11449f955
pass in dir.idx parameter to DiskLocation
4 years ago
Chris Lu
0dafcf1f5a
volume: detect max volume count changes based on disk usage
fix https://github.com/chrislusf/seaweedfs/issues/1594
4 years ago
Chris Lu
3e925faddd
trim out name extension
4 years ago
Chris Lu
53c3aad875
volume: add a note file to avoid incomplete volume files
fix https://github.com/chrislusf/seaweedfs/issues/1567
4 years ago
Chris Lu
575d7952a1
add available resource stats
fix https://github.com/chrislusf/seaweedfs/issues/1555
4 years ago
Chris Lu
a1c01d716b
volume: avoid deadlock when deleting volumes
fix https://github.com/chrislusf/seaweedfs/issues/1501
4 years ago
James Hartig
8e54e34576
volume: Don't unmount before deleting volume in copy
If we unmount first and then delete, the delete fails because the volume
was unmounted. Delete ends up doing the same thing as the unmount anyways.
4 years ago
Chris Lu
faa5c2e89a
refactoring
5 years ago
Chris Lu
45a9d852d3
go fmt
5 years ago
Evgenii Kozlov
2410ffbd79
Name fix
5 years ago
Evgenii Kozlov
0e0db70f55
Set volumes ReadOnly if low free disk space
5 years ago
Chris Lu
bafa95045b
volume: deletion checks all disk locations
fix https://github.com/chrislusf/seaweedfs/issues/1283
5 years ago
Chris Lu
3137777d83
volume: automatically detect max volume count
5 years ago
panyc16
7b3764fd9e
make loadExistingVolume() return bool
5 years ago
Chris Lu
40ae533fa3
shell: add volume.configure.replication to change replication for a volume
fix https://github.com/chrislusf/seaweedfs/issues/1192
5 years ago
Chris Lu
9ff72f616a
go fmt
5 years ago
stlpmo
38e4b79125
decouple the volume.Destroy() from the operation of unmountVolume()
5 years ago
Chris Lu
6383b45bd0
add lock variable
5 years ago
Chris Lu
ec8de250e2
tiered storage: can copy to s3, read from s3
master not aware tiered volume yet, file assigning is not working yet
5 years ago
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
5 years ago
Tom Maxwell
4a878c0006
Changed the InMemory bool to a uint32 so that it can be used to alter how much space to reserve
5 years ago
Tom Maxwell
d637d86d22
Changes to try and pass the URL parameters through - in memory flag not working still
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
40ca2f2903
add collection.delete
6 years ago
Chris Lu
217cde0a3b
refactoring
6 years ago
Chris Lu
17ac1290c0
volume: load ec shards during heartbeats to master
6 years ago
Chris Lu
0be2d51c96
read volume lastAppendAtNs when loading a volume
6 years ago