What's the worst way you ever broke production?

RacerX@lemm.ee to Ask Lemmy@lemmy.world – 168 points –

Fess up. You know it was you.

104

You are viewing a single comment

UPDATE without a WHERE.

Yes in prod.

Yes it can still happen today (not my monkey).

Yes I wrap everything in a rollback now.

I did something similar. It was a list box with a hidden first row representing the id. Somehow the header row got selected and an update where id=id got ran.

I did this once. But only once. The panic I felt in that moment is something I will never forget. I was able to restore the data from a recent backup before it became a problem, though.