docs: the sample configuration in design document 08 does not load
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 82/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- rust
调研方向
阅读 docs/design/08-component-config.md 的第 3 节,并将其中的 [server] 和 [storage.postgres] 块与 crates/config/src/lib.rs 中的 ServerConfig 以及 crates/storage-postgres/src/config.rs 中的 PostgresStorageConfig 进行比较。使用 docs/manuals/05-admin-guide.md 中的运维人员参考文档,检查接受哪些 PostgreSQL 键。加载器接受示例中的所有键即为完成。
由索引模型根据 Issue 内容生成。
描述
Summary
The sample configuration in docs/design/08-component-config.md section 3 does not load. Both ServerConfig and PostgresStorageConfig carry #[serde(deny_unknown_fields)], and the sample sets keys neither struct has, so a server started from a copy of it stops at startup with an unknown field error.
Keys in the sample that no struct has
[server] (crates/config/src/lib.rs, fields bind_addr, port, region, run_dir, tls, throttling_enabled):
max_connectionsrequest_timeout_secsshutdown_drain_secsmax_request_size_bytes- the
[server.rate_limit]table (global_rps,per_table_rps)
[storage.postgres] (crates/storage-postgres/src/config.rs, fields connection_string, pool_size, catalog_pool_size):
connection_timeout_secsstatement_timeout_secs
The read_replica_url and read_replica_pool_size lines were removed by #584 (issue #561). The rest of the sample has the same defect.
Expected
The sample loads as written, or each key it shows is one the loader accepts. The operator reference in docs/manuals/05-admin-guide.md lists the [storage.postgres] keys the loader has and can serve as the source for the sample.
Where
docs/design/08-component-config.md, section 3, the[server]block and the[storage.postgres]blockcrates/config/src/lib.rs,ServerConfigcrates/storage-postgres/src/config.rs,PostgresStorageConfig
- 主要语言
- Rust
- 星标
- 517
- 派生
- 60
- 平均合并
- 2 天 23 小时
- 30 天内合并 PR
- 25
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ExtendDB/extenddb 的其他 Issue
-
backend:mongodb bug
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 2 天内回复
-
backend:cassandra bug
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 2 天内回复
-
backend:cassandra bug
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 2 天内回复
-
[storage.cassandra] accepts unknown keys silently可能已有人在做 @LeeroyHannigan 于 2 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
ExtendDB/extenddb#540 · 已指派 1 人 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复
查看 ExtendDB/extenddb 的全部 Issue
相似的 Issue
-
component:benchmark
难度 2/5 1-3 小时 新手友好度 76/100
agentic-os-org/ANOLISA#9177 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
oracle/rust-oracledb#61 ·
-
bug priority-medium to-agent
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 82/100
维护者通常 2 天内回复
-
Databricks tool-only response crashes in resolve_reasoning_and_content with KeyError: content可能已有人在做 @1divyanshdev 今天认领。 未关闭llm translation
难度 2/5 1-3 小时 新手友好度 79/100
BerriAI/litellm#48637 · 2 条评论 ·
维护者通常 1 天内回复