[skip ci] Refine datacoord meta comment (#13432)

Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
pull/13441/head
edward.zeng 2021-12-15 16:57:23 +08:00 committed by GitHub
parent 1f8f5a7d4e
commit f44ede7b9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ func (m *meta) AddCollection(collection *datapb.CollectionInfo) {
m.collections[collection.ID] = collection
}
// GetCollection get collection info with provided collection id from local cache
// GetCollection returns collection info with provided collection id from local cache
func (m *meta) GetCollection(collectionID UniqueID) *datapb.CollectionInfo {
m.RLock()
defer m.RUnlock()
@ -108,7 +108,7 @@ type chanPartSegments struct {
segments []*SegmentInfo
}
// GetSegmentsChanPart get segments organized in Channel-Parition dimension with selector applied
// GetSegmentsChanPart returns segments organized in Channel-Parition dimension with selector applied
func (m *meta) GetSegmentsChanPart(selector SegmentInfoSelector) []*chanPartSegments {
m.RLock()
defer m.RUnlock()