未验证 提交 6168a55c 编写于 作者: Y yihao.dai 提交者: GitHub

Lower the log frequency when sync tasks are skipped (#25006)

Signed-off-by: Nbigsheeper <yihao.dai@zilliz.com>
上级 8bc5282e
......@@ -474,13 +474,13 @@ func (ibNode *insertBufferNode) Sync(fgMsg *flowGraphMsg, seg2Upload []UniqueID,
)
// check if task pool is full
if !task.dropped && !task.flushed && ibNode.flushManager.isFull() {
log.Warn("task pool is full, skip it")
log.RatedWarn(10, "task pool is full, skip it")
continue
}
// check if segment is syncing
segment := ibNode.channel.getSegment(task.segmentID)
if !task.dropped && !task.flushed && segment.isSyncing() {
log.Info("segment is syncing, skip it")
log.RatedInfo(10, "segment is syncing, skip it")
continue
}
segment.setSyncing(true)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册