Repository navigation
Release v1.0.1 with opt-in memory.high recovery - #2
Merged
Merged
Conversation
added 8 commits
November 20, 2026 13:18
… results [skip ci]
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.
ContainerResourceGuard v1.0.1
本次补丁加入按容器配置的
memory.high自动恢复。沿用interval_seconds,设为60时每分钟检查一次。旧配置保持原冲突处理。{ "interval_seconds": 60, "memory_high_recovery": true, "memory_high_recovery_paused": false }将以上字段合并到现有配置。恢复目标取自当前已验证策略。CRG 只恢复同一 cgroup 中已经成功应用、回读的有限目标漂移到
max的情况。写入前再次确认身份、配置和实际值,写入后回读。维护期间可热重载暂停。未决写入、外部较严限制、写入失败和重复覆盖保留冲突并告警。一次尝试后 10 分钟内再次覆盖同一目标会暂停该 journal 条目的自动写入。隔离 Linux 测试验证了 DBS 示例 30 GiB、HISDBS 示例 15 GiB、检查周期、热重载、维护暂停、换容器和重复覆盖。96 MiB 软阈值压力下,
high事件增加,短 SQL 查询零失败,吞吐下降。测试在临时 PostgreSQL 容器完成。171 的部署与业务验收仍待单独执行。配置和维护 · 内核回读和事件日志 · Linux 验收安装包提供 Linux AMD64、ARM64,以及 SHA256、SBOM 和构建信息。升级时保留各容器独立配置、状态和日志。旧版本可能拒绝读取新增的配置键和 journal 字段,回退前请核对目标版本的兼容性。详见 GitHub Release 和 安装与回退。