Release Notes Charmed MongoDB 5 (Snap)

Release Notes

Charmed MongoDB 5.0 (2023-04-21) Snap

Release date April 21, 2023
Snap Installation Installing Charmed MongoDB Snap Package

These are the release notes of the Charmed MongoDB Snap package

Charmed MongoDB is an enhanced, source-available, and highly-scalable database that is a fully-compatible for MongoDB 5.0.13, MongoDB 5.0.13 Community Edition. It also contains Percona Server for MongoDB 5.0.13-11, Percona Backup for MongoDB 2.0.2 and Percona MongoDB Exporter 0.37.0

It supports protocols and drivers of both MongoDB 5.0.12 and 5.0.13.

Snap Highlights

Software Release Highlights

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

  • Data at rest encryption using the KMIP protocol is now generally available, enabling you to use this functionality in production environments.

  • Percona Server for MongoDB Docker container now includes the mongodb-tools utility set to align with the upstream container. This enables users to manage backup/restore operations of Percona Server for MongoDB.

  • Updated exit code and status message during the master key rotation improves the user experience while using data-at-rest encryption with KMIP.

  • Fixed security vulnerability CVE-2022-3602 for Percona Server for MongoDB version 5.0.9-8 and higher installed from tarballs on Ubuntu 22.04.

  • PSMDB-776: Align Docker container with upstream by adding missing mongodb-tools utilities (Thanks to Denys Holius for reporting this issue)

  • PSMDB-1116: Use proper exit code and logging severity for successful master key rotation

  • PSMDB-1172: Fixed CVE-2022-3602 by updating the libssl for Ubuntu 22.04 tarballs

  • PSMDB-1134: Prevent the server crash by ensuring the backup cursor is closed before the server shutdown

  • PSMDB-1130: Improve handling of the missing encryption key during KMIP key rotation

  • PSMDB-1129: Prevent Percona Server for MongoDB from starting if the configured encryption key doesn’t match the one used for data encryption

  • PSMDB-1082: Improve error handling for PSMDB when the wrong encryption key is used

Find the full list of changes in the Percona Server for MongoDB 5.0.13-11

The feature and bug fixes provided by Percona Backup for MongoDB and included in Charmed MongoDB, are the following:

  • This release fixes the usability issues for applications operating with Percona Backup for MongoDB by providing the error messages for the status output in the JSON format (PBM-988). It also includes the fix for the security vulnerability issue CVE-2022-32149.
  • PBM-988: Show error message for JSON output of the pbm status command

Find the full list of changes in the Percona Backup for MongoDB 2.0.2 and Percona MongoDB Exporter 0.37.0

The bug fixes, provided by MongoDB and included in Charmed MongoDB, are the following:

  • SERVER-68925 - Detect and resolve table logging inconsistencies for WiredTiger tables at startup

  • SERVER-60958 - Prevent the server from hanging in chunk migration when a step-down occurs.

  • SERVER-65382 - Fixed the issue with incorrect chunk size comparison during split by preventing the AutoSplitVector from using the clientReadable.

  • SERVER-63843 - Fixed the logger deadlock by adding a check against recursive logging

  • WT-9870 - Fixed the global time window state before performing the rollback to stable operation by updating the pinned timestamp as part of the transaction setup.

  • SERVER-69220 - Fixed the issue that could lead to data inconsistency by introducing the additional validation of field types for shard key patterns. Users should not modify the type (hashed or range) for the existing shard key fields

  • SERVER-67650 - Fixed the issue with failing resharding operation by introducing the start and end time metrics for resharding recipient

  • SERVER-68094 - Fixed the projection error during the resharding operation by using the $replaceRoot stage instead of the $project one

Find the full list of changes in the MongoDB 5.0.12 Community Edition and MongoDB 5.0.13 Community Edition release notes.