[skip e2e] Add comment for removeGlobalSealedSegmentInfo (#14442)

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

View File

@ -87,6 +87,7 @@ func (g *globalSealedSegmentManager) hasGlobalSealedSegment(segmentID UniqueID)
return ok
}
// removeGlobalSealedSegmentInfo would remove globalSealSegment by segment
func (g *globalSealedSegmentManager) removeGlobalSealedSegmentInfo(segmentID UniqueID) {
g.mu.Lock()
defer g.mu.Unlock()