mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 03:48:37 +08:00
enhance: Add L2 segment level (#29595)
#28410 Signed-off-by: wayblink <anyang.wang@zilliz.com>
This commit is contained in:
parent
3c2e0375df
commit
2bc212c6c9
@ -25,6 +25,7 @@ enum SegmentLevel {
|
||||
Legacy = 0; // zero value for legacy logic
|
||||
L0 = 1; // L0 segment, contains delta data for current channel
|
||||
L1 = 2; // L1 segment, normal segment, with no extra compaction attribute
|
||||
L2 = 3; // L2 segemnt, segment with extra data distribution info
|
||||
}
|
||||
|
||||
service DataCoord {
|
||||
@ -317,7 +318,7 @@ message SegmentInfo {
|
||||
bool compacted = 19;
|
||||
|
||||
// Segment level, indicating compaction segment level
|
||||
// Available value: Legacy, L0, L1
|
||||
// Available value: Legacy, L0, L1, L2
|
||||
// For legacy level, it represent old segment before segment level introduced
|
||||
// so segments with Legacy level shall be treated as L1 segment
|
||||
SegmentLevel level = 20;
|
||||
|
Loading…
Reference in New Issue
Block a user