From 6bc4379de537b28d2e8ca39ebd03f4f043bf0a30 Mon Sep 17 00:00:00 2001 From: bigsheeper Date: Fri, 24 Sep 2021 20:52:13 +0800 Subject: [PATCH] [skip ci] Add comment for tSafe replica (#8495) Signed-off-by: bigsheeper --- internal/querynode/tsafe_replica.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/querynode/tsafe_replica.go b/internal/querynode/tsafe_replica.go index e209161965..0e8e7d407f 100644 --- a/internal/querynode/tsafe_replica.go +++ b/internal/querynode/tsafe_replica.go @@ -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