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
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
c0fb4a3766
add comments
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
0da7ecfd29
go fmt
4 years ago
Chris Lu
92f906b6fc
remove zstd
fix https://github.com/chrislusf/seaweedfs/issues/1629
4 years ago
Chris Lu
1dd3a6ac36
avoid verbose logs
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
de86945aeb
go fmt
4 years ago
Chris Lu
9708df47d1
ensure offset in the index file is positive
4 years ago
Konstantin Lebedev
46303c36bf
When the volume server is stopped, the master server immediately sees the deletion of volumes
4 years ago
Chris Lu
6560ac6466
volume loading: trim out unreachable idx file content
fix https://github.com/chrislusf/seaweedfs/issues/1583
4 years ago
Konstantin Lebedev
1ad1b8c4f6
collection Volume ReadOnly Count with detailed status
4 years ago
Chris Lu
744c5594da
volume: automatically trim out unreachable entries
4 years ago
Chris Lu
3e925faddd
trim out name extension
4 years ago
shibinbin
a67eb1afa1
fix: restart volumeserver sometime occurred out of memory error
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
06c15ab35c
volume: add special handling for .dat larger than 32GB
4 years ago
Konstantin Lebedev
2fb1fce8a0
avoid old values when missing read only flags
4 years ago
Chris Lu
9104cfa744
reduce locks
4 years ago
Chris Lu
e9d40b80b2
less verbose logs
4 years ago
Chris Lu
575d7952a1
add available resource stats
fix https://github.com/chrislusf/seaweedfs/issues/1555
4 years ago
Chris Lu
4ff2ceee33
UI fix on rendering EC volumes
addressing UI problem with https://github.com/chrislusf/seaweedfs/issues/1551
4 years ago
Konstantin Lebedev
dc2e13092d
add number of read only volumes metric
4 years ago
Chris Lu
bd8b9b0c2e
some changes to prepare fix after failed reads
4 years ago
Chris Lu
d522df0ecd
adjust log level
4 years ago
Chris Lu
a1c01d716b
volume: avoid deadlock when deleting volumes
fix https://github.com/chrislusf/seaweedfs/issues/1501
4 years ago
Chris Lu
103fafe00b
weed export: print out [start,stop) content range
4 years ago
Chris Lu
f2723c1bc8
do not idx file format
revert c9ab8d05fa
4 years ago
Chris Lu
446e476a11
go fmt
4 years ago
Chris Lu
ea26a98753
volume: validate volume correctness if last entry is a deletion
4 years ago
Chris Lu
9d4bdfcfdf
fix volume integrity checking
4 years ago
Chris Lu
401ccf1509
fix test
4 years ago
Chris Lu
c9ab8d05fa
fixes for reading deleted fid
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
38e06d783d
volume: check disk space before compaction
fix https://github.com/chrislusf/seaweedfs/issues/1440
4 years ago
Chris Lu
dbb10e0f0b
testing with more than 30days
4 years ago
Chris Lu
99ecf63276
go fmt
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
d1cf39f180
fix logging
4 years ago