feat(services): expose effective persistence settings in canonical and doctor
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 55/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- docker, go, redis
- 领域
- cli, devops, documentation, infrastructure
调研方向
从 canonical 和 doctor 入口开始,然后追踪 Redis 和 Valkey 的持久化模式与驱动程序设置是如何呈现的。比较一致的默认值与显式不同的设置,包括对存储生命周期的影响,并为其他由模式派生的驱动程序检查相同的报告模型。完成的标准是:canonical 显示已声明的模式、有效值及其来源;doctor 解释差异,但不改变运行时呈现或 #79 中的转换门控。
由索引模型根据 Issue 内容生成。
描述
Status
The runtime defect originally reported here was fixed by #79 (7f94af0):
persistence.mode: ephemeralcreates no durable Onebox volume for every managed driver;- Redis and Valkey receive ephemeral persistence defaults;
- explicit driver settings override mode-derived server defaults exactly once;
- omitted and durable modes retain durable storage semantics;
- destructive persistence transitions remain gated.
Remaining problem
The override is effective but not visible enough. ob canonical and ob doctor do not explain when authored driver settings diverge from the persistence mode. An operator can deliberately enable AOF on ephemeral storage, for example, but Onebox does not state that the data survives a process restart and not a container recreate.
Scope
- Show the declared persistence mode and effective server persistence values with their origin in canonical output.
- Have doctor name actionable divergences between the mode and explicit driver settings.
- Document that
persistence.modeowns Onebox storage lifetime whilesettingsowns server internals and cannot create a durable Onebox volume. - Report divergence; do not refuse a deliberate override.
Acceptance
- Redis and Valkey cover mode defaults and explicit overrides in canonical output.
- Doctor distinguishes a harmless aligned setting from a divergent one and explains the operational consequence.
- Other drivers with mode-derived persistence options follow the same reporting model.
- Runtime rendering and transition gates from #79 remain unchanged.
The original measurements and design discussion remain in this issue history and in #79.
- 主要语言
- Go
- 星标
- 4
- 派生
- 0
- 平均合并
- 2 小时 46 分钟
- 30 天内合并 PR
- 38
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
labstack/onebox 的其他 Issue
-
bug
难度 1/5 1 小时以内 新手友好度 80/100
维护者通常 1 天内回复
-
bug
难度 1/5 1 小时以内 新手友好度 85/100
维护者通常 1 天内回复
-
bug
难度 1/5 1 小时以内 新手友好度 85/100
维护者通常 1 天内回复
-
bug
难度 3/5 1-2 天 新手友好度 65/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 55/100
维护者通常 1 天内回复
相似的 Issue
-
raised-by:reviewer
难度 1/5 1-3 小时 新手友好度 84/100
medici-finance/assay#2681 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 82/100
homarr-labs/dashboard-icons#2939 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
AvengeMedia/DankMaterialShell#3761 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复
-
docs: clarify replacement for outdated Terms of Service URL in readme.md可能已有人在做 @mohitjoshi-hey 今天认领。 未关闭
难度 1/5 1-3 小时 新手友好度 66/100