Chris Lu
98c93ca465
avoid file.Stat()
avoid one Syscall, but did not help on performance though
4 years ago
bingoohuang
ee082ae402
revert comment temporarily
4 years ago
bingoohuang
ee7cdf3668
revert ErrXyz to ErrorXyz temporarily.
4 years ago
bingoohuang
a6d421508a
revert ErrXyz to ErrorXyz temporarily.
4 years ago
Chris Lu
a1210d1e8d
Revert "volume: avoid file.stat(), file.seek() if possible during writes"
This reverts commit c78409a598
.
4 years ago
bingoohuang
7ffe736d20
renaming to ErrXyz
4 years ago
Chris Lu
c78409a598
volume: avoid file.stat(), file.seek() if possible during writes
4 years ago
Chris Lu
73958e357d
add descriptive error if no free volumes
4 years ago
bingoohuang
eab6e31d34
use backticks instead of double quotes to avoid escaped additionally in regex
4 years ago
Chris Lu
3575d41009
go fmt
4 years ago
Chris Lu
7403cd43c5
only use "" for hdd to avoid two values for the same thing
4 years ago
Chris Lu
ebf320ec22
avoid divided by zero
4 years ago
Chris Lu
3fe628f04e
use hdd instead of empty string
4 years ago
Chris Lu
f8446b42ab
this can compile now!!!
4 years ago
Chris Lu
7ce647f27e
support customizable disk type
4 years ago
Chris Lu
4bd8a692d8
disk type can be generic tags
4 years ago
Chris Lu
885ca34748
volume: fail fast if idx files are missing
fix https://github.com/chrislusf/seaweedfs/issues/1796
4 years ago
bingoohuang
9e06ef66b9
fix renaming for 5bytes
4 years ago
Chris Lu
a833021132
fix refactoring left over
4 years ago
bingoohuang
7256902fb0
fix typo offset.ToAcutalOffset to offset.ToActualOffset
4 years ago
bingoohuang
94ea3bd3a5
renaming NeedleMapType to NeedleMapKind
4 years ago
Chris Lu
cfb9342a15
avoid concurrent map updates to viper
4 years ago
Chris Lu
039ad101b1
manifest file also need to detect compression
fix https://github.com/chrislusf/seaweedfs/issues/1724#issuecomment-753585046
4 years ago
Chris Lu
4f31c1bb94
go fmt
4 years ago
Chris Lu
738c4fd203
fix logging when error
address https://github.com/chrislusf/seaweedfs/pull/1685#issuecomment-747845601
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
Chris Lu
1d88865869
passing disk type along
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
933f2f4cfd
find location with matching disk type
4 years ago
Chris Lu
94525aa0fd
allocate volume by disk type
4 years ago
Chris Lu
f6a419c26c
disk type configurable for each folder
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
e9cd798bd3
adding volume type
4 years ago
Chris Lu
ae655033ac
adjust logging
4 years ago
Chris Lu
d986c7196d
use append time instead of filer's own modification time
fix https://github.com/chrislusf/seaweedfs/issues/1669
4 years ago
Chris Lu
d171d9f988
volume: ensure the volume dat and idx files are always closed
fix https://github.com/chrislusf/seaweedfs/issues/1646
4 years ago
Chris Lu
cc839f935d
better unit detection
4 years ago
Chris Lu
b219ccfe68
Update volume_ttl_test.go
4 years ago
Chris Lu
a83b8e7b01
ttl fix: 3y was converted into 96m
4 years ago
Chris Lu
f3bb645018
file open error
4 years ago
Chris Lu
dc0bc48257
return file open error
4 years ago
Chris Lu
96c48bc8a8
fix test
4 years ago
Chris Lu
2c913dde04
volume: detect and drop volumes with disk IO error
from Jethro in slack:
is it possible to make the assign request a bit smarter? Currently I’m in the state that a disk failed but all assign request are being send to this volume. It would be cool if the master sees this and stopped using this volume.
e=HTTP(http://x:8089/913,045a782b63176edf ) not 200 but 500 Internal Server Error
Body={"size":740167,"error":"failed to write to local disk: write /mnt/v9/913.dat: input/output error","eTag":"ee4381e202212ff3aee647704c036689"}
e=HTTP(http://x:8089/913,045a782c90240077 ) not 200 but 500 Internal Server Error
Body={"size":792779,"error":"failed to write to local disk: write /mnt/v9/913.dat: input/output error","eTag":"c43463ccc11eb6eb2fc306f407a6a953"}
e=HTTP(http://x:8089/913,045a782e6b7901ea ) not 200 but 500 Internal Server Error
Body={"size":3962392,"error":"failed to write to local disk: write /mnt/v9/913.dat: input/output error","eTag":"04c91198e9b276c81f11dbf189af5d28"}
4 years ago
Chris Lu
9ac4935f22
read from volume index file directly instead of open a separate file
fix https://github.com/chrislusf/seaweedfs/issues/1640
read from volume index file directly instead of open a separate file,
to ensure reading latest index entries.
4 years ago