Files
neon/control_plane
Christian Schwarz cad723b458 fix(attachment_service): /attach-hook detachment doesn't survive restart
Before this PR, when we'd use `attachment_service/attach-hook` +
`page_server_mgmt_api/v1/tenant/:tenant/detach` to detach a tenant shard, the
tenant was still in attachments.json with `generation_pageserver=None`.

When we'd then restart attachment_service, the tenant shard id would be
again returned from `/re-attach`.

Admittedly, I haven't fully understood the reconciliation logic yet,
but, this patch seems to do what I need it to do.

This problem is blocking https://github.com/neondatabase/neon/pull/6214
2024-01-24 09:28:11 +01:00
..
2024-01-22 14:53:29 -08:00