We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8eaa20e commit 8ebe994Copy full SHA for 8ebe994
proxy/server/manager.go
@@ -273,10 +273,6 @@ func (m *Manager) ReloadNamespacePrepare(namespaceConfig *models.Namespace) erro
273
274
newNamespaceManager := ShallowCopyNamespaceManager(currentNamespaceManager)
275
if err := newNamespaceManager.RebuildNamespace(namespaceConfig); err != nil {
276
- // 重建失败,需要将新建的Namespace关闭(同步关闭)
277
- if ns := newNamespaceManager.GetNamespace(namespaceConfig.Name); ns != nil {
278
- ns.Close(false) // 同步关闭,因为此时还没有启动探活,但可能已经创建了连接池等资源
279
- }
280
log.Warn("prepare config of namespace: %s failed, err: %v", name, err)
281
return err
282
}
0 commit comments