Percona Server for MongoDB 8.0.8-3 (2025-05-01)¶
Install Upgrade from MongoDB Community
Percona Server for MongoDB 8.0.8-3 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 8.0.8-3 includes the improvements and bug fixes of MongoDB 8.0.5 Community Edition, MongoDB 8.0.6 Community Edition, MongoDB 8.0.7 Community Edition and MongoDB 8.0.8 Community Edition.
It supports protocols and drivers of MongoDB Community 8.0.5 through 8.0.8.
Release Highlights¶
This release provides the following features and improvements:
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 8.0.8-3 is compatible only with Amazon Linux 2023.7.x and won’t work on Amazon Linux 2023.6.x and older.
To upgrade to 8.0.8-3, 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-51366 - Changed permissions to the binaries directory when MongoDB is installed using the Windows MSI (Microsoft Installer) package to match between ProgramFiles and custom location
- SERVER-93497 - Fixed the issue with using the outdated data by moving user cache invalidation to an
onCommit
handler, created inside of the OpObserver callback, when user’s roles get modified - 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
- SERVER-97860 - Fixed the issue with express path returning incorrect results when scanning a unique, multi-field index. The issue occurred when running a query where a predicate is not the
_id
field or a sharded collection has a compound unique index that includes the field used in the query and it doesn’t have a unique index. The recommendation is to update to version 8.0.6. Follow closely the upstream recommendations for workaround if you don’t wish to upgrade yet - SERVER-99290 - Reduced the strictness of the feature compatibility version check to allow a customer with inconsistent buckets collection to upgrade to FCV 8.0
- SERVER-99345 - Prevented sharding/moving a time-series buckets collection without the ‘timeseries’ options on FCV 8.0 and above
- SERVER-97911 - Fixed the performance regression when MongoDB travers an entire collection before reporting no results instead of doing it immediately when an
_id
is given as a hint for a query - SERVER-100901 - Reduced the strictness of an invariant check for the unique ID (uid) in the session identifier (lsid) to match between the operation’s context (opCtx) and the incoming command request by treating it as a code error, logging it and have the server continue operating
- SERVER-103328 - Fixed BSONColumnBuilder handling for rescaling after skip for double type
Find the full list of changes in the MongoDB 8.0.5 Community Edition, MongoDB 8.0.6 Community Edition, MongoDB 8.0.7 Community Edition and MongoDB 8.0.8 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
Fixed Bugs¶
-
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 - Improved handling of LDAP queries that contain the Distinguished Name (DN) value in the attributes part. Now the DN is treated the same way as an empty string to be more compatible with commonly used configurations
-
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