mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip e2e] Add comment for proxy Cache and MetaCache struct (#14076)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
df90402a7f
commit
12bd3ade4c
@ -35,6 +35,7 @@ import (
|
||||
"github.com/milvus-io/milvus/internal/util/typeutil"
|
||||
)
|
||||
|
||||
// Cache is the interface for system meta data cache
|
||||
type Cache interface {
|
||||
// GetCollectionID get collection's id by name.
|
||||
GetCollectionID(ctx context.Context, collectionName string) (typeutil.UniqueID, error)
|
||||
@ -62,6 +63,7 @@ type partitionInfo struct {
|
||||
createdUtcTimestamp uint64
|
||||
}
|
||||
|
||||
// MetaCache implements Cache, provides collection meta cache based on internal RootCoord
|
||||
type MetaCache struct {
|
||||
client types.RootCoord
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user