mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-06 19:02:18 +08:00
issue: #41976 - make drop partition message as a broadcast message. - add gc when drop partition message is acked. - add a call back to handle the broadcast message when ack. - the ack operation of broadcast message will retry until success. Signed-off-by: chyezh <chyezh@outlook.com>
14 lines
411 B
Go
14 lines
411 B
Go
//go:build test
|
|
// +build test
|
|
|
|
package registry
|
|
|
|
import "github.com/milvus-io/milvus/pkg/v2/util/syncutil"
|
|
|
|
func ResetRegistration() {
|
|
localRegistry = make(map[AppendOperatorType]*syncutil.Future[AppendOperator])
|
|
localRegistry[AppendOperatorTypeMsgstream] = syncutil.NewFuture[AppendOperator]()
|
|
localRegistry[AppendOperatorTypeStreaming] = syncutil.NewFuture[AppendOperator]()
|
|
resetMessageAckCallbacks()
|
|
}
|