Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
You should try upgrading to "I dropped the production database with no backups" elite club.
-
@netikras
Essentially, I was adding a new custom add-on to our Keycloak server.
Must've messed up adding the dependencies somehow because Keycloak would crash a few seconds after each restart. I deleted the files I added and tried restarting. Still wouldn't work. So I decided to delete what I thought was temporary data. 😎
I was relieved for a second when Keycloak stopped crashing, until I read "No management user configured" on the admin console. Turned out I had just deleted the entire configuration, realms, clients, users, groups, token mappers and other settings. Broke login for all our apps that went through Keycloak 🫡
We spent the rest of the day adding most of it back from what notes I had written down. -
hjk10157312y@kiki don't forget to roll back any migrations first. If you are lucky there is a down migration script that is tested (set that up in my previous team not sure if we have it). If the issue is actually causing data corruption than using backups might be the way to go.
Code changes can easily be reverted, the fallout however can be quite complex to resolve and even cause a point of no return.
EDIT. Just read what happened. Besides manual deployment steps no backups of important data and it got removed... -
Congrats! I took down a prod environment last Thursday after 17:00 just before my 3 day weekend.
That’s always fun -
Not that bad. To me the most significant risk about "Don't deploy on Fridays" is that you could introduce a problem that isn't discovered until the weekend.
But if you destroy a server 100% in a way that's instantly obvious and has to be fixed the same day it might be worse if it happens 5PM on a Tuesday, than 1PM on a Friday.
🎉 As of today, I can proudly count myself among the members of the "Killed Prod on A Friday Afternoon" club. 🎉
rant