mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-05 20:42:54 +00:00
* Add --id argument to safekeeper setting its unique u64 id. In preparation for storage node messaging. IDs are supposed to be monotonically assigned by the console. In tests it is issued by ZenithEnv; at the zenith cli level and fixtures, string name is completely replaced by integer id. Example TOML configs are adjusted accordingly. Sequential ids are chosen over Zid mainly because they are compact and easy to type/remember. * add node id to pageserver This adds node id parameter to pageserver configuration. Also I use a simple builder to construct pageserver config struct to avoid setting node id to some temporary invalid value. Some of the changes in test fixtures are needed to split init and start operations for envrionment. Co-authored-by: Arseny Sher <sher-ars@yandex.ru>
12 lines
286 B
Plaintext
12 lines
286 B
Plaintext
# Minimal zenith environment with one safekeeper. This is equivalent to the built-in
|
|
# defaults that you get with no --config
|
|
[pageserver]
|
|
listen_pg_addr = '127.0.0.1:64000'
|
|
listen_http_addr = '127.0.0.1:9898'
|
|
auth_type = 'Trust'
|
|
|
|
[[safekeepers]]
|
|
id = 1
|
|
pg_port = 5454
|
|
http_port = 7676
|