vadimartynov
8aae82dd71
Added context for the MasterClient's methods to avoid endless loops ( #5628 )
* Added context for the MasterClient's methods to avoid endless loops
* Returned WithClient function. Added WithClientCustomGetMaster function
* Hid unused ctx arguments
* Using a common context for the KeepConnectedToMaster and WaitUntilConnected functions
* Changed the context termination check in the tryConnectToMaster function
* Added a child context to the tryConnectToMaster function
* Added a common context for KeepConnectedToMaster and WaitUntilConnected functions in benchmark
6 months ago
Nico D'Cotta
796b7508f3
Implement SRV lookups for filer ( #4767 )
1 year ago
chrislu
5294b6dd4d
remove volume server tcp client
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
2 years ago
chrislu
68065128b8
add dc and rack
3 years ago
chrislu
9f20d3ebd1
add dc and rack
3 years ago
Nat Makarevitch
b72f0634d7
minor (typos...), done while reading around
3 years ago
chrislu
94635e9b5c
filer: add filer group
3 years ago
chrislu
21e0898631
refactor: change masters from a slice to a map
3 years ago
Chris Lu
5ea86ef1da
Revert "master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()"
This reverts commit af71ae11aa
.
3 years ago
Chris Lu
af71ae11aa
master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
5a0f92423e
use grpc and jwt
3 years ago
Chris Lu
4b1ed227d1
revert fasthttp changes
related to https://github.com/chrislusf/seaweedfs/issues/1907
4 years ago
Chris Lu
1bd880dcdb
adds tcp writes benchmark
4 years ago
Chris Lu
62191b08ea
disk type support custom tags
4 years ago
Chris Lu
6daa932f5c
refactoring to get master function, instead of passing master values directly
this will enable retrying later
4 years ago
Chris Lu
0bc3a1f9e8
disk type only supports hdd and ssd, not ready for random tags yet
4 years ago
Chris Lu
ef76365ec2
adjust help message
4 years ago
Chris Lu
7d9dc3c6a2
use fasthttp lib to read
4 years ago
Chris Lu
1bf22c0b5b
go fmt
4 years ago
Chris Lu
51eadaf2b6
rename parameter name to "disk"
4 years ago
Chris Lu
0d2ec832e2
rename from volumeType to diskType
4 years ago
Chris Lu
e9cd798bd3
adding volume type
4 years ago
Konstantin Lebedev
fc7baef5bb
fiil serverUrls sorted by data center
4 years ago
Chris Lu
3f7d1d1bf1
Only wait on retryable requests
4 years ago
Chris Lu
a8624c2e4f
read from alternative replica
related to https://github.com/chrislusf/seaweedfs/issues/1512
4 years ago
Chris Lu
ca3516ac6d
adjust protoc
5 years ago
Chris Lu
bc2ec6774d
inject git version into build
5 years ago
Chris Lu
39e72fb23c
go fmt
5 years ago
zhangsong
d819865fe7
add fsync option for benchmark
5 years ago
Chris Lu
eab4c9219c
randomize benchmark content
fix https://github.com/chrislusf/seaweedfs/issues/1294
5 years ago
Chris Lu
076c8bd3bc
filer master start up with default ip address instead of just localhost
5 years ago
Chris Lu
d848d08944
use public url also for deletions
5 years ago
Chris Lu
6a8484b4ae
master able to list all master clients by type
5 years ago
Chris Lu
892e726eb9
avoid reusing context object
fix https://github.com/chrislusf/seaweedfs/issues/1182
5 years ago
Chris Lu
9b6296e77a
volume: add grpc file read operation
This is added more for performance benchmarking.
5 years ago
Chris Lu
d335f04de6
support env variables to overwrite toml file
5 years ago
zhangsong
65f1095a54
fix benchmark cmd usage info
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
ede876cfdb
periodic scripts exeuction from leader master
6 years ago
Chris Lu
920b4e56aa
refactoring
6 years ago
chenwanli
45a52b17fd
benchmark: add replication flag
6 years ago
Chris Lu
77b9af531d
adding grpc mutual tls
6 years ago
Chris Lu
98a03b38e5
avoid util package depends on security package
6 years ago
Chris Lu
74fb237727
benchmark can work in secure mode
6 years ago
Chris Lu
4ff4a147b2
cleanup security.Secret
6 years ago
bingoohuang
ab6be025d7
go fmt and fix some typo
6 years ago
Chris Lu
2a19511ba8
avoid gzip benchmark data
related to https://github.com/chrislusf/seaweedfs/issues/804
6 years ago