Skip to content

Percona Server for MongoDB 4.2.20-20 (2022-05-23)


May 23, 2022


Installing Percona Server for MongoDB

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

Release Highlights

Percona Server for MongoDB now supports the master key rotation for data encrypted using the Keys Management Interoperability Protocol (KMIP) protocol (tech preview feature). This improvement allows users to comply with regulatory standards for data security.

Other improvements and bug fixes introduced by MongoDB and included in Percona Server for MongoDB are the following:

  • SERVER-64983 - Abort the WiredTiger transaction after releasing Client lock to avoid deadlocks

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

  • SERVER-64642 - Return the shutdown error as the top level error when batch writing command fails due to mongos shutdown.

  • SERVER-59435 - Fixed the double free state for the DocumentSource::optimizeAt() pipeline by making sure all pointers are in place before disposing the pipeline prefix

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


  • PSMDB-1011: Add KMIP master key rotation

  • PSMDB-1043: The kmipClientCertificateFile option now includes both the client private key and public certificate

  • PSMDB-1044: Make the kmipPort option not mandatory and assign the default value

Bugs Fixed

  • PSMDB-979: Rotate audit logs in the mode as defined in the configuration.

  • PSMDB-1030: Fix descriptions and mutual dependencies of KMIP related options for mongod and perconadecrypt