-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement]: Stop generate compaction plan when channel checkpoint lag is too big #30996
Comments
See also milvus-io#30996 Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
See also milvus-io#30996 Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
What will happen in milvus 3.0?
on 2.3, easier could be datanode directly reject compaction if it is still catch up checkpoints? @congqixia |
@xiaofan-luan Since datanode is dumb worker role in this case, maybe it's better to let Datacoord choose whether the compaction shall be executed or not? |
See also #30996 --------- Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Anything we need to improve on this issue? |
Maybe we should simply avoid pick segment to compact if they their checkpoint fall behind channel checkpoint? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Is there an existing issue for this?
What would you like to be added?
Stop generate compaction plan when channel checkpoint lag is too big
Why is this needed?
In 2.3, sync and compaction is mutually exclusive. When datanode is trying to catch up dml channel from position behind now a lot, compaction execution will block this procedure hand make is harder to catch up.
In 2.4(master), the segment view is not complete when checkpoint lag is large since there may be still some segment need to be flushed after.
It's always a better choice to wait channel checkpoint is up-to-date when trying to generate compaction plan.
Anything else?
No response
The text was updated successfully, but these errors were encountered: