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
fix https://github.com/chrislusf/seaweedfs/issues/1509
|
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
|
5 years ago |
Chris Lu
|
f90c43635d
|
refactoring
|
5 years ago |
Lei Liu
|
c2884cace2
|
misc updated
Signed-off-by: Lei Liu <lei01.liu@horizon.ai>
|
5 years ago |
j.laycock
|
6fc6322c90
|
Change joeslay paths to chrislusf paths
|
5 years ago |
j.laycock
|
595a1beff0
|
Swap imports to use joeslay
|
5 years ago |
Chris Lu
|
da871896c3
|
weed filer: set grpc port to port + 10000
|
6 years ago |
Chris Lu
|
07af52cb6f
|
raft change from http to grpc
master grpc port is fixed to http port + 10000
|
6 years ago |
Chris Lu
|
7103c1ab7e
|
go fmt
|
6 years ago |
Chris Lu
|
8afc632484
|
raft: use the first master to bootstrap the election
|
6 years ago |
Chris Lu
|
1334507595
|
Revert "randomize based on self address"
This reverts commit 6230eb28a6 .
|
6 years ago |
Chris Lu
|
6230eb28a6
|
randomize based on self address
fix #851
|
6 years ago |
Chris Lu
|
221105eea3
|
Revert "use the first entry to bootstrap master cluster"
This reverts commit 40c8725ffa .
|
6 years ago |
Chris Lu
|
40c8725ffa
|
use the first entry to bootstrap master cluster
fix https://github.com/chrislusf/seaweedfs/issues/851
|
6 years ago |
Chris Lu
|
834f414af9
|
add a timeout
|
6 years ago |
Chris Lu
|
3f56b12ed4
|
raft: adding idle connection time out
another attempt to fix https://github.com/chrislusf/seaweedfs/issues/825
|
6 years ago |
Chris Lu
|
1d103e3ed5
|
timeout http connections
possible fix for https://github.com/chrislusf/seaweedfs/issues/825
|
6 years ago |
Chris Lu
|
75d63db60d
|
randomize raft server startup
also some go fmt
|
6 years ago |
Chris Lu
|
03f50180f3
|
simplifying the leader election by raft
fixing https://github.com/chrislusf/seaweedfs/issues/629
|
7 years ago |
Chris Lu
|
458ada173e
|
go fmt
|
7 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
fix https://github.com/chrislusf/seaweedfs/issues/512
|
8 years ago |
Chris Lu
|
c8f54aad8b
|
adjust timing of leader election
|
8 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
glide has its own requirements. My previous workaround caused me some
code checkin errors. Need to fix this.
|
9 years ago |
Chris Lu
|
8e67c4f597
|
clean up old config only when peers are changed.
fix https://github.com/chrislusf/seaweedfs/issues/307
|
9 years ago |
chrislusf
|
49b1ba5bbf
|
break away from code.google.com
|
10 years ago |
Stuart P. Bentley
|
f0c2a2dcb3
|
Change all chrislusf/weed-fs links to point to chrislu/seaweedfs
|
10 years ago |
chrislusf
|
b07d81fb08
|
follow golint suggestions
|
10 years ago |
Brian McQueen
|
d56c748fa8
|
switch it back to chris's repo
|
10 years ago |
Brian McQueen
|
c0dfdf4392
|
switch to my forked repo
|
10 years ago |
Chris Lu
|
7ce628bf09
|
Clean raft configurations if "peers" option is set.
|
10 years ago |
Chris Lu
|
179d36ba0e
|
formatting code by: goimports -w=true .
|
10 years ago |
bmcquee
|
7ca10d8dcf
|
add another logging line verbosity 2
|
10 years ago |
wyy
|
4126280d55
|
use github.com/chrislusf instead of github.com/aszxqw
|
10 years ago |
wyy
|
1cd19447e3
|
use github.com/aszxqw instead of code.google.com/p
|
10 years ago |
Chris Lu
|
51939efeac
|
1. volume server now sends master server its max file key, so that
master server does not need to store the sequence on disk any more
2. fix raft server's failure to init cluster during bootstrapping
|
11 years ago |
Chris Lu
|
da0480ad72
|
adjust to upgraded Raft library
|
11 years ago |
Chris Lu
|
008aee0dc1
|
Add retrying logic to wait for other peers during cluster bootstrapping.
|
11 years ago |
Chris Lu
|
39b774a131
|
1. adding statistics reporting
2. refactor version to util package
|
11 years ago |
Chris Lu
|
1c044280d6
|
reusing http connections in raft server
|
11 years ago |
Chris Lu
|
41143b3b78
|
toughen weedfs clustering, adding synchronizing max volume id among
peers in order to avoid the same volume id being assigned twice
1. moving raft.Server to topology
2. adding max volume id command for raft
|
11 years ago |
Chris Lu
|
fb75fe852c
|
ignore "-peers" option if cluster is already bootstrapped
|
11 years ago |