Forward pageserver connection string from compute to safekeeper

This is needed for implementation of tenant rebalancing. With this
change safekeeper becomes aware of which pageserver is supposed to be
used for replication from this particular compute.
This commit is contained in:
Dmitry Rodionov
2021-12-06 21:28:49 +03:00
committed by Dmitry Rodionov
parent bd34d7ecfc
commit 557e3024cd
8 changed files with 63 additions and 58 deletions
@@ -340,6 +340,7 @@ class ProposerPostgres:
"synchronous_standby_names = 'walproposer'\n",
f"zenith.zenith_timeline = '{self.timeline_id}'\n",
f"zenith.zenith_tenant = '{self.tenant_id}'\n",
f"zenith.page_server_connstring = ''\n",
f"wal_acceptors = '{wal_acceptors}'\n",
])