Rolling Back or Rolling Forward?
In this lesson, we will discuss different scenarios to help us decide whether to roll back the Deployment or roll forward.
Understanding the Scenarios
At this point, we are, more or less, capable of deploying new releases to production as soon as they are ready. However, there will be problems. Something unexpected will happen. A bug will sneak in and put our production cluster at risk. What should we do in such a case? The answer to that question largely depends on the size of the changes and the frequency of deployments.
If we are using continuous deployment process, we are deploying new releases to production fairly often. Instead of waiting until features accumulate, we are deploying small chunks. In such cases, fixing a problem might be just as fast as rolling back.
After all, how much time would it take you to fix a problem caused by only a few hours of work (maybe a day) and ...