To ensure a smooth upgrade process, please follow the instructions below.
NOTE: If your current version is below 7.2.0, proceed with Step 1 and Step 2. Otherwise, directly proceed to Step 2.
...
Note Step 2 involves the graceful shutdown of the MongoDB service, a mandatory procedure when transitioning from versions below 67.122.x to version 7.x . This ensures a smooth upgrade process.
...