[skip ci] Add comment for addReleasedPartition (#9244)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/9253/head
bigsheeper 2021-10-05 11:19:23 +08:00 committed by GitHub
parent 4427b24171
commit 040618187b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -148,6 +148,7 @@ func (c *Collection) getReleaseTime() Timestamp {
return c.releaseTime
}
// addReleasedPartition records the partition to indicate that this partition has been released
func (c *Collection) addReleasedPartition(partitionID UniqueID) {
c.releaseMu.Lock()
defer c.releaseMu.Unlock()