From af8fc475183f38c82562afbb67f94300abda19ff Mon Sep 17 00:00:00 2001 From: "zhenshan.cao" Date: Fri, 22 Oct 2021 23:57:11 +0800 Subject: [PATCH] [skip ci]Fix golint error in querynode (#10484) Signed-off-by: zhenshan.cao --- internal/querynode/collection_replica.go | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/internal/querynode/collection_replica.go b/internal/querynode/collection_replica.go index c6e6ff5d9d..61dbee8698 100644 --- a/internal/querynode/collection_replica.go +++ b/internal/querynode/collection_replica.go @@ -39,14 +39,9 @@ import ( "github.com/milvus-io/milvus/internal/proto/schemapb" ) -/* - * collectionReplica contains a in-memory local copy of persistent collections. - * In common cases, the system has multiple query nodes. Data of a collection will be - * distributed across all the available query nodes, and each query node's collectionReplica - * will maintain its own share (only part of the collection). - * Every replica tracks a value called tSafe which is the maximum timestamp that the replica - * is up-to-date. - */ +// ReplicaInterface specifies all the methods that the Collection object needs to implement in QueryNode. +// In common cases, the system has multiple query nodes. The full data of a collection will be distributed +// across multiple query nodes, and each query node's collectionReplica will maintain its own part. type ReplicaInterface interface { // collection getCollectionIDs() []UniqueID