Revert "master: rename grpc function KeepConnected() to SubscribeVolumeLocationUpdates()"

This reverts commit af71ae11aa.
This commit is contained in:
Chris Lu
2021-11-05 17:52:15 -07:00
parent 314c32514b
commit 5ea86ef1da
16 changed files with 687 additions and 696 deletions

View File

@@ -130,7 +130,7 @@ func runBenchmark(cmd *Command, args []string) bool {
}
b.masterClient = wdclient.NewMasterClient(b.grpcDialOption, "client", "", "", pb.ServerAddresses(*b.masters).ToAddresses())
go b.masterClient.LoopConnectToMaster()
go b.masterClient.KeepConnectedToMaster()
b.masterClient.WaitUntilConnected()
if *b.write {

View File

@@ -157,7 +157,7 @@ func startMaster(masterOption MasterOptions, masterWhiteList []string) {
}
}()
go ms.MasterClient.LoopConnectToMaster()
go ms.MasterClient.KeepConnectedToMaster()
// start http server
httpS := &http.Server{Handler: r}

View File

@@ -132,7 +132,7 @@ func startMasterFollower(masterOptions MasterOptions) {
glog.V(0).Infof("Start Seaweed Master %s grpc server at %s:%d", util.Version(), *masterOptions.ip, grpcPort)
go grpcS.Serve(grpcL)
go ms.MasterClient.LoopConnectToMaster()
go ms.MasterClient.KeepConnectedToMaster()
// start http server
httpS := &http.Server{Handler: r}