mirror of
https://github.com/coder/coder.git
synced 2026-09-22 13:10:21 +08:00
Fixes #12141 Fixes #11750 PGCoord shutdown was uncoordinated, so an update at an inopportune time during shutdown would be rejected because the coordinator row was already deleted. This PR ensures that the PGCoord subcomponents that write updates are shut down before we take down the heartbeats, which is responsible for deleting the coordinator row.