2022-07-22 02:20:29 +00:00
|
|
|
package model
|
|
|
|
|
|
|
|
import (
|
2022-10-16 12:49:27 +00:00
|
|
|
"github.com/milvus-io/milvus-proto/go-api/commonpb"
|
2022-07-22 02:20:29 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type Segment struct {
|
|
|
|
SegmentID int64
|
2022-08-25 07:48:54 +00:00
|
|
|
CollectionID int64
|
2022-07-22 02:20:29 +00:00
|
|
|
PartitionID int64
|
|
|
|
NumRows int64
|
2022-08-25 07:48:54 +00:00
|
|
|
BinLogs []string
|
2022-07-22 02:20:29 +00:00
|
|
|
MemSize int64
|
|
|
|
DmChannel string
|
|
|
|
CompactionFrom []int64
|
|
|
|
CreatedByCompaction bool
|
|
|
|
SegmentState commonpb.SegmentState
|
2022-08-25 07:48:54 +00:00
|
|
|
//IndexInfos []*SegmentIndex
|
|
|
|
ReplicaIds []int64
|
|
|
|
NodeIds []int64
|
2022-07-22 02:20:29 +00:00
|
|
|
}
|