mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
Check balance checker chore to 10s (#23304)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
This commit is contained in:
parent
3c52d76d22
commit
680ad482b7
@ -175,7 +175,7 @@ queryCoord:
|
|||||||
overloadedMemoryThresholdPercentage: 90 # The threshold percentage that memory overload
|
overloadedMemoryThresholdPercentage: 90 # The threshold percentage that memory overload
|
||||||
balanceIntervalSeconds: 60
|
balanceIntervalSeconds: 60
|
||||||
memoryUsageMaxDifferencePercentage: 30
|
memoryUsageMaxDifferencePercentage: 30
|
||||||
checkInterval: 1000
|
checkInterval: 10000
|
||||||
channelTaskTimeout: 60000 # 1 minute
|
channelTaskTimeout: 60000 # 1 minute
|
||||||
segmentTaskTimeout: 120000 # 2 minute
|
segmentTaskTimeout: 120000 # 2 minute
|
||||||
distPullInterval: 500
|
distPullInterval: 500
|
||||||
|
|||||||
@ -623,6 +623,7 @@ func (s *Server) watchNodes(revision int64) {
|
|||||||
s.nodeMgr.Add(session.NewNodeInfo(nodeID, addr))
|
s.nodeMgr.Add(session.NewNodeInfo(nodeID, addr))
|
||||||
s.handleNodeUp(nodeID)
|
s.handleNodeUp(nodeID)
|
||||||
s.metricsCacheManager.InvalidateSystemInfoMetrics()
|
s.metricsCacheManager.InvalidateSystemInfoMetrics()
|
||||||
|
s.checkerController.Check()
|
||||||
|
|
||||||
case sessionutil.SessionUpdateEvent:
|
case sessionutil.SessionUpdateEvent:
|
||||||
nodeID := event.Session.ServerID
|
nodeID := event.Session.ServerID
|
||||||
|
|||||||
@ -1242,7 +1242,7 @@ func (p *queryCoordConfig) init(base *BaseTable) {
|
|||||||
p.CheckInterval = ParamItem{
|
p.CheckInterval = ParamItem{
|
||||||
Key: "queryCoord.checkInterval",
|
Key: "queryCoord.checkInterval",
|
||||||
Version: "2.0.0",
|
Version: "2.0.0",
|
||||||
DefaultValue: "1000",
|
DefaultValue: "10000",
|
||||||
PanicIfEmpty: true,
|
PanicIfEmpty: true,
|
||||||
Export: true,
|
Export: true,
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user