mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-29 18:38:44 +08:00
Update binlog event format (#18347)
Signed-off-by: xige-16 <xi.ge@zilliz.com> Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
parent
6c3dbf0a07
commit
e40061b864
@ -54,11 +54,11 @@ Binlog file consists of 4 bytes magic number and a series of events. The first e
|
||||
| +----------------------------+---------------------------------------------------------------------+
|
||||
| | PayloadDataType 65 : 4 | data type of payload |
|
||||
| +----------------------------+---------------------------------------------------------------------+
|
||||
| | PostHeaderLengths n : n | header lengths for all event types |
|
||||
| +----------------------------+---------------------------------------------------------------------+
|
||||
| | ExtraLength 69 : 4 | length of extra information |
|
||||
| +----------------------------+---------------------------------------------------------------------+
|
||||
| | ExtraBytes 73 : n | extra information in json format |
|
||||
| +----------------------------+---------------------------------------------------------------------+
|
||||
| | PostHeaderLengths n : n | header lengths for all event types |
|
||||
+=====================================+=====================================================================|
|
||||
```
|
||||
|
||||
|
@ -286,6 +286,7 @@ func (insertCodec *InsertCodec) Serialize(partitionID UniqueID, segmentID Unique
|
||||
startTs := ts[0]
|
||||
endTs := ts[len(ts)-1]
|
||||
|
||||
// sort insert data by rowID
|
||||
dataSorter := &DataSorter{
|
||||
InsertCodec: insertCodec,
|
||||
InsertData: data,
|
||||
|
Loading…
Reference in New Issue
Block a user