Skip to content

Percona Server for MongoDB 7.0.22-12 (2025-07-24)

Installation Upgrade from MongoDB Community

Percona Server for MongoDB 7.0.22-12 is an enhanced, source-available, and highly-scalable database that is a fully-compatible, drop-in replacement for MongoDB Community Edition.

Percona Server for MongoDB 7.0.22-12 includes the improvements and bug fixes of MongoDB 7.0.19 Community Edition through MongoDB 7.0.22 Community Edition. It supports protocols and drivers of MongoDB versions 7.0.19 - 7.0.21.

Release highlights

This release provides the following features and improvements:

Boost performance during cluster restore and scaling with file copy-based initial sync

You can now select how a newly added or a restored replica set member synchronizes the data from other members - via logical or file copy-based initial sync. File copy-based initial sync copies physical files from the source node. This sync method is faster than the logical one and it reduces your maintenance time on scaling your cluster.

This feature is available in Percona Server for MongoDB Pro out of the box. Become a Percona Customer to enjoy all Pro features with little to no effort from your side. Alternatively, you can receive it by building Percona Server from the source code.

Packaging changes

Percona Server for MongoDB 7.0.22-12 is no longer supported on Ubuntu 20.04 (Focal Fossa) as this operating system has reached end of life. If you’re not ready to upgrade to a newer Ubuntu OS but still want to update Percona Server for MongoDB, contact us! We’re here to make your databases run better.

Upstream Improvements

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

  • SERVER-93120 - Fixed the issue with blocking Full Time Diagnostic Data Capture (FTDC) collection when checking the state of the $backupCursor by using atomic mode instead of a lock
  • SERVER-92806 - Tracked nested paths through MatchExpression trees while encoding indexability for plan cache entries
  • SERVER-95672 - Fixed the issue with missing documents when indexes on array fields contain subarrays by ensuring proper bounds when having nested arrays as predicates
  • SERVER-97044 - Fixed an issue where change streams might incorrectly output a “drop” event during resharding or unsharding of a collection that is or was using zone sharding
  • WT-12012 - Fixed the issue when a generation drain process in WiredTiger, which manages eviction of older data, encounters an issue and then resolves itself when the verbosity levels for eviction and checkpoint operations increase. The issue is fixed by restoring original verbosity levels for these operations.
  • SERVER-106752 - Prevented unauthorized access to data by improving the handling of the $mergeCursors stage. The issue affects MongoDB versions prior to 7.0.20 and is fixed upstream and included in Percona Server for MongoDB. We recommend users to upgrade to the latest version as soon as possible.
  • SERVER-106753 - Fixed the issue with incorrect handling of incomplete data that may prevent mongos from accepting new connections. The issue affects deployments configured to use a load balancer like HAProxy and affects Percona Server for MongoDB Server v6.0 prior to 6.0.23, Percona Server for MongoDB Server v7.0 prior to 7.0.20 and Percona Server for MongoDB Server v8.0 prior to 8.0.9. We recommend users to upgrade to the latest version as soon as possible.
  • SERVER-95523 - Fixed a race condition where a concurrent upsert operation could incorrectly fail with a DuplicateKey error instead of retrying as an update. With this fix, the upsert operation now correctly retries and applies the update when another operation inserts the document in parallel.
  • SERVER-95524 - Avoided retrying on duplicate key error for upserts in multidocument transactions
  • SERVER-96197 - Fixed the issue with retrieving the wrong resolved namespace for a collection when there are multiple collections with the same name involved in a query
  • SERVER-98386 - Fixed the issue with the shard processing the request bypassing the shard version protocol when a router is not aware of the collection being converted to timeseries

Find the full list of changes in the release notes for:

Changelog

New Features

  • PSMDB-1284 - Add the ability to perform file copy-based initial sync

Improvements

  • PSMDB-1619 - Make log rotation behavior compatible with MongoDB by renaming existing log file to a name with a timestamp and start a new one
  • PSMDB-1633 - Implemented ‘encryptionAtRest’ field in ‘serverStatus()’
  • PSMDB-1634 - Improved the mongod.1 manpage by adding reference to official documentation

Fixed Bugs

  • PSMDB-1615 - Fixed the issue with corrupt/unusable debug files in RPM-based systems for Percona Server for MongoDB 6, 7 and 8

  • PSMDB-1679 - Fixed the issue with Percona Server for MongoDB not starting with custom configurations (Thank you Ilnar Gabidullin for reporting this issue)

  • PSMDB-1712 - Fixed the issue with the server сrash accessing LDAP by improving the start_poll function behavior

  • PSMDB-1730 - Fixed the issue with LDAP authentication via SASL by adding the package cyrus-sasl-plain in Docker images for Percona Server for MongoDB 6, 7 and 8