mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for getSegmentsMemSize (#9433)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/9436/head
parent
05bda0752f
commit
44622622f6
|
@ -98,6 +98,7 @@ type collectionReplica struct {
|
|||
etcdKV *etcdkv.EtcdKV
|
||||
}
|
||||
|
||||
// getSegmentsMemSize get the memory size in bytes of all the Segments
|
||||
func (colReplica *collectionReplica) getSegmentsMemSize() int64 {
|
||||
colReplica.mu.RLock()
|
||||
defer colReplica.mu.RUnlock()
|
||||
|
|
Loading…
Reference in New Issue