diff --git a/control_plane/src/bin/attachment_service.rs b/control_plane/src/bin/attachment_service.rs index e879646b63..d4bca59c7b 100644 --- a/control_plane/src/bin/attachment_service.rs +++ b/control_plane/src/bin/attachment_service.rs @@ -223,6 +223,7 @@ async fn handle_attach_hook(mut req: Request) -> Result, Ap if attach_req.pageserver_id.is_some() { tenant_state.generation += 1; } + tenant_state.pageserver = attach_req.pageserver_id; let generation = tenant_state.generation; locked.save().await.map_err(ApiError::InternalServerError)?;