liveBook · Manning

Software upgrade

As explained in MongoDB 8.0 in Action, Third Edition

An upgrade is a change that moves a software system or database deployment to a newer version.

A software upgrade moves a system or database deployment to a newer version. In Atlas, regular upgrades maintain security and performance while providing new features, but minor and major upgrades require different operational decisions. section 21.4

Plan an Atlas upgrade according to its scope:

  • Use a minor upgrade within the same major version, such as 8.0.3 to 8.0.5, for security patches, bug fixes, and small improvements. Atlas applies these automatically during the maintenance window through rolling upgrades, updating nodes one at a time. section 21.4
  • Schedule or change the maintenance window with the Atlas CLI commands atlas maintenanceWindows create, atlas maintenanceWindows update, and atlas maintenanceWindows delete, or use the Atlas UI. section 21.4
  • Treat a major upgrade, such as MongoDB 7.0 to 8.0, as a deliberate migration: confirm cluster health, complete on-demand snapshots, and advance only one major version at a time. section 21.4
  • Review release notes and verify MongoDB driver compatibility before a major upgrade because new versions can introduce non-backward-compatible features or driver interactions. section 21.4

Choosing the upgrade path

Moving from MongoDB 8.0.3 to 8.0.5 is a minor upgrade handled during the maintenance window with little to no downtime. Moving from MongoDB 7.0 to 8.0 is a major upgrade that requires manual initiation, a healthy cluster, completed snapshots, compatibility checks, and release-note review. section 21.4 section 21.5

How MongoDB 8.0 in Action, Third Edition covers it

How deep it goes
Explains minor and major upgrade procedures, maintenance windows, rolling upgrades, health checks, snapshots, sequencing, and compatibility review.
Examples
Uses MongoDB 8.0.3-to-8.0.5 and 7.0-to-8.0 version changes, plus Atlas maintenance-window CLI commands.
What it assumes
Assumes Atlas cluster administration and MongoDB driver awareness while defining health, snapshots, maintenance windows, and upgrade sequencing.
What you can do after
Operate Atlas upgrades by selecting the correct path, scheduling maintenance, preparing snapshots, and checking compatibility.
How it connects
Connects upgrades with maintenance windows, rolling upgrades, cluster health, snapshots, release notes, and MongoDB driver compatibility.

Also explained in

Compare how 5 books explain software upgrade →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of MongoDB 8.0 in Action, Third Edition. The section links point to the parts of the book it draws on.