milvus/internal/metastore/model/segment.go
SimFG a55f739608
Separate public proto files (#19782)
Signed-off-by: SimFG <bang.fu@zilliz.com>

Signed-off-by: SimFG <bang.fu@zilliz.com>
2022-10-16 20:49:27 +08:00

22 lines
474 B
Go

package model
import (
"github.com/milvus-io/milvus-proto/go-api/commonpb"
)
type Segment struct {
SegmentID int64
CollectionID int64
PartitionID int64
NumRows int64
BinLogs []string
MemSize int64
DmChannel string
CompactionFrom []int64
CreatedByCompaction bool
SegmentState commonpb.SegmentState
//IndexInfos []*SegmentIndex
ReplicaIds []int64
NodeIds []int64
}