mirror of https://github.com/milvus-io/milvus.git
Improve rated log in insertBufferNode (#26788)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/26725/head
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…
Reference in New Issue