[skip ci] Add comment for printReplica (#9434)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
bigsheeper 2021-10-08 06:45:25 +08:00 committed by GitHub
parent 44622622f6
commit 8696a37fe6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,6 +110,7 @@ func (colReplica *collectionReplica) getSegmentsMemSize() int64 {
return memSize
}
// printReplica prints the collections, partitions and segments in the collectionReplica
func (colReplica *collectionReplica) printReplica() {
colReplica.mu.Lock()
defer colReplica.mu.Unlock()