mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-02-02 01:06:41 +08:00
Add current used disk log when load (#25590)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
parent
e4bdde6fd3
commit
7d2b1a6f08
@ -886,7 +886,9 @@ func (loader *segmentLoader) checkSegmentSize(collectionID UniqueID, segmentLoad
|
||||
zap.Uint64("diskUsageAfterLoad", toMB(usedLocalSizeAfterLoad)),
|
||||
zap.Uint64("currentUsedMem", toMB(usedMem)),
|
||||
zap.Uint64("currentAvailableFreeMemory", toMB(currentAvailableMemCount)),
|
||||
zap.Uint64("currentTotalMemory", toMB(totalMem)))
|
||||
zap.Uint64("currentTotalMemory", toMB(totalMem)),
|
||||
zap.Uint64("currentUsedDisk", toMB(uint64(localUsedSize))),
|
||||
zap.Uint64("currentTotalDisk", toMB(uint64(Params.QueryNodeCfg.DiskCapacityLimit))))
|
||||
|
||||
if memLoadingUsage > uint64(float64(totalMem)*Params.QueryNodeCfg.OverloadedMemoryThresholdPercentage) {
|
||||
return fmt.Errorf("%w, load segment failed, OOM if load, collectionID = %d, MaxSegmentMemUsage = %v MB, concurrency = %d, usedMemAfterLoad = %v MB, currentAvailableMemCount = %v MB, currentTotalMem = %v MB, thresholdFactor = %f",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user