Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta Adatta ai principianti
#585 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
82/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
documentation

Direzione di ricerca

Leggi la sezione 3 di docs/design/08-component-config.md e confronta i blocchi [server] e [storage.postgres] con ServerConfig in crates/config/src/lib.rs e PostgresStorageConfig in crates/storage-postgres/src/config.rs. Usa il riferimento per gli operatori in docs/manuals/05-admin-guide.md per verificare quali chiavi PostgreSQL sono accettate. Il lavoro è terminato quando il loader accetta tutte le chiavi dell’esempio.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
Rust
Stelle
517
Fork
60
Merge medio
2g 23h
PR unite (30g)
25

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ExtendDB/extenddb

Tutte le issue di ExtendDB/extenddb

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.