(no title)
max0563 | 8 months ago
Also, “on delete restrict” isn’t a bad policy either for some keys. Make deleting data difficult.
max0563 | 8 months ago
Also, “on delete restrict” isn’t a bad policy either for some keys. Make deleting data difficult.
throwdbaaway|8 months ago
I actually agreed 100% with this learning, especially the last sentence. The younger me would write a long email to push for ON DELETE CASCADE everywhere. The older me doesn't even want to touch terraform, where an innocent looking update can end up destroying everything. I will rather live with some orphaned records and some infra drifts.
And still I got burnt few months ago, when I inadvertently triggered some internal ON DELETE CASCADE logic of Consul ACL.
(I do agree with your other points)