milvus/internal/metastore/model/segment.go
SimFG b1a1cca10b
feat: add more operation detail info for better allocation (#30438)
issue: #30436

---------

Signed-off-by: SimFG <bang.fu@zilliz.com>
2024-03-28 06:33:11 +08:00

22 lines
478 B
Go

package model
import (
"github.com/milvus-io/milvus-proto/go-api/v2/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
}