Blog

Important Upgrade: MongoDB 3.6.16

Chargement...

5 min read

Important Upgrade: MongoDB 3.6.16

We released MongoDB 3.6.16 on Scalingo which fixes risk of data corruption.

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.

Impact

This issue triggers under some conditions:

  • A query which updates the size of values within documents such as $set to change string values or operators like $push and $pull.

  • A node suffers an unclean shutdown (like a crash for instance).

  • When restarting, the node replays the journal to reach a consistent state of data.

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.

When Can I Upgrade?

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

Étienne Michon

Étienne Michon is one of the first employee at Scalingo. With a PhD in computer science Étienne takes care of Research and Development at Scalingo. He also regularly contributes to this blog with technical articles.

Stay Updated

Get articles and platform updates in your inbox.

Ready to Deploy with Confidence?

Experience zero-downtime deployments, intelligent auto-scaling, and fully managed infrastructure. Start deploying your applications on Scalingo today.

No credit card required • Deploy in minutes • Cancel anytime

Deploy your first app or database

Let's start building together

Join developers who chose a platform built for fast delivery and calm production, with European values and human support.

Deploy your first app or database

Let's start building together

Join developers who chose a platform built for fast delivery and calm production, with European values and human support.

Deploy your first app or database

Let's start building together

Join developers who chose a platform built for fast delivery and calm production, with European values and human support.