control_plane: fix a compilation error from racing PRs (#6882)

Merge of two green PRs raced, and ended up with a non-compiling result.
This commit is contained in:
John Spray
2024-02-22 16:51:46 +00:00
committed by GitHub
parent 2424d90883
commit 9c6145f0a9

View File

@@ -936,7 +936,8 @@ impl Service {
node_id: reattach_req.node_id,
availability: Some(NodeAvailability::Active),
scheduling: None,
})?;
})
.await?;
// Ordering: we must persist generation number updates before making them visible in the in-memory state
let incremented_generations = self.persistence.re_attach(reattach_req.node_id).await?;