chrislu
|
433fde4b18
move error to a separate file
|
2 years ago |
Konstantin Lebedev
|
28efe31524
new master metrics
|
2 years ago |
chrislu
|
9f9ef1340c
use streaming mode for long poll grpc calls
|
2 years ago |
Chris Lu
|
e0fc2898e9
auto updated filer peer list
|
3 years ago |
Chris Lu
|
84bb8e7365
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
|
e66865a8c5
adjust master client log level
|
3 years ago |
Chris Lu
|
5160eb08f7
shell: optionally read filer address from master
|
3 years ago |
Chris Lu
|
e5fc35ed0c
change server address from string to a type
|
3 years ago |
Chris Lu
|
e8b7d4ad64
simplify a bit
|
3 years ago |
Chris Lu
|
0b00edfc3b
waits in case master lost connection
|
3 years ago |
Konstantin Lebedev
|
fc7baef5bb
fiil serverUrls sorted by data center
|
4 years ago |
Konstantin Lebedev
|
dc26012a3b
initial
|
4 years ago |
Chris Lu
|
8750cac090
move to util.RetryWaitTime
|
4 years ago |
Chris Lu
|
ef908e166b
break import cycle
|
4 years ago |
Chris Lu
|
7192a378cc
add retry to master clients also
|
4 years ago |
Chris Lu
|
ee1fc6558a
refactor
|
4 years ago |
Chris Lu
|
da4edf3651
master: check peers for existing leader before starting a leader election
|
4 years ago |
Chris Lu
|
daf0a449f7
properly cancel context for streaming grpc
|
4 years ago |
Chris Lu
|
de5ca9b258
remove fixJpgOrientation
|
4 years ago |
Chris Lu
|
aebe39a803
avoid repeated grpc connection creation
|
4 years ago |
Chris Lu
|
076c8bd3bc
filer master start up with default ip address instead of just localhost
|
4 years ago |
Chris Lu
|
b062393f3f
refactoring
|
4 years ago |
Chris Lu
|
f90c43635d
refactoring
|
4 years ago |
Chris Lu
|
6a8484b4ae
master able to list all master clients by type
|
4 years ago |
Chris Lu
|
892e726eb9
avoid reusing context object
|
4 years ago |
Chris Lu
|
72a64a5cf8
use the same context object in order to retry
|
4 years ago |
Chris Lu
|
c602073395
adjust logs
|
4 years ago |
Chris Lu
|
7a707617e5
follow the redirected master
|
5 years ago |
xushuxun
|
46ae35cd7e
wdclient: clear client cache when failed to connect to master leader
|
5 years ago |
Chris Lu
|
19360ab10a
master: redirect clients to the new leader
|
5 years ago |
Chris Lu
|
132921ad41
adjust log or error
|
5 years ago |
Chris Lu
|
6fc1f53018
shell: add command volume.move
|
5 years ago |
Chris Lu
|
79c2cca9c1
better error message
|
5 years ago |
Chris Lu
|
5808caa2f5
use cached grpc client
|
5 years ago |
Chris Lu
|
88ab932f7d
refactoring function parameter
|
5 years ago |
Chris Lu
|
da871896c3
weed filer: set grpc port to port + 10000
|
5 years ago |
Chris Lu
|
eb4a54d9fe
refactoring
|
5 years ago |
Chris Lu
|
657dd2e6c9
add shell command to list all collections
|
5 years ago |
Chris Lu
|
42cb05c088
add context.Context
|
5 years ago |
Chris Lu
|
55bab1b456
add context.Context
|
5 years ago |
Chris Lu
|
77b9af531d
adding grpc mutual tls
|
5 years ago |
chenwanli
|
f47f8be912
Fix block-waiting for leader when there are no volumes
|
5 years ago |
Chris Lu
|
67e2ea72be
master add separate grpc port
|
5 years ago |
Chris Lu
|
76cbe8bf33
instant notification of new volumes added or deleted
|
6 years ago |
Chris Lu
|
44d8e35988
add listener for volumd id location for benchmark tool
|
6 years ago |
Chris Lu
|
d3205a0070
go fmt
|
6 years ago |
Chris Lu
|
7214a8e265
fix init error
|
6 years ago |