Implement SRV lookups for filer (#4767)

This commit is contained in:
Nico D'Cotta authored and GitHub committed 2023-08-24 07:08:56 -07:00
1 parent 5251b4d50e
commit 796b7508f3
20 files changed
+177 -37

No files matched your search

+1 -1
View File
@@ -127,7 +127,7 @@ func runBenchmark(cmd *Command, args []string) bool {
defer pprof.StopCPUProfile()
}
b.masterClient = wdclient.NewMasterClient(b.grpcDialOption, "", "client", "", "", "", pb.ServerAddresses(*b.masters).ToAddressMap())
b.masterClient = wdclient.NewMasterClient(b.grpcDialOption, "", "client", "", "", "", *pb.ServerAddresses(*b.masters).ToServiceDiscovery())
go b.masterClient.KeepConnectedToMaster()
b.masterClient.WaitUntilConnected()