mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: fix disk path sent to cachinglayer (#43685)
`localDataRootPath` is used to init local chunk manager and has `querynode` appended to it, thus is incorrect #41435 Signed-off-by: Buqian Zheng <zhengbuqian@gmail.com>
This commit is contained in:
parent
2594250906
commit
21cec95fe8
@ -386,7 +386,7 @@ func (node *QueryNode) InitSegcore() error {
|
||||
loadingMemoryFactor := C.float(paramtable.Get().QueryNodeCfg.TieredLoadingMemoryFactor.GetAsFloat())
|
||||
overloadedMemoryThresholdPercentage := C.float(memoryMaxRatio)
|
||||
maxDiskUsagePercentage := C.float(diskMaxRatio)
|
||||
diskPath := C.CString(localDataRootPath)
|
||||
diskPath := C.CString(paramtable.Get().LocalStorageCfg.Path.GetValue())
|
||||
defer C.free(unsafe.Pointer(diskPath))
|
||||
|
||||
C.ConfigureTieredStorage(C.CacheWarmupPolicy(scalarFieldCacheWarmupPolicy),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user