[skip e2e] Add comment for globalSealedSegmentManager (#14444)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
bigsheeper 2021-12-28 19:44:09 +08:00 committed by GitHub
parent 02e568603b
commit 33b68a11fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,6 +107,7 @@ func (g *globalSealedSegmentManager) removeGlobalSegmentIDsByPartitionIds(partit
}
}
// close would free globalSealedSegmentManager
func (g *globalSealedSegmentManager) close() {
g.mu.Lock()
defer g.mu.Unlock()