Skip to content

Percona Server for MongoDB 5.0.5-4 (2021-12-28)

Release date December 28, 2021
Installation Installing Percona Server for MongoDB


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.

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

Release Highlights

The bug fixes and improvements, provided by MongoDB and included in Percona Server for MongoDB, are the following:

  • SERVER-59858 - Added histograms to track latency for tasks scheduled on the reactor thread.

  • SERVER-61483 - Fixed an issue when resharding a collection that could cause data inconsistency (lost writes) due to incorrect actions by the ReshardingCoordinator and attempts to commit anyway. Also could cause fassert() to config server primary.

  • SERVER-61482 - Fixed an issue with stalls on the config server. Updates to config server during resharding may wait too long for oplog slot thus stalling replication on config server indefinitely.

  • SERVER-61633 Fixed a resharding issue relating to RecipientStateMachine that caused the server to crash

Find the full list of changes in the MongoDB 5.0.5 Community Edition release notes.

Bugs Fixed

  • PSMDB-756: Fixed an issue with unmet dependencies for installing MongoDB on Debian (Thanks to Stefan Schlesi for reporting this issue)

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.