diff --git a/pkg/cluster/manager/reload.go b/pkg/cluster/manager/reload.go index cbec07680c..a72885c7e1 100644 --- a/pkg/cluster/manager/reload.go +++ b/pkg/cluster/manager/reload.go @@ -62,8 +62,16 @@ func (m *Manager) Reload(name string, opt operator.Options, skipRestart bool) er } } - tb := m.sshTaskBuilder(name, topo, base.User, opt). - ParallelStep("+ Refresh instance configs", opt.Force, refreshConfigTasks...) + tb := m.sshTaskBuilder(name, topo, base.User, opt) + if topo.Type() == spec.TopoTypeTiDB { + tb = tb.UpdateTopology( + name, + m.specManager.Path(name), + metadata.(*spec.ClusterMeta), + nil, /* deleteNodeIds */ + ) + } + tb = tb.ParallelStep("+ Refresh instance configs", opt.Force, refreshConfigTasks...) if len(monitorConfigTasks) > 0 { tb = tb.ParallelStep("+ Refresh monitor configs", opt.Force, monitorConfigTasks...)