Chris Lu
738c4fd203
fix logging when error
address https://github.com/chrislusf/seaweedfs/pull/1685#issuecomment-747845601
4 years ago
Chris Lu
1d88865869
passing disk type along
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
ae655033ac
adjust logging
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
6d30b21b10
volume: add "-dir.idx" option for separate index storage
fix https://github.com/chrislusf/seaweedfs/issues/1265
4 years ago
Chris Lu
b11449f955
pass in dir.idx parameter to DiskLocation
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
Konstantin Lebedev
46303c36bf
When the volume server is stopped, the master server immediately sees the deletion of volumes
4 years ago
Konstantin Lebedev
1ad1b8c4f6
collection Volume ReadOnly Count with detailed status
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
Konstantin Lebedev
dc2e13092d
add number of read only volumes metric
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
James Hartig
3ccfa4c6ad
Added VolumeMarkWritable and VolumeStatus grpc methods
This is necessary for copy to mark as read-only and then restore the
original state afterwards.
4 years ago
Chris Lu
7e91ae592c
pass in option to read deleted entries
not working yet
4 years ago
Chris Lu
6a92f0bc7a
refactoring to typed Size
Go is amazing with refactoring!
4 years ago
Chris Lu
f43146b237
resolve directories if containing home directory
5 years ago
Chris Lu
4d1484628a
refactoring
5 years ago
Evgenii Kozlov
0e0db70f55
Set volumes ReadOnly if low free disk space
5 years ago
Chris Lu
5568395edd
Revert "Revert "Merge pull request #1299 from song-zhang/master""
This reverts commit afb6a1dbb4
.
5 years ago
Chris Lu
afb6a1dbb4
Revert "Merge pull request #1299 from song-zhang/master"
This reverts commit 9016fa19ba
, reversing
changes made to 47234760f4
.
5 years ago
zhangsong
f9e8702bb4
use async write to persistent file to disk - part1
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
e4af63a721
volume server: accept fsync=true in write requests
5 years ago
Chris Lu
9fa065f600
typo in logs
5 years ago
Chris Lu
e63a79ade8
better handle lock in case of exception
5 years ago
Chris Lu
3137777d83
volume: automatically detect max volume count
5 years ago
Chris Lu
b964bbab3d
fix compilation
5 years ago
Chris Lu
c3cb6fa1d7
volume: compaction can cause readonly volumes
address https://github.com/chrislusf/seaweedfs/issues/1233
5 years ago
Chris Lu
560df51def
refactoring
5 years ago
Chris Lu
ed0acd1722
go fmt
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
09ca936c78
shell: add ec.decode command
5 years ago
Chris Lu
f61de28c69
volume: add deletion capability for previously readonly volumes
5 years ago
Chris Lu
1becbce657
display remote volumes on volume server ui page
5 years ago
Chris Lu
6383b45bd0
add lock variable
5 years ago
Chris Lu
c34ffed43f
go fmt
5 years ago
zhangsong
1dd101f782
use read lock to avoid io hang during heartbeat
5 years ago
Chris Lu
b7156291a8
adjust variable names
5 years ago
Chris Lu
faec9076a4
adjust parameter names
5 years ago
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
5 years ago
j.laycock
44ae041e80
rename more memorymapped variables to memoryMapMaxSizeMB
5 years ago