14 Comments

I loved the article! I love listening & telling "how I messed up" stories. They always have the fun & learning part.

"I felt physically ill, and helpless." I know the feeling :) The feeling of receding blood flow from your limbs and it gushing to your head. That scary moment after you mess up something big and before you know you have to fix it.

"For those of you not working in startups - please donโ€™t judge ๐Ÿ˜…"

I won't! Meta had something similar back in the day. I remember a new hire from MSFT being in awe when I hot-fixed an issue and ran it from my dev server.

Expand full comment
author

"That scary moment after you mess up something big and before you know you have to fix it." Exactly... That's a scary feeling :)

Thank you!

Expand full comment
Jan 8ยทedited Jan 8Liked by Anton Zaides

The article is both entertaining and educational. Been there, done that.

FWIW, we are building a tool called Bytebase (bytebase.com) that is supposed to prevent this happening.

Expand full comment
author

Thanks :)

Cool, Iโ€™ll take a look.

Expand full comment
Jan 3Liked by Anton Zaides
author

Yeah :/

I disabled it afterwards, but it's a damn strange default

Expand full comment
Jan 1Liked by Anton Zaides

I donโ€™t see you mention transactions anywhere in your post. Would using them have made a difference?

Expand full comment
author

You are right, that would have saved me. I've known about that option, but honestly I was just to cocky to use it that time. I've been much more careful since...

Expand full comment
Sep 26, 2023Liked by Anton Zaides

To be honest I found this really funny but I was able to take some valuable lessons from it. Thank you!

Expand full comment
author

In retrospect, I find it funny too ๐Ÿ˜…

But turns out such small and stupid mistakes are common ๐Ÿ™ƒ

Expand full comment

this is a soft delete. reverting could be done in seconds with;

UPDATE orders SET is_deleted = false

it is true that previously deleted orders will come up. But no one will notice the system is down. previously deleted orders can be get from backups and everything will be OK in less than an hour without system going down.

Expand full comment
author

I simplified in the article, the orders are in fact internal โ€˜missonsโ€™, that our operations team needed to execute (I work at an Agtech company, and each such mission is a drone flight above a field).

Due to some bug, there were duplicate missions created, and it messed up the systems and confusing the operations team.

In case I would have revived everything, it would have created ton of complications with them, and it was better to stop them for an hour then risk flying wrong missions.

Expand full comment

The new format was great, Anton and the takeaways were insightful too. Helped me realize how I act afterwards is a delicate balance too and I could probably do things better when Iโ€™ve been in similar situations

Expand full comment
author

Thank for the feedback Jordan! I think I'll try to do it once in a while, to spice things up.

It's easy for me in hindsight, when you are in such a moment... Usually the last thing that crosses your mind is how you should act :)

Expand full comment