chrislu
|
d999f1f0e2
update raft version
|
1 year ago |
chrislu
|
4511edc871
update raft
|
1 year ago |
Zachary Walters
|
ef2f741823
Updated the deprecated ioutil dependency (#4239)
|
1 year ago |
chrislu
|
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
|
2 years ago |
chrislu
|
3828b8ce87
"github.com/chrislusf/raft" => "github.com/seaweedfs/raft"
|
2 years ago |
Konstantin Lebedev
|
c1c8dad677
avoid no such raft date directory
|
2 years ago |
Konstantin Lebedev
|
1a1e5778c3
fix cluster status
|
2 years ago |
Konstantin Lebedev
|
14dd971890
hashicorp raft with state machine
|
2 years ago |
Konstantin Lebedev
|
c514710b7b
initial add hashicorp raft
|
2 years ago |
Konstantin Lebedev
|
84b7b83517
fix permission mkdir snapshot
|
2 years ago |
chrislu
|
4ba7127ab1
refactor
|
2 years ago |
chrislu
|
fba1cfc2d6
simplify a bit
|
2 years ago |
chrislu
|
a3411dd9da
refactor
|
2 years ago |
Konstantin Lebedev
|
ddd3945c26
fix remove deleted peers of raft server
|
2 years ago |
Konstantin Lebedev
|
c1450bf9fe
always clear previous log to avoid server is promotable
|
2 years ago |
garenchan
|
bd032eabe7
[UPDATE] Make heartbeat interval and election timeout of masters configurable.
|
2 years ago |
Chris Lu
|
e5fc35ed0c
change server address from string to a type
|
3 years ago |
Chris Lu
|
1b17f71939
adjust election timeout to 10 seconds
|
4 years ago |
Chris Lu
|
da4edf3651
master: check peers for existing leader before starting a leader election
|
4 years ago |
Устюжанин Антон Александрович
|
702b1cb876
fix: remove deleted peers if resumeState = true
|
4 years ago |
Устюжанин Антон Александрович
|
dc31b19469
fix: restore raft state
|
4 years ago |
Устюжанин Антон Александрович
|
8c82fb7e5f
fix: restore raft state
|
4 years ago |
Chris Lu
|
044841c885
master: always clear previous master meta data directory
|
4 years ago |
Chris Lu
|
f90c43635d
refactoring
|
4 years ago |
Lei Liu
|
c2884cace2
misc updated
|
5 years ago |
Chris Lu
|
da871896c3
weed filer: set grpc port to port + 10000
|
5 years ago |
Chris Lu
|
07af52cb6f
raft change from http to grpc
|
5 years ago |
Chris Lu
|
7103c1ab7e
go fmt
|
5 years ago |
Chris Lu
|
8afc632484
raft: use the first master to bootstrap the election
|
5 years ago |
Chris Lu
|
1334507595
Revert "randomize based on self address"
|
5 years ago |
Chris Lu
|
6230eb28a6
randomize based on self address
|
5 years ago |
Chris Lu
|
221105eea3
Revert "use the first entry to bootstrap master cluster"
|
5 years ago |
Chris Lu
|
40c8725ffa
use the first entry to bootstrap master cluster
|
5 years ago |
Chris Lu
|
834f414af9
add a timeout
|
5 years ago |
Chris Lu
|
3f56b12ed4
raft: adding idle connection time out
|
5 years ago |
Chris Lu
|
1d103e3ed5
timeout http connections
|
5 years ago |
Chris Lu
|
75d63db60d
randomize raft server startup
|
6 years ago |
Chris Lu
|
03f50180f3
simplifying the leader election by raft
|
6 years ago |
Chris Lu
|
458ada173e
go fmt
|
6 years ago |
Chris Lu
|
70f6740309
better fix for single master restart without peers changing
|
7 years ago |
Chris Lu
|
9026b3e86e
always remember the max volume id
|
7 years ago |
Chris Lu
|
72e89b615b
301 is reported as 404 for http post
|
7 years ago |
Chris Lu
|
c8f54aad8b
adjust timing of leader election
|
7 years ago |
Yang zhixiang
|
57005ed7f8
fix bug : join post is empty
|
8 years ago |
Yang zhixiang
|
4194ae33fd
fix raft_server.go isPeersChanged bug
|
8 years ago |
Chris Lu
|
5ce6bbf076
directory structure change to work with glide
|
8 years ago |