Zhen Ye 4bad293655
enhance: make upgrading from 2.5.x less down time (#42082)
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>
2025-05-29 23:02:29 +08:00

11 lines
194 B
Go

//go:build test
// +build test
package registry
import "github.com/milvus-io/milvus/pkg/v2/util/syncutil"
func ResetRegisterLocalWALManager() {
registry = syncutil.NewFuture[WALManager]()
}