askeipx
2e78a522ab
remove old raft servers if they don't answer to pings for too long ( #3398 )
* remove old raft servers if they don't answer to pings for too long
add ping durations as options
rename ping fields
fix some todos
get masters through masterclient
raft remove server from leader
use raft servers to ping them
CheckMastersAlive for hashicorp raft only
* prepare blocking ping
* pass waitForReady as param
* pass waitForReady through all functions
* waitForReady works
* refactor
* remove unneeded params
* rollback unneeded changes
* fix
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
d12f431d98
collect volume server status
3 years ago
chrislu
b4be56bb3b
add timing info during ping operation
3 years ago
chrislu
6d55716fc3
use constants
3 years ago
chrislu
bbbbbd70a4
master supports grpc ping
3 years ago
chrislu
743ad690b6
filer supports grpc ping
3 years ago
chrislu
800cbc004c
volume server adds ping function
3 years ago
Chris Lu
734c980040
volume: support concurrent download data size limit
3 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
94525aa0fd
allocate volume by disk type
4 years ago
Chris Lu
5d6753fb98
shell: add volumeServer.leave command
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
James Hartig
229f11c660
Added VolumeNeedleStatus volume server grpc method
This is needed for the diffing tool to get the cookie for a needle
4 years ago
Chris Lu
f55f49970f
move volume server stats to grpc
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
faec9076a4
adjust parameter names
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
j.laycock
cbd0a98fa1
Add InMemory to Volume Grow structure
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
6883f9e322
mark volume readonly before ec encoding
6 years ago
Chris Lu
e5506152c0
refactoring
6 years ago
Chris Lu
2f76681d62
refactor: adjust grpc API name
6 years ago
Chris Lu
95e0520182
weed volume: add grpc operation to relicate a volume to local
6 years ago
Chris Lu
0c932d1738
add volume delete grpc API
fix https://github.com/chrislusf/seaweedfs/issues/808
6 years ago
Chris Lu
f8b2d3cacc
move volume mount/unmount on volume server to grpc
6 years ago
Chris Lu
b423bb9e2d
migrate assign volume to grpc API on volume server
6 years ago
Chris Lu
8301519fb0
migrate delete collection to grpc API on volume server
6 years ago