neondatabase / helm-charts

neondatabase helm charts
Apache License 2.0
39 stars 3 forks source link

Inject address for peers at storage controller start-up #101

Closed VladLazar closed 3 months ago

VladLazar commented 3 months ago

The storage controller needs to know the address at which it is reachable by it's peers within the deployment. It will use this to mark itself as the leader in the database.

The CLI arg was added in https://github.com/neondatabase/neon/pull/8588 and that's already been deployed everywhere.

Note that we are not enabling graceful leadership tranfers with this change. The only change in storcon behaviour is that each instance will write its address into the database at start-up. If that fails, the process exits.