mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci]Fix golint error in querynode (#10484)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
This commit is contained in:
parent
f170658d5b
commit
af8fc47518
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user