mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 10:59:32 +08:00
[skip ci] Add comment for tSafe replica (#8495)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
parent
816bac82ec
commit
6bc4379de5
@ -36,6 +36,7 @@ type tSafeRef struct {
|
||||
ref int
|
||||
}
|
||||
|
||||
// tSafeReplica implements `TSafeReplicaInterface` interface.
|
||||
type tSafeReplica struct {
|
||||
mu sync.Mutex // guards tSafes
|
||||
tSafes map[Channel]*tSafeRef // map[vChannel]tSafeRef
|
||||
|
Loading…
Reference in New Issue
Block a user