Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

docs: the sample configuration in design document 08 does not load

オープン 初心者向け
#585 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
82/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust
領域
documentation

調査の方向性

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 の本文から書いたものです。

説明

documentation

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_connections
  • request_timeout_secs
  • shutdown_drain_secs
  • max_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_secs
  • statement_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] block
  • crates/config/src/lib.rs, ServerConfig
  • crates/storage-postgres/src/config.rs, PostgresStorageConfig
主要言語
Rust
スター
517
フォーク
60
平均マージ
2日 23時間
マージ済み PR(30日)
25

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ExtendDB/extenddb のほかの issue

ExtendDB/extenddb の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。