mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-04 12:02:55 +00:00
This check API only cheks the safekeeper_connstrings at the moment, and the validation is limited to checking we have at least one entry in there, and no duplicates. ## Problem If the compute_ctl service is started with an empty list of safekeepers, then hard-to-debug errors may happen at runtime, where it would be much easier to catch them early. ## Summary of changes Add an entry point in the compute_ctl API to validate the configuration for safekeeper_connstrings. --------- Co-authored-by: Heikki Linnakangas <heikki@neon.tech>
7 lines
173 B
Markdown
7 lines
173 B
Markdown
### Test files
|
|
|
|
The file `cluster_spec.json` has been copied over from libs/compute_api
|
|
tests, with some edits:
|
|
|
|
- the neon.safekeepers setting contains a duplicate value
|