Important
MongoDB 8.3 is the latest minor release. Starting with MongoDB 8.2, minor releases are available for on-premises deployments (Community and EA) 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.6 Changelog
Sharding
SERVER-110952 Creation of untracked legacy timeseries collection may release DDL lock mid-creation due to unknown shard version
SERVER-112250 Add test that omitting --shardsvr enables mongod to continue applying oplog entries with zero connectivity to config server replica set
Replication
SERVER-112969 Skip CheckReplDBHash index check for regular collection with accompanying buckets namespace
SERVER-115594 Skip acquiring tickets when deleting txn coordinator doc
Query
SERVER-86326 Increase max regex pattern length to 32k
SERVER-113319 $match pushdown past a renamed field is done incorrectly when the expression root is a renamed field path expression
SERVER-114329 Fix namespace check for findAndModify explain in timeseries_raw_data_with_collection_recreation.js
SERVER-118546 Can not create timeseries 2dsphere index with a non-system user
Catalog
SERVER-107819 Concurrent createIndex+collMod can leave behind inconsistent collection options
SERVER-118466 Prevent the TTL Monitor from spawning an unbounded amount of threads for sharding metadata recovery
Storage
SERVER-108699 Check BSON size in collection validation
WT-12535 Optimize time spent in __wt_update_obsolete_check()
WT-15803 Fix ref not unlocked in error cases
WiredTiger
WT-15039 Allow a higher number of eviction threads
WT-15222 Failed to remove the updates from the history store with mixed mode delete on the insert list
WT-15682 Increase the read timestamp lag to avoid conflict with prepare timestamp
WT-15739 Fix reconciliation leaking overflow pages
WT-15830 Add stats to track how many saved update list and total number of updates processed in __wti_rec_hs_insert_updates
WT-15838 Add logging if checkpoint is blocked by eviction for more than 1 minute
WT-16186 Bring back the removed merge_custom config parsing
Operations
SERVER-112636 Remove superfluous FTDC logging
Build and Packaging
WT-16353 MSVC source issue on Windows
Internals
SERVER-90889 Check timeseries collections throught the checkMetadataConsistency command
SERVER-100659 BSONColumn with full control of skips after double rescale does not reopen correctly
SERVER-102018 Audit invariants in Repl code base to add more information
SERVER-103955 Index build race with commitQuorum and abort
SERVER-104355 Expose spilldb WiredTiger stats in all the places where we currently expose WT stats.
SERVER-106239 Investigate transaction participant state mismatch when running sharded aggregate with merging pipeline executing on a shard
SERVER-106302 Provide visibility if aggregate FTDC object is too large
SERVER-106341 Fix race condition in ReshardingOplogFetcherTest
SERVER-106390 StaleConfig failures originating from applyOps command do not trigger sharding metadata recovery
SERVER-107966 A SingleServerPingMonitor within the RSM can get disabled and never reenabled
SERVER-108208 Fix deb10 in test_packages_release using wrong url
SERVER-108280 Prevent analyzeShardKeyNumRanges from being set to 1
SERVER-108354 Add StaleConfig as retryable error for timeseries_create_indexes.js
SERVER-108801 Invalid collMod command with timeseries granularity change creates collection options inconsistency
SERVER-109230 RecordId doesn't use the length of the underlying buffer when constructing std::string representations thereof
SERVER-110008 Ignore ddlLockOptimisticRecoveryWaitTimeout in multiversion server parameter tests
SERVER-110304 Update BES Branch Keyword to use Evergreen Branch Name
SERVER-110314 Make spilling test more resilient against background query activity
SERVER-110338 Accept a document when toggling an IFR flag with setParameter
SERVER-110442 Capture Information about index build durations
SERVER-110832 OplogWriter should not hold on to session through rollbacks
SERVER-110842 commitTimeseriesBucketForBatch and commitTimeseriesBucketsAtomically should set the collection catalog within the scope of acquireAndValidateBucketsCollection
SERVER-111007 Validation should distinguish between root causes when finding mixed schema data
SERVER-111191 Reduce impact of the database profiler
SERVER-111292 Re-enable checking index consistency for geo-spatial indexes
SERVER-111423 Allow usage of setParameterOnAllHosts in stepdown suites
SERVER-111573 Add configuration to collstats to return full wiredtiger data source metrics
SERVER-111603 Aggregation fuzzer tasks run out of memory while generating jstests
SERVER-111672 start time should be able to be set in data throttle test
SERVER-111876 The planner tasserts when processing negations of $_internalExpr comparisons to null
SERVER-112231 Fix race condition when stopping MockOCSPServer
SERVER-112267 RCString checks BSON size without using BSONObjectTooLarge
SERVER-112342 ServerStatus should have a parameter to exclude all fields
SERVER-112357 moveChunk with waitForDelete hangs when range deleter is disabled
SERVER-112491 Add <workdir>/bin higher on the PATH in prelude.sh
SERVER-112539 Abort time-series write batch on Stale Version errors
SERVER-112678 Avoid unnecessary shared lock acquisition on timeseries in checkMetadataConsistency
SERVER-112786 Enable internalVectorSearchStoredSource query knob
SERVER-112792 Report existance of compound wildcard indexes prefixed by the shard key
SERVER-112933 Escape CheckMetadataConsistency hook assertion from running in sharded clusters
SERVER-112955 Create alias for emergency releases
SERVER-112991 Update error message to remove incorrect assumption that compact gets EBUSY due to cache pressure
SERVER-113020 Relax majorityReplicationLagMillis check on donor only shards in resharding_commit_monitor_repl_lag.js
SERVER-113136 Make a copy of "forRestore" in sharded_backup_restore.js before starting up on the data files
SERVER-113153 Make query multiversion fuzzers on LTS versions deterministic
SERVER-113311 IngressRequestRateLimitExceeded errors should include NoWritesPerformed error label
SERVER-113348 Remove orphaned files and improve logging for selective_backup_restore_e2e.js and
SERVER-113361 Race condition on cluster time value in vector clock unit test
SERVER-113431 Pin copybara to a specific tag
SERVER-113484 Add test suite exclusion for timeseries_insert_respect_max_bson_size_too_big
SERVER-113508 Should wait for old primary to complete stepdown in auto_reconfig_remove_newly_added_and_stepdown.js
SERVER-113545 Wait for lastCommittedOpTime to be initialized after restart in api_version_prepare_txn.js
SERVER-113550 Fix ticket exhaustion issue in FLE2 aggregation and explain
SERVER-113659 Add error label from chunk migration aborting when existing document is found
SERVER-113700 Update copybara to v20251110
SERVER-113711 Rate Limit Log ID 4625501 (unable to establish remote cursors)
SERVER-113887 Add timeseries_create_indexes.js to backports_required_for_multiversion
SERVER-113897 Report existence of invalid compound wildcard index
SERVER-113915 [v8.2] Remove viewless timeseries suites from v8.2 branch
SERVER-113997 Fix legacy timeseries namespace translation in findAndModify explain command
SERVER-114017 move_primary_setFCV.js test creates database at latest FCV instead of downgraded FCV
SERVER-114196 $$NOW unavailable after $unionWith in aggregation pipeline
SERVER-114337 Index build lastCommittedMillis should be int64
SERVER-114363 Capture index build blocking replication metrics
SERVER-114384 $$NOW can be different in sub-pipelines
SERVER-114407 Delete antithesis tasks on 8.2
SERVER-114460 Add benchmarks_sep to release branches and release dashboards
SERVER-114755 Handle endianness in control block generation in binary_reopen_test
SERVER-114806 Wildcard indexes may consume all memory allowed for the index build
SERVER-114890 Improve IngressRequestRateLimiter error message
SERVER-114974 pipx-installed db-contrib-tool is still being used over the pyinstaller-installed one
SERVER-115087 Re-enable featureFlagSbeUpgradeBinaryTrees and featureFlagMultiPlanLimiter
SERVER-115132 Fix Queryable Encryption mirrored reads
SERVER-115245 core-analyzer: match program name from core dump across new lines
SERVER-115326 Don't reset logical session cache reaper metrics on beginning reap
SERVER-115398 Differentiate between steady-state replication and startup recovery for lastTimeBetweenCommitOplogAndCommitMillis
SERVER-115576 Resmoke should not rely on the mongo shell from an old version
SERVER-115584 Handle unexpectedly large /proc/mountinfo files
SERVER-115716 Fix concurrency issue in server_status_multiplanner.js
SERVER-115917 Set specific Visual Studio and MSVC install version
SERVER-115962 Balancer does not make progress when the most loaded shard is already balanced within its zones
SERVER-116078 Move AL2 Release Variant from compiling on AWS c-series to m-series
SERVER-116089 Add lock acquisition timeouts to migration's recipient critical section
SERVER-116294 SetClusterParameterCoordinatorDocument crash on upgrade due to new non-optional field missing
SERVER-116327 Validate usage of invalid index types at creation time
SERVER-116344 Revert featureFlagSbeUpgradeBinaryTrees and featureFlagMultiPlanLimiter from 8.2
SERVER-116528 Race Condition in Balancer Force-Jumbo Migrations Causes Duplicate Key Errors on Recipient Shard
SERVER-117009 setClusterParameter silently resets to default when misspelling non-strict cluster parameter fields
SERVER-117088 Increase pymongo timeouts on asan variants
SERVER-117190 Race condition in ShutdownBehavior test in dbclient_grpc_stream_test.cpp
SERVER-117252 Remove 6.0 multiversion testing from all higher branches
SERVER-117433 Add private third party dependency directory
SERVER-117467 Skip running too_many_fds.js on macOS
SERVER-117564 Starting mongocryptd fails on latest build, windows
SERVER-117623 Sharded multi-document transactions can observe partial effects of concurrent renameCollection operations
SERVER-117755 Backport updated gitignore
SERVER-117854 GranularityRounderPowersOfTwo should assert for inf numbers
SERVER-118428 mongocryptd rejects large messages
SERVER-118711 [v8.2.5] Can not create timeseries 2dsphere index with a non-system user
SERVER-119396 Adjust maximum buffer size for ingress network messages
SERVER-119689 Pin docker-systemctl-replacement to a specific commit
WT-15662 test_truncate29 verify return EBUSY
WT-15903 Unexpected standard output in test_ovfl01
8.2.5 Changelog
Internals
SERVER-118711 [v8.2.5] Can not create timeseries 2dsphere index with a non-system user
8.2.4 Changelog
Internals
SERVER-108256 Setting the shard role for secondary namespaces should use the proper dbVersion
SERVER-110803 $top and $bottom ignore sortBy clause when preceeding $sort stage makes it eligible for DISTINCT_SCAN optimization
SERVER-112952 tighten profile command auth check
SERVER-113685 Segfault for query on compound wildcard index
SERVER-113900 Add run-time check to plan enumerator code
SERVER-114126 Reduce memory usage and add new guardrails to the boolean simplifier
SERVER-114629 Upgrade db-contrib-tool to 2.1.0
SERVER-114695 Update default value for pending connections
SERVER-114838 Lock Manager is susceptible to an adversarial DDOS attack
SERVER-115296 Redact ResourceId raw values from error messages
SERVER-116129 Internal transactions should never specify empty read concern
SERVER-116206 Better exception handling for message compressors
SERVER-116210 Adjust the maximum buffer size for ingress requests
SERVER-116211 Cap memory allocated by network buffers
8.2.3 Changelog
Internals
SERVER-115508 Make minimally sized buffers for uncompressed Messages
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-106075 Prepared Transactions with apiVersion Fail to Resume After Primary Failover
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-108565: Improve handling of oversized writes to time series collections.
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