Separate node name from the branch name in ComputeControlPlane

This is in preparation for supporting read-only nodes. You can launch
multiple read-only nodes on the same brach, so we need an identifier
for each node, separate from the branch name.
This commit is contained in:
Heikki Linnakangas
2021-10-19 09:48:10 +03:00
parent e272a380b4
commit c2b468c958
5 changed files with 44 additions and 26 deletions
@@ -46,6 +46,7 @@ def test_bulk_tenant_create(
pg_tenant = postgres.create_start(
f"test_bulk_tenant_create_{tenants_count}_{i}_{use_wal_acceptors}",
None, # branch name, None means same as node name
tenant,
wal_acceptors=wa_factory.get_connstrs() if use_wal_acceptors == 'with_wa' else None,
)