Do we need to shutdown DB/Stop DB service before Windows server patching
To upgrade a replicaset, please follow MongoDB upgrade process.
Here's a quick summary:


upgrade all secondary nodes - if necessary check if everything's working properly
stepDown and upgrade the primary node
set the setFeatureCompatibilityVersion to the version matching your upgrade