mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Add comment for GetCollectionInfo of proxy meta cache (#14824)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>pull/14854/head
parent
98232b4942
commit
36a43e647d
|
@ -114,6 +114,8 @@ func (m *MetaCache) GetCollectionID(ctx context.Context, collectionName string)
|
|||
return collInfo.collID, nil
|
||||
}
|
||||
|
||||
// GetCollectionInfo returns the collection information related to provided collection name
|
||||
// If the information is not found, proxy will try to fetch information for other source (RootCoord for now)
|
||||
func (m *MetaCache) GetCollectionInfo(ctx context.Context, collectionName string) (*collectionInfo, error) {
|
||||
m.mu.RLock()
|
||||
var collInfo *collectionInfo
|
||||
|
|
Loading…
Reference in New Issue