Repository navigation
fix: bound exporter event-ID validation memory - #241
Merged
Merged
Conversation
Closed
Owner
Author
检视结论:approve对照 #240 导出内存子项:按片 COUNT/MIN/MAX + 复测:87 passed;gates OK。作者峰值 40MB→59KB 未重测,逻辑可信。本评论不 approve/merge。 |
codeasier
marked this pull request as ready for review
October 11, 2026 06:26
codeasier
added a commit
that referenced
this pull request
Oct 11, 2026
This was referenced Oct 11, 2026
Closed
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.
范围
对应 #240 的 exporter 内存子项;不关闭整个 #240。
验证
基线 main
ffa71df0ddf0fb5f17a904f4092898a27287d21e;最终审核 treedd85c9be97e8daba850c3c37d31e7831b8c6d328。隔离子进程的合成校验阶段测量(Python 3.12.14 / SQLite 3.53.1,固定 5,000 events/shard):
该指标为 tracemalloc 记录的校验阶段分配,不含夹具构建、replay 或转换,不声称整个导入常量内存。新路径保留小量随分片数量增加的元数据。百万事件子进程 peak RSS:旧 165,200 KiB、新 23,344 KiB;为单次环境观测,不作一般性能保证。
审阅注意
仅解决 #240 的 ID 校验辅助内存;其他子项继续留在原 issue。保留草稿,不自动合并。