Hello @Srinivasa_Reddy1 ,
Welcome to The MongoDB Community Forums! ![]()
The recommended upgrade path is to do in-place upgrades through successive major releases of MongoDB.
Here is the recommended upgrade path:
3.6 → 4.0 → 4.2 → 4.4
This ensures that any potential compatibility issues with the intermediate versions are resolved before moving to the latest version. It is also advisable to thoroughly test the upgrade process in a test environment before attempting it in a production environment.
Please go through this thread which includes alternative approaches such as automation: Replace mongodb binaries all at once? - #3 by Stennie .
You can check release notes to make sure you are following the correct procedure and avoid any unintentional mishaps.
Regards,
Tarun