When we restore backup of MongoDB using MMapv1 storage engine on a machine where MongoDB with WiredTiger exists at some point we end up with old config and new data which breaks the service. This patch makes sure this situation is detected and remediated.
Related issues
Bug #25939: cannot restore backup what was created before upgrade-mongo-storage-engine
Fixes #25939 - Fix mongo engines during restore
When we restore backup of MongoDB using MMapv1 storage engine
on a machine where MongoDB with WiredTiger exists at some point
we end up with old config and new data which breaks the service.
This patch makes sure this situation is detected and remediated.