Fix meta table, dead lock

Signed-off-by: neza2017 <yefu.chen@zilliz.com>
pull/4973/head^2
neza2017 2021-03-27 19:46:00 +08:00 committed by yefu.chen
parent 2fbdb30907
commit 536a0e33d6
1 changed files with 1 additions and 1 deletions

View File

@ -898,7 +898,7 @@ func (mt *metaTable) GetIndexByName(collName string, fieldName string, indexName
if !ok {
return nil, fmt.Errorf("collection %s not found", collName)
}
fieldSchema, err := mt.GetFieldSchema(collName, fieldName)
fieldSchema, err := mt.unlockGetFieldSchema(collName, fieldName)
if err != nil {
return nil, err
}