Skip to content
Snippets Groups Projects
Commit 38b1f7da authored by Bingyi Sun 【孙秉义】's avatar Bingyi Sun 【孙秉义】 Committed by zhenshan.cao
Browse files

Change the logic of getting vchannel position (#5502)


Datanode send `SaveBinlogPath` request after every segment flush finish
with the binlog paths and dml/ddl position. But the flush of segments is
not sorted. So we sort the segments according to segment id and find the
largest segment id with not nil dml position which is the position of
the msgstream to recover.

Signed-off-by: default avatarsunby <bingyi.sun@zilliz.com>
parent 31c4a4f5
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment