Zhen Ye f18aa85083
enhance: vchannel fair balance policy for streaming (#40959)
issue: #40638 

- Add `ChannelID` for streaming replica in future.
- Remove the pchannel count fair balance policy for streaming.
- Add Score based vchannel fair balance policy for streaming.
- Add pchannel stats manager to collect the stats of pchannel for
balancer.
- Add configuration and metrics for new balance policy

---------

Signed-off-by: chyezh <chyezh@outlook.com>
2025-04-04 10:12:22 +08:00

11 lines
225 B
Go

//go:build test
// +build test
package channel
import "github.com/milvus-io/milvus/pkg/v2/util/syncutil"
func ResetStaticPChannelStatsManager() {
StaticPChannelStatsManager = syncutil.NewFuture[*PchannelStatsManager]()
}