DEV Community

Discussion on: Keep Calm and Upgrade On

Collapse
 
cristinaruth profile image
Cristina Ruth

Sounds rough 😨

It looks like you jumped 3 major versions too? For major updates like that, I definitely would require a backup plan.

Also, having a separate prod like environment to test the changes it is really beneficial for such major upgrades. It's saved our team so many times from major issues impacting our actual live environment. Also has allowed us zero-downtime and daytime deployments. πŸ™‚

Collapse
 
molly profile image
Molly Struve (she/her) • Edited

Going from version 2 to version 5 for Elasticsearch is actually only a single version bump. At the time Elasticsearch changed how it numbered it's versions to match with the underlying language that powers it, Lucene.

Definitely agree a prod like environment is crucial but it has to have prod like load as well which was really what we missed.

Collapse
 
cristinaruth profile image
Cristina Ruth

Ah yeah - it really is hard to fully duplicate prod like you point out, load is definitely one of those. Although routing traffic to the other environment could be an option too, if the infrastructure can support that?