2022-07-22 02:20:29 +00:00
|
|
|
package model
|
|
|
|
|
|
|
|
import (
|
2023-06-08 17:28:37 +00:00
|
|
|
"github.com/milvus-io/milvus-proto/go-api/v2/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
|
2023-09-21 01:45:27 +00:00
|
|
|
// IndexInfos []*SegmentIndex
|
2024-03-27 22:33:11 +00:00
|
|
|
ReplicaIDs []int64
|
|
|
|
NodeIDs []int64
|
2022-07-22 02:20:29 +00:00
|
|
|
}
|