Skip to content

Percona Server for MongoDB 5.0.7-6 (2022-04-20)

Release date April 20, 2022
Installation Installing Percona Server for MongoDB

Percona Server for MongoDB 5.0.7-6 is an enhanced, source-available and highly-scalable database that is a fully-compatible, drop-in replacement for MongoDB 5.0.7 Community Edition. It supports MongoDB 5.0.7 protocols and drivers.


We don’t recommend this version for the production use due to the critical issue with sharding metadata inconsistency: SERVER-68511. The metadata inconsistency is observed when running the movePrimary command on the database that has the Feature Compatibility Version (FCV) set to 4.4 or earlier. Affects MongoDB versions 5.0.0 through 5.0.10 and MongoDB 6.0.0. Upgrade to the fixed version of MongoDB 5.0.11 / Percona Server for MongoDB 5.0.11-10 as soon as possible.

Please follow closely the upstream recommendations outlined in SERVER-68511 to work around this issue and for the remediation steps, if your cluster is affected.

Release Highlights

Percona Server for MongoDB now supports Keys Management Interoperability Protocol (KMIP) so that users can store encryption keys in their favorite KMIP-compatible key manager to set up encryption at rest. This is a tech preview feature.

The list of bug fixes introduced by MongoDB and included in Percona Server for MongoDB is the following:

  • SERVER-63203 - Fixed the issue where having a large number of split points causes the chunk splitter to not function correctly and huge chunks would not be split without manual intervention. This can be caused when having small shard key ranges and a very high number of documents and where more than 8192 split points would be needed.

  • SERVER-64517 - Recover the RecoverableCriticalSection service after the initialSync and startupRecovery stages have completed. This prevents a started up shard to miss an in-memory critical section of a resharded collection.

  • SERVER-64403 - Fixed an issue that occurred during the attempt to perform the collation-encoding of a document with a missing sort attribute. In this case an invariant is violated and mongod crashes.

  • SERVER-63722 - Fixed an issue when the rename collection (sharding step) participants can get stuck.

  • SERVER-61769 - Fixed an issue with idle cursors remaining open when the client attempts to run an aggregation with $out or $merge in a transaction on a sharded cluster.

  • SERVER-60412 - Check if the host has cgroups v2 enabled and read the memory limits according to that.

  • WT-7922 - Report an error when the WiredTiger version file is empty or missing during a startup.

Find the full list of changes in the MongoDB 5.0.7 Community Edition Release notes.

New Features

  • PSMDB-971: Added support for KMIP encryption. Now users can store encryption keys in their favorite KMIP-compatible key manager to set up encryption at rest.

Bugs Fixed

  • PSMDB-1010: Fixed the parameters order in the LOGV2_DEBUG statement for LDAP logging.

  • PSMDB-957: Fixed server crash caused by LDAP misconfiguration. Now the server logs an error message and exits.

Get expert help

If you need assistance, visit the community forum for comprehensive and free database knowledge, or contact our Percona Database Experts for professional support and services.