shenxingwuying
ee25ada732
reduce ambiguity about use memory_sequencer ( #5555 )
8 months ago
chrislu
55976ae04a
avoid repeated calls to heavy-weighted viper
8 months ago
chrislu
d9490c5e1f
rename
8 months ago
Nico D'Cotta
796b7508f3
Implement SRV lookups for filer ( #4767 )
1 year ago
chrislu
a315490f7d
proxy to master uses http address
fix https://github.com/seaweedfs/seaweedfs/issues/4607
1 year ago
chrislu
adb90bd252
avoid lower casing the command
fix https://github.com/seaweedfs/seaweedfs/pull/4321
2 years ago
Konstantin Lebedev
b9933d5589
master server graceful stop ( #3797 )
2 years ago
Konstantin Lebedev
e90ab4ac60
avoid race conditions for OnPeerUpdate ( #3525 )
https://github.com/seaweedfs/seaweedfs/issues/3524
2 years ago
Patrick Schmidt
7b424a54dc
Add raft server access mutex to avoid races ( #3503 )
2 years ago
chrislu
10414fd81c
ping timeout at 15 seconds
this 72 minute timeout setting seems unreasonably long
15 seconds is around the time when a new raft leader should be elected.
2 years ago
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
Konstantin Lebedev
4d4cd0948d
avoid infinite loop WaitUntilConnected() ( #3431 )
https://github.com/seaweedfs/seaweedfs/issues/3421
2 years ago
Konstantin Lebedev
a98f6d66a3
rollback over onPeerupdate implementation of automatic clean-up of failed servers in favor of synchronous ping
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
bb01b68fa0
refactor
2 years ago
chrislu
68065128b8
add dc and rack
3 years ago
chrislu
3828b8ce87
"github.com/chrislusf/raft" => "github.com/seaweedfs/raft"
2 years ago
Konstantin Lebedev
c88ea31f62
fix RUnlock of unlocked RWMutex
2 years ago
Konstantin Lebedev
3c42814b58
avoid deadlock
2 years ago
Konstantin Lebedev
93ca87b7cb
use safe onPeerUpdateDoneCns
2 years ago
Konstantin Lebedev
7875470e74
onPeerUpdateGoroutineCount use int32
2 years ago
Konstantin Lebedev
6c390851e7
fix design
2 years ago
Konstantin Lebedev
f6a966b4fc
add waiting log message
2 years ago
Konstantin Lebedev
6cfbfb0849
check for ping before deleting raft server
https://github.com/chrislusf/seaweedfs/issues/3083
2 years ago
Konstantin Lebedev
f419d5643a
fix typo
add remove logs
2 years ago
chrislu
24291e23eb
refactor
2 years ago
chrislu
9f20d3ebd1
add dc and rack
3 years ago
chrislu
6adc42147f
fresh filer store bootstrap from the oldest peer
3 years ago
chrislu
b201edb9df
fix wrong assignment
3 years ago
chrislu
9271866d1e
fix segmentation violation
fix https://github.com/chrislusf/seaweedfs/issues/3000
3 years ago
chrislu
94635e9b5c
filer: add filer group
3 years ago
Konstantin Lebedev
a2fdb3e277
fix master ui
3 years ago
Konstantin Lebedev
35bc67f030
fix conflicts
3 years ago
Konstantin Lebedev
7ff248d5cd
refactor OnPeerUpdate
3 years ago
Konstantin Lebedev
85d80fd36d
fix removing old raft server
3 years ago
Konstantin Lebedev
14a2cc83bf
raft update peers via OnPeerUpdate
3 years ago
Konstantin Lebedev
14dd971890
hashicorp raft with state machine
3 years ago
chrislu
21e0898631
refactor: change masters from a slice to a map
3 years ago
Konstantin Lebedev
28efe31524
new master metrics
3 years ago
chrislu
826a7b307e
master: remove hard coded filer settings in master.toml
fix https://github.com/chrislusf/seaweedfs/issues/2529
3 years ago
chrislu
4b8dcff448
reverting default admin scripts
fix https://github.com/chrislusf/seaweedfs/issues/2525
this new default value was introduced in 2.80
this affects production environments, e.g., EC is not desired, volume balancing is not preferred, etc.
3 years ago
chrislu
40ee9b4d7b
sleep between the gap of each execution
related to https://github.com/chrislusf/seaweedfs/issues/2476
3 years ago
chrislu
b70cb3e0b2
upgrade protoc to 3.17.3
$brew install protobuf
$ protoc --version
libprotoc 3.17.3
$ go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26
$ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1
3 years ago
Chris Lu
3d7390302d
add s3.clean.uploads -timeAgo=24h
3 years ago
Chris Lu
4729a57cc0
use constants
3 years ago
Chris Lu
d9dd72ea56
rename pacakge
3 years ago
Chris Lu
330d1fde7f
send peers info to filers
3 years ago
Chris Lu
84bb8e7365
send peers info to filers
3 years ago
Chris Lu
5ea86ef1da
Revert "master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()"
This reverts commit af71ae11aa
.
3 years ago
Chris Lu
77f90ae288
add leader election in master
3 years ago