mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
issue: #40532 - start timeticksync at rootcoord if the streaming service is not available - stop timeticksync if the streaming service is available - open a read-only wal if some nodes in cluster is not upgrading to 2.6 - allow to open read-write wal after all nodes in cluster is upgrading to 2.6 --------- Signed-off-by: chyezh <chyezh@outlook.com>
16 lines
524 B
Go
16 lines
524 B
Go
package testutil
|
|
|
|
import (
|
|
"github.com/milvus-io/milvus/internal/coordinator/snmanager"
|
|
"github.com/milvus-io/milvus/internal/streamingcoord/server/balancer/channel"
|
|
"github.com/milvus-io/milvus/internal/streamingcoord/server/broadcaster/registry"
|
|
registry2 "github.com/milvus-io/milvus/internal/streamingnode/client/handler/registry"
|
|
)
|
|
|
|
func ResetEnvironment() {
|
|
channel.ResetStaticPChannelStatsManager()
|
|
registry.ResetRegistration()
|
|
snmanager.ResetStreamingNodeManager()
|
|
registry2.ResetRegisterLocalWALManager()
|
|
}
|