mirror of https://github.com/milvus-io/milvus.git
Fix meta table, dead lock
Signed-off-by: neza2017 <yefu.chen@zilliz.com>pull/4973/head^2
parent
2fbdb30907
commit
536a0e33d6
|
@ -898,7 +898,7 @@ func (mt *metaTable) GetIndexByName(collName string, fieldName string, indexName
|
||||||
if !ok {
|
if !ok {
|
||||||
return nil, fmt.Errorf("collection %s not found", collName)
|
return nil, fmt.Errorf("collection %s not found", collName)
|
||||||
}
|
}
|
||||||
fieldSchema, err := mt.GetFieldSchema(collName, fieldName)
|
fieldSchema, err := mt.unlockGetFieldSchema(collName, fieldName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue