mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Improve rated log in insertBufferNode (#26788)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
parent
3349db4aa7
commit
7624c2b949
@ -459,7 +459,7 @@ func (ibNode *insertBufferNode) Sync(fgMsg *flowGraphMsg, seg2Upload []UniqueID,
|
||||
zap.Bool("auto", task.auto),
|
||||
zap.Any("position", endPosition),
|
||||
zap.String("channel", ibNode.channelName),
|
||||
)
|
||||
).WithRateGroup("ibNode.sync", 1, 60)
|
||||
// check if segment is syncing
|
||||
segment := ibNode.channel.getSegment(task.segmentID)
|
||||
if !task.dropped && !task.flushed && segment.isSyncing() {
|
||||
|
||||
@ -412,9 +412,6 @@ func (q *QuotaCenter) calculateReadRates() {
|
||||
q.guaranteeMinRate(getCollectionRateLimitConfig(collectionProps, common.CollectionSearchRateMinKey), internalpb.RateType_DQLSearch, collection)
|
||||
q.guaranteeMinRate(getCollectionRateLimitConfig(collectionProps, common.CollectionQueryRateMinKey), internalpb.RateType_DQLQuery, collection)
|
||||
}
|
||||
|
||||
log.RatedInfo(10, "QueryNodeMetrics when cool-off",
|
||||
zap.Any("metrics", q.queryNodeMetrics))
|
||||
}
|
||||
|
||||
// TODO: unify search and query?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user