未验证 提交 af8fc475 编写于 作者: Z zhenshan.cao 提交者: GitHub

[skip ci]Fix golint error in querynode (#10484)

Signed-off-by: Nzhenshan.cao <zhenshan.cao@zilliz.com>
上级 f170658d
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册