mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Fix panic when BuildIndex 0 while err = nil (#6125)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
2d294dc764
commit
384f440dbf
@ -395,7 +395,7 @@ func (c *Core) startDataNodeFlushedSegmentLoop() {
|
||||
if err == nil && info.BuildID != 0 {
|
||||
info.EnableIndex = true
|
||||
} else {
|
||||
log.Error("build index fail", zap.String("error", err.Error()))
|
||||
log.Error("build index fail", zap.Int64("buildid", info.BuildID), zap.Error(err))
|
||||
}
|
||||
|
||||
segIdxInfos = append(segIdxInfos, &info)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user