diff --git a/internal/querynode/collection_replica.go b/internal/querynode/collection_replica.go index 7649284268..26baa5cee3 100644 --- a/internal/querynode/collection_replica.go +++ b/internal/querynode/collection_replica.go @@ -224,6 +224,7 @@ func (colReplica *collectionReplica) getPartitionIDs(collectionID UniqueID) ([]U return collection.partitionIDs, nil } +// getVecFieldIDsByCollectionID returns vector field ids of collection func (colReplica *collectionReplica) getVecFieldIDsByCollectionID(collectionID UniqueID) ([]FieldID, error) { colReplica.mu.RLock() defer colReplica.mu.RUnlock()