Skip to content

.3493622109966576:d07183fbb75e9ce4c79f7624b71e4ad4_69e70c1c81ef3ff6db53fd88.69e75c3f81ef3ff6db54046f.69e75c3e0966521b7e74cd74:Trae CN.T(2026/4/21 19:18:27)#1322

Open
zilvya wants to merge 2 commits intogoogle:mainfrom
zilvya:ta2

Conversation

@zilvya
Copy link
Copy Markdown

@zilvya zilvya commented Apr 21, 2026

No description provided.

zilvya added 2 commits April 21, 2026 17:22
添加墓碑条目统计功能,当文件中的墓碑密度超过50%时优先进行压缩
在FileMetaData中新增num_entries和num_tombstones字段记录条目数量
修改VersionSet以支持基于墓碑密度的压缩优先级判断
更新相关文件处理逻辑以维护和传递墓碑统计信息
在VersionSet::Builder中添加增量式墓碑密度跟踪机制,用于识别高墓碑密度(>50%)的文件作为优先级压缩候选。移除Finalize中的全量扫描,改为在Builder中增量维护最佳候选文件,提高性能。
@google-cla
Copy link
Copy Markdown

google-cla Bot commented Apr 21, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant