The original post: /r/programming by /u/SLhardy98_polyamory on 2025-03-07 06:30:29.

Upgrading MongoDB version from 6 to version 7

I have following concerns regarding the upgrade of the Mongodb cluster;

  1. If I have mongoose running on version 5.x, will it support mongodb version 7? So far it supported Mongodb version 6 with Node driver version of 3.x.
  2. Do I have to take a snapshot of the current DB before upgrading from 6 to 7?
  3. Will there be considerable changes to the cluster when upgrading? Do I need to worry about the functionality of my app (maybe related to Question 1)?
  4. If I plan to upgrade to version 8 in the future (in coming months after upgrading to 7), what’s the answers for Question 1 and 3 given this scenario?