Konstantin Lebedev
|
c9952759c4
metrics master is leader
|
2 years ago |
Konstantin Lebedev
|
28efe31524
new master metrics
|
2 years ago |
Chris Lu
|
330d1fde7f
send peers info to filers
|
3 years ago |
Chris Lu
|
4b9c42996a
refactor grpc API
|
3 years ago |
Chris Lu
|
5ea86ef1da
Revert "master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()"
|
3 years ago |
Chris Lu
|
af71ae11aa
master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()
|
3 years ago |
Chris Lu
|
5160eb08f7
shell: optionally read filer address from master
|
3 years ago |
Chris Lu
|
2789d10342
go fmt
|
3 years ago |
Chris Lu
|
e5fc35ed0c
change server address from string to a type
|
3 years ago |
Chris Lu
|
7591336a22
log format
|
3 years ago |
Chris Lu
|
5496d68f6a
increase counter only if not early terminated
|
3 years ago |
Chris Lu
|
0128239c0f
handle ipv6 addresses
|
3 years ago |
Chris Lu
|
006c01a519
fix format
|
3 years ago |
Chris Lu
|
65af3cf4df
master: disconnect only the phantom volume server
|
3 years ago |
Chris Lu
|
8126ab4b5d
rename
|
3 years ago |
Chris Lu
|
5469019852
adjust data type
|
3 years ago |
Chris Lu
|
ee6c67682c
minor
|
3 years ago |
Chris Lu
|
5d931eff27
avoid possible nil
|
3 years ago |
Chris Lu
|
f8446b42ab
this can compile now!!!
|
3 years ago |
Chris Lu
|
d156c74ec0
volume server set volume type and heartbeat to the master
|
3 years ago |
Konstantin Lebedev
|
1eec5c8d5d
gen pb
|
4 years ago |
Konstantin Lebedev
|
dc26012a3b
initial
|
4 years ago |
Chris Lu
|
da4edf3651
master: check peers for existing leader before starting a leader election
|
4 years ago |
James Hartig
|
91e4eca1e9
Fix deadlock with KeepConnected and SendHeartbeat
|
4 years ago |
Chris Lu
|
41d508edfd
go fmt
|
4 years ago |
Chris Lu
|
be54eeb364
passing value by checkWithMaster() instead
|
4 years ago |
Chris Lu
|
97733c3dff
typo
|
4 years ago |
Chris Lu
|
a41588279a
change log level 5 to 4
|
4 years ago |
Chris Lu
|
bee0d7e5eb
lower log priority for noisy heartbeat
|
4 years ago |
Chris Lu
|
93ea0801ea
volume: the variable for the master node may be stale?
|
4 years ago |
Chris Lu
|
31583b5d6c
master and volume server: avoid race condition
|
4 years ago |
Chris Lu
|
69eda558ef
reduce the connections
|
4 years ago |
Chris Lu
|
826f96b6f3
fix unreachable code
|
4 years ago |
Chris Lu
|
8e23dc078b
refactoring
|
4 years ago |
Chris Lu
|
5361f999ed
shell: only one shell is allowed to connect to the cluster
|
4 years ago |
Chris Lu
|
c16dc57a58
fix max volume count reporting
|
4 years ago |
Chris Lu
|
3137777d83
volume: automatically detect max volume count
|
4 years ago |
Chris Lu
|
dc40413847
fix error
|
4 years ago |
Chris Lu
|
6a8484b4ae
master able to list all master clients by type
|
4 years ago |
Chris Lu
|
8c1da71402
remove dead code
|
4 years ago |
Chris Lu
|
0da7b894cc
pass backend config from master to volume servers
|
5 years ago |
Chris Lu
|
ea9a7e61d0
only send metrics address during on the first response
|
5 years ago |
Chris Lu
|
71eb8efd20
fix error logs
|
5 years ago |
Chris Lu
|
55a2221eba
master: add logging for volume server disconnection
|
5 years ago |
Chris Lu
|
ca2b81a944
fix test error
|
5 years ago |
Chris Lu
|
19360ab10a
master: redirect clients to the new leader
|
5 years ago |
Chris Lu
|
0264a7f50a
set the max file key when ever possible
|
5 years ago |
Chris Lu
|
f16375621f
big refactoring
|
5 years ago |
Chris Lu
|
d8ed73926d
volume servers get metrics address and interval from the master
|
5 years ago |
Chris Lu
|
450f4733ce
report empty volume or ec shards
|
5 years ago |