mirror of https://github.com/milvus-io/milvus.git
Lower the log frequency when sync tasks are skipped (#25006)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/25001/head
parent
8bc5282eb3
commit
6168a55c04
|
@ -474,13 +474,13 @@ func (ibNode *insertBufferNode) Sync(fgMsg *flowGraphMsg, seg2Upload []UniqueID,
|
||||||
)
|
)
|
||||||
// check if task pool is full
|
// check if task pool is full
|
||||||
if !task.dropped && !task.flushed && ibNode.flushManager.isFull() {
|
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
|
continue
|
||||||
}
|
}
|
||||||
// check if segment is syncing
|
// check if segment is syncing
|
||||||
segment := ibNode.channel.getSegment(task.segmentID)
|
segment := ibNode.channel.getSegment(task.segmentID)
|
||||||
if !task.dropped && !task.flushed && segment.isSyncing() {
|
if !task.dropped && !task.flushed && segment.isSyncing() {
|
||||||
log.Info("segment is syncing, skip it")
|
log.RatedInfo(10, "segment is syncing, skip it")
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
segment.setSyncing(true)
|
segment.setSyncing(true)
|
||||||
|
|
Loading…
Reference in New Issue