Skip to content

Commit

Permalink
Skip atuo-start cluster before scale-out action (#848)
Browse files Browse the repository at this point in the history
Fix #823

Signed-off-by: lucklove <[email protected]>
  • Loading branch information
lucklove authored Oct 19, 2020
1 parent b8f201d commit 6fc2fb9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/cluster/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -2138,11 +2138,7 @@ func buildScaleOutTask(
afterDeploy(builder, newPart)
}

// TODO: find another way to make sure current cluster started
builder.
Func("StartCluster", func(ctx *task.Context) error {
return operator.Start(ctx, metadata.GetTopology(), operator.Options{OptTimeout: optTimeout}, tlsCfg)
}).
ClusterSSH(newPart, base.User, sshTimeout, sshType, topo.BaseTopo().GlobalOptions.SSHType).
Func("Save meta", func(_ *task.Context) error {
metadata.SetTopology(mergedTopo)
Expand Down

0 comments on commit 6fc2fb9

Please sign in to comment.