milvus/internal/metastore/model/load_info.go
yah01 aa6b8af80d
Migrate metadata of QueryCoord from 2.1 to 2.2 (#19986)
Signed-off-by: yah01 <yang.cen@zilliz.com>

Signed-off-by: yah01 <yang.cen@zilliz.com>
2022-10-24 23:41:35 +08:00

25 lines
596 B
Go

package model
import "github.com/milvus-io/milvus/internal/proto/querypb"
type CollectionLoadInfo struct {
CollectionID int64
PartitionIDs []int64
ReleasedPartitionIDs []int64
LoadType querypb.LoadType
LoadPercentage int64
Status querypb.LoadStatus
ReplicaNumber int32
FieldIndexID map[int64]int64
}
type PartitionLoadInfo struct {
CollectionID int64
PartitionID int64
LoadType querypb.LoadType
LoadPercentage int64
Status querypb.LoadStatus
ReplicaNumber int32
FieldIndexID map[int64]int64
}