fix(dedupe): 完整修复 batch_size>512(含 1024 边界测试) - #73
Open
weichencs wants to merge 5 commits into
Open
Conversation
This was referenced Aug 7, 2026
Closed
Owner
Author
|
等待 review,合入后即可恢复 |
weichencs
commented
Aug 7, 2026
weichencs
left a comment
Owner
Author
There was a problem hiding this comment.
复现脚本跑通了,batch_size=1024 的输出恢复 500 行。建议补一个 batch_size=2000 的用例再合。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
完整修复 #26(#10 的真正根因):
_flush():key-set 更新与窗口滑动同步(先入 set 再滑动窗口,batch_size任意值下重复键的第一条都会保留);batch_size=1024/batch_size=600/batch_size=512边界测试;Fixes #26