Check balance checker chore to 10s (#23304)

Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
pull/23277/head
Xiaofan 2023-04-09 01:14:32 -07:00 committed by GitHub
parent 3c52d76d22
commit 680ad482b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -175,7 +175,7 @@ queryCoord:
overloadedMemoryThresholdPercentage: 90 # The threshold percentage that memory overload
balanceIntervalSeconds: 60
memoryUsageMaxDifferencePercentage: 30
checkInterval: 1000
checkInterval: 10000
channelTaskTimeout: 60000 # 1 minute
segmentTaskTimeout: 120000 # 2 minute
distPullInterval: 500

View File

@ -623,6 +623,7 @@ func (s *Server) watchNodes(revision int64) {
s.nodeMgr.Add(session.NewNodeInfo(nodeID, addr))
s.handleNodeUp(nodeID)
s.metricsCacheManager.InvalidateSystemInfoMetrics()
s.checkerController.Check()
case sessionutil.SessionUpdateEvent:
nodeID := event.Session.ServerID

View File

@ -1242,7 +1242,7 @@ func (p *queryCoordConfig) init(base *BaseTable) {
p.CheckInterval = ParamItem{
Key: "queryCoord.checkInterval",
Version: "2.0.0",
DefaultValue: "1000",
DefaultValue: "10000",
PanicIfEmpty: true,
Export: true,
}