You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: pkg/cluster/cluster.go
+22-15
Original file line number
Diff line number
Diff line change
@@ -185,7 +185,7 @@ initNodeFinished:
185
185
186
186
// vars to support waiting for master nodes to be ready
187
187
varwaitForMasterWaitgroup sync.WaitGroup
188
-
waitForMasterErrChan:=make(chanerror, 1)
188
+
waitForMasterErrChan:=make(chanerror, 1)// FIXME: we should do something different here, e.g. concurrently read from the channel and append to a slice of errors
189
189
190
190
// create all other nodes, but skip the init node
191
191
for_, node:=rangecluster.Nodes {
@@ -212,29 +212,36 @@ initNodeFinished:
212
212
// asynchronously wait for this master node to be ready (by checking the logs for a specific log mesage)
log.Debugf("Starting to wait for master node '%s'", masterNode.Name)
218
217
// TODO: it may be better to give endtime=starttime+timeout here so that there is no difference between the instances (go func may be called with a few (milli-)seconds difference)
0 commit comments