[skip e2e] Add comment for removeGlobalSegmentIDsByPartitionIds (#14443)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/14463/head
bigsheeper 2021-12-28 19:40:22 +08:00 committed by GitHub
parent 56d41eaf36
commit b4a04a36ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -94,6 +94,7 @@ func (g *globalSealedSegmentManager) removeGlobalSealedSegmentInfo(segmentID Uni
delete(g.globalSealedSegments, segmentID)
}
// removeGlobalSegmentIDsByPartitionIds would remove globalSealedSegments by partitionIDs
func (g *globalSealedSegmentManager) removeGlobalSegmentIDsByPartitionIds(partitionIDs []UniqueID) {
g.mu.Lock()
defer g.mu.Unlock()