[Bug]: Querycoord set wrong watchDmchannelInfo when one partition is empty #15728
Closed
1 task done
Labels
kind/bug
Issues or changes related a bug
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
Milestone
Is there an existing issue for this?
Environment
Current Behavior
If a collection has multi partitions, and some some partitions don't have been inserted. There may be two problems when loading:
If some paritiotns have not been inserted, the checkpoint of the partitions has not been updated, resulting in the seekposition in the watchchannelReq received by the querynode being an older checkpoint. Then load will be slower
the flushed segment list in the watchchannelReq received by the querynode are empty
Eventually, when loading, for a certain segment, querynode memory exists both the seal segment and the growing segnent, So the memory needed when loading will be double.
After the load is completed, the querynode will delete the growing segment from memory after receiving the sealedsegmentchangeinfo, and eventually the querynode memory will only have the sealed segments.
Expected Behavior
No response
Steps To Reproduce
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: