[skip e2e] Add comment for addGlobalSegmentInfo (#14244)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
bigsheeper 2021-12-25 23:20:24 +08:00 committed by GitHub
parent 551c685df3
commit d384bb1a83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,6 +40,7 @@ func newGlobalSealedSegmentManager(collectionID UniqueID) *globalSealedSegmentMa
}
}
// addGlobalSegmentInfo adds a new segmentInfo
func (g *globalSealedSegmentManager) addGlobalSegmentInfo(segmentInfo *querypb.SegmentInfo) {
g.mu.Lock()
defer g.mu.Unlock()