Important
MongoDB 8.2 is the latest minor release. Starting with MongoDB 8.2, minor releases are available for on-premises deployments (MongoDB Community and Enterprise) for specific use cases. For more information, see MongoDB Versioning.
To install the latest MongoDB version supported for on-premises use, see the installation instructions.
8.2.2 Changelog
Sharding
SERVER-106590 moveChunk and movePrimary lock contention during critical section
Query
SERVER-110916 Use-after-move in targetShardsAndAddMergeCursors()
SERVER-112127 Fix ambiguous hash value handling in FieldPath
Storage
WT-15608 Aggregated timestamp validation can fail with a 0 timestamped page deleted structure
WiredTiger
WT-14034 Fix resolving the prepared key multiple times because of reserved updates
WT-15088 Commit may be rolled back after we have logged the transaction
WT-15168 Understand empty "extractor" configuration strings
WT-15210 Change eviction to scrub eviction when the cache usage is less than eviction target
WT-15455 Don't skip prepared update pages during cursor walk
WT-15477 Track eviction max stats per database run
WT-15548 Disable checkpoint_cleanup config in test/format if all related options are off
WT-15563 Investigate making cache tolerant to change app step-wise eviction to incremental eviction
WT-15736 Split "maximum page size seen at eviction" to 3 seperate statistics
Build and Packaging
SERVER-111406 Change Stream breaks on document with top-level $v
Internals
SERVER-93265 Support Windows resource file generation (.rc files) in Bazel
SERVER-95570 BatchedDeleteStage can sometimes find the record it is deleting twice
SERVER-95726 Time-series meta-only delete and update should respect control.closed
SERVER-99623 High CPU usage in range deleter service
SERVER-103774 Disallow compound wildcard indexes from being used as a shard key index
SERVER-103807 Slow query timeWaitingMicros.storageExecutionMicros accumulates across sessions
SERVER-103855 Add serverStatus metrics about logging
SERVER-104007 Track delinquent interrupt checks
SERVER-105047 Query using $or and $ne on sharded collection can include orphan documents
SERVER-106162 [test-only] Reevaluate ignoring write concern errors in drop FSM state
SERVER-106854 Timeseries reopen verification function does not properly handle meta in different order
SERVER-106908 Enable ingress request rate limiting by default
SERVER-107161 Make ftdc async test resilient to collector timeouts
SERVER-107532 Ensure new Mongo shell connection creation returns informative error code
SERVER-107546 Dump global WT state if too many write conflicts are hit in a row for the same transaction
SERVER-107837 In SBE spilling replace tassert with uassert
SERVER-107873 Report number of Queryable Encryption collections using each index type in serverStatus
SERVER-107973 [8.2] Revert SERVER-107176: "Introduce placeholder configureBackgroundTask command"
SERVER-108002 replayWorkloadRecordingFile should not terminate mongo on failure
SERVER-108016 Update additional assertions in RateLimitIsValidAfterQueueing for slow machines
SERVER-108040 Update markFailed to check current step
SERVER-108052 DocumentSourceInternalSetWindowFields doesn't have sort key metadata in bounded sorts
SERVER-108318 Introduce new error label indicating a failure is unconditionally retryable
SERVER-108364 local.replset.minvalid writes are untimestamped but may fail if encountering a timestamped entry in the ident beforehand
SERVER-108366 Prepared Transactions with apiVersion
SERVER-108547 configure retry attempts for evergreen_activate_gen_tasks.py
SERVER-108581 Find query remaining time is calculated incorrectly in mongos
SERVER-108626 Coverity analysis defect 156320: Uninitialized scalar field
SERVER-108723 Coverity analysis defect 155003: Data race condition
SERVER-108916 Remove PGO/BOLT builds from 8.2
SERVER-108945 Handle $elemMatch with empty path under a contained $or correctly
SERVER-109003 Mark write_without_shard_key_with_moveChunk.js and timeseries_list_catalog.js with 'requires_getmore'
SERVER-109033 Coverity analysis defect 152012: Double lock
SERVER-109137 Calculation of expireAt in QueryAnalysisWriter can hit integer overflow
SERVER-109213 Increase logging when index bounds are deemed invalid
SERVER-109276 KVDropPendingIdentReaper::dropIdentsOlderThan should check for interrupt
SERVER-109299 Allow ExceededTimeLimit error for update operations in refine_collection_shard_key_nested_crud_ops.js
SERVER-109355 Reconcile pins only after reopening CollectionCatalog in RTS
SERVER-109490 Rank fusion tests share collections and search indexes, causing flaky tests
SERVER-109493 Disable "uncaught exception in noexcept" Coverity check
SERVER-109515 Disable oidc_e2e_azure_machine tests
SERVER-109541 Coverity analysis defect 149896: Data race condition
SERVER-109677 Destroy PinnedConnectionTaskExecutor before shutting down the underlying executor
SERVER-109836 Add BES evergreen variables in Server that are currently present in MMS
SERVER-109937 Change the default of skipAuthenticationToSearchIndexManagementServer to false for Community Server and Enterprise Server
SERVER-110083 Remove the change_stream_serverless_fuzzer tasks
SERVER-110118 Coverity analysis defect 176650: Using a moved object
SERVER-110184 Fix command_registration_startup_behavior_fcv.js now that command registry properly works on older versions
SERVER-110215 Add retry mechanism to test_api_version_compatibility task
SERVER-110254 Support swapping $match before "complex renames" when a flag says there are no arrays
SERVER-110291 Add serverStatus metric for spill engine sessions
SERVER-110345 config.rangeDeletions docs for uncompleted range deletion tasks could get deleted due to non-exact delete filter
SERVER-110423 $group can use a distinct scan on a sparse index, which hides null/missing results
SERVER-110425 Develop and add an Evergreen task to upload SBOM to Kondukto using SilkBomb for master, v7.0, v8.0, v8.1, v8.2
SERVER-110480 Add core_analyzer_distro_name to s390x/ppc variants
SERVER-110716 Authenticate before issuing getParameter in commands_lib.js
SERVER-110845 Use deleteMany instead of drop in index_key_expression.js
SERVER-110890 Coverity analysis defect 175049: Logically dead code
SERVER-110953 Check no orphaned document is present on a recipient shard before starting cloning a range
SERVER-111058 Fix throw_hook configuration locking
SERVER-111131 Create a metric to track delayed FTDC collections
SERVER-111135 Retry configureFailPoint in rollback_test.js
SERVER-111139 Prepend all calls to RateLimiter's token bucket with proper mutex acquisition
SERVER-111245 Coverity analysis defect 176940: Dereference of potentially null field
SERVER-111295 Python code is not getting formatted by Ruff
SERVER-111349 Rewrite RateLimitIsValidAfterQueueing unit test
SERVER-111427 Load SASL before locking code pages
SERVER-111460 Pin code pages for mongos
SERVER-111486 $group can still use a distinct scan on a sparse index if an alternative index is available
SERVER-111610 Add delays in ocsf_audit_remote_local_intermediate.js
SERVER-111794 Add ddlLockOptimisticRecoveryWaitTimeout parameter
SERVER-111914 Client-based rate limiting exemption
SERVER-112035 Downgrade proxy protocol disconnected to INFO
SERVER-112117 Make oplog sampling yield and lock-free
SERVER-112118 Track and log how long it takes oplog sampling to stop after its been interrupted
SERVER-112119 Fix check_async_oplog_samping_truncates_new_writes.js to hang during initial sampling, not after
SERVER-112120 Test that async oplog sampling doesn't block operations after startup
SERVER-112121 Test that async oplog sampling doesn't block rollback-to-stable
SERVER-112122 Test that async oplog sampling doesn't block FCBIS
SERVER-112123 Test that async oplog sampling doesn't block replica set initialization and reconfiguration
SERVER-112124 Test that async oplog sampling doesn't block shutdown
SERVER-112182 Create a testing server parameter to simulate oplog slowness
SERVER-112183 Start async oplog sampling towards the end of startup
SERVER-112229 backport gitignore for new auto_header tool
SERVER-112419 [v8.2] Prepare oplog sampling 8.2 branch for release
SERVER-112429 Make SBE hash lookup tests more efficient
SERVER-112467 Track and report the number of pending proxy connections
SERVER-112520 Failure to write to geo index when inserting a document to timeseries existing bucket
SERVER-112541 Show throughput in oplog sampling/scanning logs
SERVER-112810 Fix error code in ingress_request_rate_limiter_app_exemption.js
SERVER-112846 Change in repl set reconfigure test
8.2.1 Changelog
Storage
WiredTiger
Operations
WT-15156 failed: compile on macos-14-arm64 [wiredtiger-mongo-v8.2 @ 70797c57]
Build and Packaging
SERVER-109626 Adjust behavior for emitting additional fields in change streams
Internals
SERVER-94681 Move sampling to the oplog cap maintainer thread
SERVER-101672 Remove async sampling feature flag
SERVER-101673 Documentation Updates
SERVER-105424 Handle yield and restore in direct shard connection warnings
SERVER-106210 Create server parameter to disable the asynchronous behaviour
SERVER-106211 Add metrics/logging to increase visibility into the oplog sampling process
SERVER-106315 Functional correctness testing of async oplog sampling
SERVER-106469 Starting mongocryptd fails on latest build, windows.
SERVER-107074 Update man pages for 8.2 - SERVER
SERVER-107100 Handle initial marker creation asynchronously
SERVER-107721 timeseries_deletes_and_inserts.js should use majority read concern when the balancer is on
SERVER-107852 Server SBOM rebuild to master/v8.x/v7.0
SERVER-107924 Make RateLimitIsValidAfterQueueing test resilient to slow machines
SERVER-107929 timeseries_crud_operations_respect_control_closed.js may insert duplicate key to buckets collection
SERVER-108219 Increase size of the Amazon 2023 ARM compile
SERVER-108353 Fix timeseries_deletes_and_inserts.js to handle split migrations
SERVER-108544 Update Coverity build to use Coverity's new Bazel integration method
SERVER-108896 Split mixed_mode_sharded_transition to prevent timeouts
SERVER-109207 Fix bug in oplog cap maintainer thread run
SERVER-109323 Disable featureFlagReshardingSkipCloningAndApplyingIfApplicable
SERVER-109892 Update accepted error codes in rank_fusion_upgrade_downgrade.js
SERVER-109913 Add query knob to override FCV-gating for $rankFusion features
SERVER-109980 validate the resumeToken for $_startAt in aggregate
SERVER-110161 Correct $_startAt behavior to stop skipping documents
SERVER-110250 Use existing session when dropping spill WT ident
SERVER-110252 Add delays in audit_remote_local_intermediate.js
SERVER-110378 Increase maxTimeMS in flaky explain_shell_helpers.js test
SERVER-110649 Move maintainer thread to start/stop storage controls
SERVER-110793 [v8.2] Prepare SPM-4168 8.2 branch for release