Re:Are you a lazy programmer?
by gomseb on Saturday April 10, 2021 @12:09PM
(#26762509)
Well, I guess the point here is to rollback to the previous version and find and fix the bug on Monday.
[ Parent
| on HN ]
Sometimes, yes. But the bug might not immediately be obvious (for example a memory leak) or cause data corruption, in which case you need to get a backup - and you probably don't use a backup without manual approval.
A good infrastructure will help you at every point, but it will still take time.
Re:Are you a lazy programmer?
by denimnerd42 on Saturday April 10, 2021 @12:16PM
(#26762563)
I'm curious how many companies have a working rollback. I think the majority probably have to keep patching until they get it right or get it stable.
maybe because by definition you lose data on rollbacks? You can re-run all events/messages (if your company architecture supports it) but that gets more complicated, usually patching is easier and faster. Also, downtime.