Percona Server for MongoDB 6.0.21-18 (2025-04-22)¶
Installation Upgrade from MongoDB Community
Percona Server for MongoDB 6.0.21-18 is an enhanced, source-available, and highly-scalable database that is a fully-compatible, drop-in replacement for MongoDB Community Edition.
It is based on MongoDB 6.0.21 Community Edition and supports the upstream protocols and drivers.
Release Highlights¶
Improved compatibility for data-at-rest encryption using KMIP between Percona Server for MongoDB with MongoDB Enterprise Advanced¶
We have added the security.kmip.useLegacyProtocol
configuration option to improve compatibility of Percona Server for MongoDB with MongoDB Enterprise Edition. This enables you to migrate from MongoDB Enterprise Advanced to Percona Server for MongoDB without having to modify the configuration file. Since Percona Server for MongoDB uses KMIP protocol version 1.0 by default, it ignores this option and prints the log message about it.
Audit log improvements¶
Enjoy a better user experience with these improvements to audit logging:
- You can output logging information either to a syslog, a file or to print in the console. Now Percona Server for MongoDB correctly parses the specified destination and creates a logging file only if you explicitly defined the
file
as its value. This helps keep the system clean from unnecessary files - By default, Percona Server for MongoDB saves the log file at the server’s configured log path or to a directory from where
mongod
was started if the server’s log path is undefined. You can also set a custom path to output a log file. For both cases, Percona Server for MongoDB checks if the audit log file can be opened for writing to ensure that logging information is written and available.
Debug symbols added in Percona Server for MongoDB Pro binaries¶
With this release, Percona Server for MongoDB Pro packages and binary tarballs include binaries that contain debug symbols. This changes makes Percona Server for MongoDB Pro compatible for runtime instrumentation to collect more detailed telemetry data and have improved monitoring.
By integrating Percona Server for MongoDB Pro with advanced monitoring tools that use debug symbols, you have a deeper visibility into the server and receive detailed diagnostic data and logs.
Compatibility with Amazon Linux 2023¶
We build and test Percona Server for MongoDB only on the latest versions of Amazon Linux 2023. Because of the way Amazon Linux updates their libraries, Percona Server for MongoDB 6.0.21-18 is compatible only with Amazon Linux 2023.7.x and won’t work on Amazon Linux 2023.6.x and older.
To upgrade to 6.0.21-18, make sure that you run Amazon Linux 2023.7.x. Use the update instructions
Upstream Improvements¶
The bug fixes, provided by MongoDB Community Edition and included in Percona Server for MongoDB, are the following:
- SERVER-94405 - Re-enable autosplitting on the sessions collection when downgrading to version 5.0.x and setting the Feature Compatibility Version (FCV) to 5.0
- SERVER-96252 - Fixed the issue with upgrading to a new FCV when there are range deletion tasks and no hashed shard key index by setting the number of orphan documents to zero
- SERVER-98720 - Added redaction of the BSON command for “Plan executor error” warning logs to prevent the entire command text (possibly including PII) to end up in the logs
- SERVER-100594 - Limited JSON recursion to 200 levels
- SERVER-101298 - Removed acquisition of database and collection locks when acquiring the global lock in compaction
- SERVER-97842 - Fixed the issue with MongoDB CPU usage spikes with a newer version of OpenSSL on RHEL 9
Find the full list of changes in the MongoDB 6.0.21 Community Edition release notes.
Changelog¶
New Features¶
- PSMDB-1282 - Add the
security.kmip.useLegacyProtocol
config file option to simplify migration from MongoDB Enterprise Edition to Percona Server for MongoDB
Improvements¶
-
PSMDB-1620 - Do not create an empty audit log file if the log destination is not
file
-
PSMDB-1621 - Check if an audit log file can be opened for writing at default path
Bugs Fixed¶
-
PSMDB-118 - Fixed the audit log file extension to be created based on the specified audit log format.
-
PSMDB-121 - Fixed the issue with the server failing to create an audit log file at the user provided path when the process is forked and the relative path is given by converting it to an absolute path
-
PSMDB-1227 - Allowed setting a Distinguished Name(DN) value in attributes part of the LDAP query
-
PSMDB-1392 - Ensured that
$backupCursor
returnsoplogEnd
without holes (Thank you MingTotti Guoming He for reporting this issue) -
PSMDB-1614 - Replaced a hard-coded port number with a placeholder in percona-server-enable-authentication.sh
-
PSMDB-1617 - Improved error messages when there are insufficient permissions to access client/CA certificates for KMIP authentication