mirror of https://github.com/milvus-io/milvus.git
Add comment for collection replica (#8147)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/8242/head
parent
55cf1088f1
commit
11c65dc2b3
|
@ -84,6 +84,8 @@ type ReplicaInterface interface {
|
|||
printReplica()
|
||||
}
|
||||
|
||||
// collectionReplica is the data replication of memory data in query node.
|
||||
// It implements `ReplicaInterface` interface.
|
||||
type collectionReplica struct {
|
||||
mu sync.RWMutex // guards all
|
||||
collections map[UniqueID]*Collection
|
||||
|
|
Loading…
Reference in New Issue