Browse Source
Added context for the MasterClient's methods to avoid endless loops (#5628)
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 benchmarkpull/4508/merge
vadimartynov
6 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
26 changed files with 106 additions and 66 deletions
-
3unmaintained/repeated_vacuum/repeated_vacuum.go
-
3unmaintained/volume_tailer/volume_tailer.go
-
3weed/command/backup.go
-
8weed/command/benchmark.go
-
3weed/command/download.go
-
2weed/command/filer_copy.go
-
3weed/command/master.go
-
2weed/command/master_follower.go
-
4weed/command/upload.go
-
12weed/filer/filer.go
-
5weed/mq/broker/broker_server.go
-
6weed/operation/assign_file_id.go
-
7weed/operation/assign_file_id_test.go
-
3weed/operation/chunked_file.go
-
2weed/operation/lookup.go
-
3weed/operation/submit.go
-
4weed/server/filer_server.go
-
4weed/server/master_server.go
-
4weed/server/master_server_handlers_admin.go
-
6weed/server/volume_grpc_admin.go
-
2weed/server/volume_grpc_client_to_master.go
-
6weed/server/volume_grpc_copy.go
-
3weed/server/volume_server_handlers_read.go
-
2weed/shell/command_cluster_check.go
-
5weed/shell/shell_liner.go
-
67weed/wdclient/masterclient.go
Write
Preview
Loading…
Cancel
Save
Reference in new issue