MongoDB notified us of a potential risk of data corruption in MongoDB 3.6.14 and 3.6.15. We released the version 3.6.16 which fixes the issue and we will automatically upgrade the impacted databases.
This issue triggers under some conditions:
$set
to
change string values or operators like $push
and $pull
.The most common symptom of this document-level corruption is the message
BSONElement: Bad Type
when accessing or modifying affected documents.
If you are currently experiencing such issue, please contact the support so that we can assist you in recovering your data.
More information in this issue.
MongoDB 3.6.16 is already available. The platform will automatically upgrade your database in the next hours if it currently runs one of the impacted versions.
If you're running a MongoDB Business plan the upgrade will be done without any downtime.
Photo by Chris Lawton on Unsplash