mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Signed-off-by: yah01 <yang.cen@zilliz.com> Signed-off-by: yah01 <yang.cen@zilliz.com> Signed-off-by: yah01 <yang.cen@zilliz.com>
This commit is contained in:
parent
0c49a1fe87
commit
f19740fdac
@ -374,7 +374,7 @@ func (it *indexBuildTask) BuildDiskAnnIndex(ctx context.Context) error {
|
||||
return nil, nil
|
||||
}).Await()
|
||||
if err != nil {
|
||||
if it.index.CleanLocalData() != nil {
|
||||
if it.index != nil && it.index.CleanLocalData() != nil {
|
||||
log.Ctx(ctx).Error("failed to clean cached data on disk after build index failed",
|
||||
zap.Int64("buildID", it.BuildID),
|
||||
zap.Int64("index version", it.req.GetIndexVersion()))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user