[skip e2e] Add comment for getIndexInfo (#14745)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
bigsheeper 2022-01-04 14:06:02 +08:00 committed by GitHub
parent cda172ede2
commit bd7a1cd3d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -177,6 +177,7 @@ func (loader *indexLoader) estimateIndexBinlogSize(segment *Segment, fieldID Fie
return indexSize, nil
}
// getIndexInfo gets indexInfo from RootCoord and IndexCoord
func (loader *indexLoader) getIndexInfo(collectionID UniqueID, segment *Segment) (*indexInfo, error) {
if loader.indexCoord == nil || loader.rootCoord == nil {
return nil, errors.New("null indexcoord client or rootcoord client, collectionID = " +