Docs Menu

Docs HomeMongoDB Manual

5.0 Changelog

On this page

  • 5.0.14 Changelog
  • 5.0.13 Changelog
  • 5.0.12 Changelog
  • 5.0.11 Changelog
  • 5.0.10 Changelog
  • 5.0.9 Changelog
  • 5.0.8 Changelog
  • 5.0.7 Changelog
  • 5.0.6 Changelog
  • 5.0.5 Changelog
  • 5.0.4 Changelog
  • 5.0.3 Changelog
  • 5.0.2 Changelog
  • 5.0.1 Changelog
  • SERVER-60143 Avoid clearing filtering metadata after failed metadata refresh

  • SERVER-68139 Resharding command fails if the projection sort is bigger than 100MB

  • SERVER-68361 LogTransactionOperationsForShardingHandler::commit misses transferring documents from prepared and non-prepared transactions changing a document's shard key value

  • SERVER-69134 Dropping a sharded collection doesn't get rid of the CSS entry

  • SERVER-69444 Make the joining of concurrent critical section and refresh look the same between DSS and CSS

  • SERVER-69700 Replication rollback fails resharding_coordinator_recovers_abort_decision.js

  • SERVER-69756 Segmentation fault on abortReshardCollection issued right after reshardCollection cmd

  • SERVER-70364 Retry configureFailPoint command on network error (resharding_coordinator_recovers_abort_decision.js)

  • SERVER-70373 Invariant failure in case resharding metrics are not restored

  • SERVER-70793 Make database metadata refresh first check new metadata under the IS lock before taking X lock

  • SERVER-71092 shard_id_test.cpp relies on a pure behavior of std::string::compare function

  • SERVER-71305 Legacy shard collection path waits on wrong opTime to be majority committed (5.0 and older)

  • SERVER-66289 $out incorrectly throws BSONObj size error on v5.0.8

  • SERVER-70381 _internalSearchIdLookup stage violates a 5.0 precondition of the getOwnershipFilter function

SERVER-67793 log_progress_msg in init.d does not print message

  • SERVER-54284 ExceptionFor<ErrorCodes::WriteConflict> should resolve to WriteConflictException

  • SERVER-57072 Explore upgrading wheel on all platforms.

  • SERVER-60016 serverStatus and collection stats should not block on the RSTL lock

  • SERVER-61185 Use prefix_search for unique index lookup

  • SERVER-63104 Make it easy to run jsCore locally again in a world with tests tagged by feature flag

  • SERVER-63585 Fastcount gets out of sync when a delete rollbacks and another transaction deletes the same rows

  • SERVER-66525 errexit prevents capturing pip install log

  • SERVER-66972 Database critical section does not serialize with ongoing refreshes

  • SERVER-67385 Range deletion tasks may be wrongly scheduled before ongoing queries on range finish on a shard primary

  • SERVER-67538 Multi-doc transactions should fail if on an old, incompatible snapshot

  • SERVER-67681 Create specific target for compile commands

  • SERVER-68115 Bug fix for "elemMatchRootLength > 0" invariant trigger

  • SERVER-68477 Improve NaN-handling for expireAfterSeconds TTL index parameter

  • SERVER-68901 Incorrect $elemMatch query analysis in mongocryptd if document contains 2 different fields with the same name

  • SERVER-69001 Initial sync should set the minValid document to the "stopTimestamp"

  • SERVER-69133 remove redundant setting of hardlink install action

  • SERVER-69281 Force minimum ninja version

  • SERVER-69348 Commands must declare empty auth checks to be universally callable

  • SERVER-69380 $_internalUnpackBucket stage can incorrectly swap with a $project if an inclusion projection has already been absorbed

  • SERVER-69389 Command checkAuthorization may throw ErrorCodes::NamespaceNotFound for existing collection while trying to resolve UUID to namespace when the node is shutting down.

  • SERVER-69446 Increase electionTimeoutMillis in jstests/replsets/dbcheck_write_concern.js

  • SERVER-69569 Python scripts failing in Evergreen tasks

  • SERVER-69784 Fix instances of signed char misuse

  • SERVER-69868 Return an error when starting a TransportLayer that is shutdown

  • SERVER-69898 Wait for the critical section catch-up phase before refreshing the DB version

  • SERVER-69912 SConstruct is executable by mistake

  • SERVER-69926 errorcodes.py doesn't detect duplicate errors in MONGO_UNREACHABLE_TASSERT

  • SERVER-69930 Unexpected error message in the logs attempting to refresh the version of a dropped database

  • SERVER-70062 Log pertinent info about oplog entries in oplog rolled over restore failure

  • SERVER-70160 Do not push down $match that needs whole document before $internalUnpackBucket

  • SERVER-70299 Remove JSON.send command usage

  • SERVER-70314 Adjust time series extended range tests to account for log retention limitations

  • SERVER-70348 Remove EAGAIN for queryable WT and retry internally

  • SERVER-70469 Use virtual env python in watchdog tests

  • SERVER-70483 Update Resmoke to pass "evergreen_execution" up to logkeeper.

  • SERVER-70484 Remove signal processing module from perf.yml and sys_perf.yml

  • SERVER-70557 Increase timeout for integration_tests_sharded on s90x

  • SERVER-70633 Make per shard cursors suite actually run tests in 5.0

  • SERVER-70879 Fix race where multiple threads are turning an index multikey concurrently

  • SERVER-71055 OplogOrder test can read stale all_durable timestamp after rolling back oplog entries

  • WT-8234 Prevent eviction of internal pages while reconciling leaf pages which could refer to their memory

  • WT-9323 Fix a race tracking whether a tree has updates after a checkpoint

  • WT-9599 Acquire the hot backup lock to call fallocate in the block manager

  • WT-9763 Return EBUSY if the time window of inserting record does not match with history store time window

  • SERVER-68094 Resharding with custom generated _id fails with projection error

  • SERVER-68139 Resharding command fails if the projection sort is bigger than 100MB

  • SERVER-68869 A retry of _configSvrReshardCollection can succeed causing resharding_coordinator_recovers_abort_decision.js to fail

  • SERVER-69142 A retry of _shardsvrReshardCollection can cause DuplicateKey error (resharding_nonblocking_coordinator_rebuild.js)

  • SERVER-69220 refineCollectionShardKey permits toggling current shard key fields between range-based and hashed, leading to data inconsistency

  • SERVER-69384 Fix v5.0 legacy shardCollection path for implicitCreateIndex parameter

  • SERVER-69700 Replication rollback fails resharding_coordinator_recovers_abort_decision.js

SERVER-50454 Avoiding sending the "keyValue" field to drivers on duplicate key error

  • SERVER-58673 Enable featureFlagPerShardCursor

  • SERVER-60551 Occasionally getting "Initialized wire specification" when connecting

  • SERVER-61185 Use prefix_search for unique index lookup

  • SERVER-62400 Add $_passthroughToShard parameter to AggregateCommandRequest

  • SERVER-62681 Create change streams per shard cursor passthrough suite

  • SERVER-62738 Give mongos the ability to passthrough to a specific shard

  • SERVER-63772 Post Batch Resume token not sent on initial batch from per shard cursor change stream

  • SERVER-63773 Per Shard cursor post batch resume token not set in getMore responses

  • SERVER-63774 Pass optional dbVersion to runPipelineOnSpecificShard

  • SERVER-63781 $sortKey not filtered out in initial batch from post batch resume token

  • SERVER-65006 Write conflict on commitIndexBuild oplog entry insertion can cause multikey to fail to be set

  • SERVER-66794 Add an in-memory flag for TS collections having dates outside years 1970-2038

  • SERVER-67402 Linearizable reads can occasionally read with wrong read source

  • SERVER-67538 Multi-doc transactions should fail if on an old, incompatible snapshot

  • SERVER-67650 Resharding recipient can return remainingOperationTimeEstimatedSecs=0 when the oplog applier hasn't caught up with the oplog fetcher

  • SERVER-67653 Resharding coordinator can incorrectly conclude that it can start the critical section although on one recipient the oplog applier hasn't caught up with the oplog fetcher

  • SERVER-67725 Check catalog consistency on shards as precondition for rename

  • SERVER-67916 Race during stepdown can trigger invariant in ReshardingMetrics

  • SERVER-68003 Make experiment_unified_ninja.vars the default

  • SERVER-68126 Check for negative maxChunkSize input value in AutoSplitVector

  • SERVER-68691 $graphLookup does not report variable references for 'restrictSearchWithMatch' filter

  • SERVER-69002 [5.0] backport pm-2419 Per Shard Cursors via mongos

  • SERVER-69108 SCCL can immediately return config and admin metadata without triggering a refresh

  • SERVER-69547 Add multiversion_incompatible tag to show_raw_update_description*.js

  • SERVER-69590 libunwind warnings on clang arm platforms

  • SERVER-69611 Set the -ffp-contract=off compiler option by default

  • SERVER-69693 Use lambda instead of repeating code in resharding coordinator

  • SERVER-69785 robustify change_streams_per_shard_cursor.js

  • WT-9870 Fix updating pinned timestamp whenever oldest timestamp is updated during recovery

  • SERVER-63732 Add new implicitlyCreateIndex and enforceUniquenessCheck to shardCollection command

  • SERVER-64142 Add new enforceUniqueness to refineCollectionShardKey command

  • SERVER-68728 Add addl. activation condition for interruptBeforeProcessingPrePostImageOriginatingOp fail point

  • SERVER-68869 A retry of _configSvrReshardCollection can succeed causing resharding_coordinator_recovers_abort_decision.js to fail

  • SERVER-69142 A retry of _shardsvrReshardCollection can cause DuplicateKey error (resharding_nonblocking_coordinator_rebuild.js)

SERVER-62636 setFeatureCompatibilityVersion 4.4 succeeds on 5.0 binVersion that has indexes with conflicting options

  • SERVER-58176 Mongos does not validate readConcern on insert/update/delete commands

  • SERVER-58966 timeseries_granularity.js and timeseries_timestamp_rounding.js collide on test namespaces in parallel suite

  • SERVER-59834 $group with allowDiskUse doesn't clean up _tmp files

  • SERVER-60958 Avoid server hang in chunk migration when step-down event occurs

  • SERVER-63843 Don't allow recursive doLog in synchronous signal handlers

  • SERVER-63852 getThreadName() should not crash

  • SERVER-64573 Make implicitlyCreateIndex and enforceUniquenessCheck fields optional

  • SERVER-64741 Create mongos appendOplogNote command

  • SERVER-65006 Write conflict on commitIndexBuild oplog entry insertion can cause multikey to fail to be set

  • SERVER-65382 AutoSplitVector should not use clientReadable to reorder shard key fields

  • SERVER-66794 Add an in-memory flag for TS collections having dates outside years 1970-2038

  • SERVER-67126 Remove LOGV2 call from printStackTrace no-LOGV2 codepath

  • SERVER-67280 Ensure HealthObserver::periodicCheckImpl() implementations handle exceptions and return an appropriate failing health check status when one occurs

  • SERVER-67725 Check catalog consistency on shards as precondition for rename

  • SERVER-67814 Track the number of time-series collections with dates outside 1970-2038 in serverStatus

  • SERVER-67939 run_dbcheck_background.js should be resilient to CappedPositionLost

  • SERVER-68039 Old pymongo version 3.10.1 on MongoDB v5.0 causes Invariant failure (message.operation() == dbMsg) after connection reset by peer

  • SERVER-68399 Fix parsing of safeint version numbers in blackduck_hub.py

  • SERVER-68482 [5.0] Add TSAN exclusion to getFlowControlStats

  • SERVER-68538 Typo in dependencies list in RPM config forces to fail installing mongodb enterprise in amazon linux 1

  • SERVER-68540 Add docker_incompatible tag for jscore tests

  • SERVER-68694 Investigate the locking around the compact command

  • SERVER-68737 remove multiversion test from debian11 5.0

  • SERVER-68766 Add option to re-enable single value MapReduce optimization

  • SERVER-68925 Reintroduce check table logging settings at startup (revert SERVER-43664)

  • SERVER-69052 Ensure bucket collection is valid when checking for extended range

  • SERVER-69141 [6.1] Move forward pinned TSBS version

  • SERVER-56185 Investigate possible improvements with session migration and a chunk migration's critical section

  • SERVER-61985 resharding_coordinator_recovers_abort_decision.js may report resharding operation as succeeding due to primary shard retrying _configsvrReshardCollection and running a second resharding operation

  • SERVER-64340 Warn if balancer is disabled while draining shard

  • SERVER-67492 Failed chunk migrations can lead recipient shard to have divergent config.transactions records between primary and secondaries

  • SERVER-68431 resharding_test_fixture doesn't configure failpoints for all nodes of config server

  • SERVER-68495 Resharding a collection with a very large number of zones configured may stall on config server primary indefinitely

  • SERVER-68628 Retrying a failed resharding operation after a primary failover can lead to server crash or lost writes

  • SERVER-68728 Add addl. activation condition for interruptBeforeProcessingPrePostImageOriginatingOp fail point

  • SERVER-43155 Queries which exceed maxTimeMS may return NetworkInterfaceExceededTimeLimit

  • SERVER-66072 $match sampling and $group aggregation strange behavior

  • SERVER-61894 Support the 'showRawUpdateDescription' option in change stream specs

  • SERVER-63159 Implement the $_internalApplyOplogUpdate aggregation stage

  • SERVER-60607 improve handling of large/NaN values for geo index version

  • SERVER-60958 Avoid server hang in chunk migration when step-down event occurs

  • SERVER-61321 Improve handling of large/NaN values for text index version

  • SERVER-62747 proxy_protocol_connect.js needs to use the loopback address for Docker containers

  • SERVER-65262 Expand usage of WT numerical timestamp API

  • SERVER-65884 $lookup from time-series can place $sequentialCache after correlated $match

  • SERVER-66023 Do not constantly reset election and liveness timers

  • SERVER-66310 Make ExpressionSetUnion::isCommutative() collation aware

  • SERVER-66548 $lookup sequential cache can incorrectly treat a $facet as non-correlated

  • SERVER-66651 Role "restore" not sufficient for mongorestore --preserveUUID

  • SERVER-66726 Fix serialization in killAllSessionsByPattern

  • SERVER-66841 LOGV2: invalid JSON when truncation happens at a backslash character

  • SERVER-66938 Drastically simplify command to generate ninja files

  • SERVER-67122 Add warning when building with --module=ninja that it is deprecated

  • SERVER-67296 Mark the OpCtx of the configsvr commands used to commit chunk-related DDL ops as interruptible

  • SERVER-67305 Lock-free reads setup should validate writes permitted before and after setting up snapshot.

  • SERVER-67523 Must clear _nextCall on reschedule failure in delayable_timeout_callback

  • SERVER-67532 Fail less in OplogServerStatusSection

  • SERVER-67683 Change some of the modes in fast and opt builds

  • SERVER-67845 Acquire critical section in rename "check preconditions" phase only if target not sharded

  • SERVER-67939 run_dbcheck_background.js should be resilient to CappedPositionLost

  • SERVER-68041 Robustify merge_write_concern.js and add diagnostic log

  • SERVER-68130 AutoSplitVector could generate response bigger than BSONObjMaxUserSize

  • SERVER-68158 serverstatus_indexbulkbuilder.js should run listIndexes on primary after creating indexes

  • SERVER-68184 Use Number instead of NumberLong when indexing in checkWritesOfCommittedTxns

  • SERVER-68193 Sharding DDL coordinator can lock itself out in distlock retry loop

  • SERVER-68487 add BSONElement method to check for NaN field values

  • SERVER-68511 movePrimary might introduce sharding metadata inconsistency in MongoDB 5.0+

  • SERVER-68522 Prevent 5.0 binary from starting in FCV 4.4 with misconfigured TTL index

  • SERVER-68540 Add docker_incompatible tag for jscore tests

  • SERVER-68574 Switch to the new logkeeper cluster

  • SERVER-68737 remove multiversion test from debian11 5.0

  • WT-8847 Add tombstone to WT_SAVE_UPD to truncate the update list upon page restore

  • WT-9004 Fix memory leak in update restore eviction

  • WT-9302 Deprecated object_target_size as a config in api_data.py

  • WT-9311 Ensure log messages clearly identify storage HW corruption

  • WT-9477 Don't allow checkpoint triggering internal page split which leads to corrupted internal page in the checkpoint

  • WT-9500 Fix RTS to use cell time window instead of key/value timestamps of HS update

  • SERVER-57519 Make ARS use causally consistent ShardRegistry::getShard() function

  • SERVER-62272 Adding schema validation to a collection can prevent chunk migrations of failing documents

  • SERVER-62432 Ensure safe access to ShardingDDLCoordinator instance state documents

  • SERVER-62656 Decouple mongos-to-config-server connection pool sizing from mongos-to-shard-server connection pool sizing

  • SERVER-63243 Range deleter must not clean up orphan ranges in a round-robin fashion

  • SERVER-64433 A new topology time could be gossiped without being majority committed

  • SERVER-65027 Resharding commands permit extra options without returning an error

  • SERVER-65821 Deadlock during setFCV when there are prepared transactions that have not persisted commit/abort decision

  • SERVER-65925 shardsvrCommitReshardCollection should check for transient errors when joining

  • SERVER-65930 DDL coordinators and rename participant initial checkpoint may incur in DuplicateKey error

  • SERVER-66046 Resharding coordinator won't automatically abort the resharding operation when a recipient shard errors during its applying phase

  • SERVER-66618 Ensure ReshardingCoordinator has aborted in resharding_coordinator_recovers_abort_decision.js

  • SERVER-66866 The range deleter waits between batches while holding the collection IX lock

  • SERVER-67457 Resharding operation aborted in the midst of contacting participants may stall on config server primary indefinitely

SERVER-61234 JS object-based types are not properly auto-serialized when directly returned by server-side JS functions

SERVER-66627 Backport the install-devcore target

  • SERVER-57938 Skip polygon validation for stored GeoJSON when query has $geoIntersect and a 2dsphere index

  • SERVER-58257 Add better diagnostics to predictive_connpool.js

  • SERVER-59658 Improve logging to reflect that sharding metadata refresh waiting on replication

  • SERVER-61856 Upgrade libunwind to 1.6.2+

  • SERVER-62386 Coverity analysis defect 121298: Parse warning

  • SERVER-62716 Handle spurious finishWaitingForOneOpTime in WaitForMajorityServiceTest

  • SERVER-63271 serverStatus can fail the server

  • SERVER-63493 update-shard-key tests failing due to transaction lock timeouts

  • SERVER-63971 Change server parameter to default to read-your-writes behavior after 2PC transaction

  • SERVER-64215 Interrupt OplogBufferMock::waitForData on shutdown

  • SERVER-64244 RunDBCheckInBackground should be resilient to interrupts

  • SERVER-64509 Fix ShardRegistry threadpool shutdown order

  • SERVER-64627 Need general method to handle in-memory state after initial sync

  • SERVER-64628 More testing of adding nodes to sharded sets

  • SERVER-64659 Report in serverStatus number of file descriptors used during index builds

  • SERVER-64725 Make ShardRegistry::periodicReloader interruptible

  • SERVER-64797 Use WT's new numerical timestamp API

  • SERVER-65100 Increase memory block size for BSONColumn

  • SERVER-65131 Disable opportunistic read targeting (except for hedged reads)

  • SERVER-65313 Use BatchedCollectionCatalogWriter during startup recovery

  • SERVER-65371 MigrationSourceManager running on secondary node may trip invariant

  • SERVER-65399 'commitIndexBuild' oplog entry is a no-op for unfinished index builds not restarted

  • SERVER-65723 Add tunable parameter to improve batching on secondaries

  • SERVER-65777 "revokePrivilegesFromRole" param.ns missing user object in audit log

  • SERVER-65797 Remove invalid index specs in memory before parsing for listIndexes

  • SERVER-66087 Call curl_global_init before threading enabled

  • SERVER-66111 Curl implementation of HTTPClient should respect default timeouts

  • SERVER-66319 dbcheck_no_history_on_secondary.js disables dbCheck failpoint too early

  • SERVER-66379 $or to $in conversion flawed

  • SERVER-66384 Enable command line customization of NINJA_BUILDDIR

  • SERVER-66418 Bad projection created during dependency analysis due to string order assumption

  • SERVER-66433 Backport deadline waiting for overlapping range deletion to finish to pre-v5.1 versions

  • SERVER-66461 Run notarization earlier in the build process

  • SERVER-66520 add index build UUID to BackgroundOperationInProgress error messages

  • SERVER-66556 Prevent potential race when releasing cursors during shutdown

  • SERVER-66559 Expand the internalQueryMaxAddToSetBytes param from 32 to 64 bits

  • SERVER-66658 Shard registry might be accessed before initialization

  • SERVER-66727 Time-series bucket can be created that violates max time-span

  • SERVER-66769 Update spawnhost setup script to support Windows hosts via cygwin

  • SERVER-66799 Fix getParameterWithDetails.js failure on ephemeralForTest

  • SERVER-66843 Use defensive programming in DeadlineFuture destructor

  • SERVER-66860 FSM tests should not reuse same database names

  • SERVER-66902 Multiversion setup is consistently failing on the mongodb-mongo-v5.0 Evergreen project

  • SERVER-66955 Remove JSON.send usage in perf projects

  • SERVER-67014 Say that "the client driver may require an upgrade" in warning message for deprecated op codes in 5.0

  • SERVER-67106 The _flushRoutingTableCacheUpdates() command should be able to also serve requests referencing collection views.

  • SERVER-67167 DIsable or_to_in.js from running in the parallel suite

  • SERVER-67220 [5.0] set_fcv_prepared_transaction.js is not resilient to StaleConfig errors

  • SERVER-67405 Handle empty string for is_patch evergreen expansion

  • SERVER-67513 Disable or_to_in for jsCore_compatibility for v5.0

  • WT-8425 Push updates with the same commit timestamps in the out_of_order_ts_updates vector in hs_rec.c.

  • WT-8669 Assert that the timestamps are not OOO in __hs_insert_record

  • WT-9249 Compare and fix the start durable timestamp if it is greater than ooo timestamp

  • WT-9251 Perform log flush before the metadata checkpoint

  • SERVER-62175 Mongos fails to attach RetryableWrite Error Label For Command Interrupted In _parseCommand

  • SERVER-62432 Ensure safe access to ShardingDDLCoordinator instance state documents

  • SERVER-64822 Sharding an empty collection releases the critical section too early

  • SERVER-66041 Chunk cloner must never consider too big a chunk with only one document

SERVER-63642 Add serverStatus metrics to measure multi-planning performance

  • SERVER-57546 Increase test-specific timeouts for roles lock acquisition

  • SERVER-58337 Log deprecation warning and bump serverStatus counter upon receipt of OP_QUERY command

  • SERVER-60758 Prevent dbVersion refreshes from failing transactions in txn_recover_decision_using_recovery_router.js

  • SERVER-61018 Create a generic histogram type

  • SERVER-61110 Fix locking in AuthorizationContract::contains

  • SERVER-61460 Resmoke should merge config_svr options with mongod_options rather than overriding them

  • SERVER-62941 Update FTDCServerStatusCommandCollector to include oplog metrics from serverStatus command

  • SERVER-62992 Remove need for resmoke.ini

  • SERVER-63254 Add Index usage metrics to serverStatus

  • SERVER-63796 Enable Feature flag for PM-2750

  • SERVER-63850 Add the count command to API version 1

  • SERVER-64664 ninja tool should not consider install files generated source

  • SERVER-64815 Prevent buildindexes_false_commit_quorum.js from running in multiversion tests

  • SERVER-65137 detect namespace changes when refreshing Collection after yielding

  • SERVER-65166 Use compareOptimes in abort_in_progress_transactions_on_step_up.js

  • SERVER-65184 Avoid concurrent election and stepdown in downgrade_default_write_concern_majority.js

  • SERVER-65271 serverStatus should allow fine-grained metrics exclusion

  • SERVER-65636 Remove limits on number of LDAP connections per host

  • SERVER-65861 Remove enterprise-rhel-83-s390x from mh_variants on 5.0

  • SERVER-65995 Reduce Evergreen cron frequency on older branches

  • SERVER-66089 Initial sync should do transaction table read with a later afterClusterTime

  • SERVER-66117 Disable qualify_shortname in mock libkrb5 configuration

  • WT-8250 Increase the maximum expected space available after compaction in test_wt7989_compact_checkpoint

  • WT-8450 Report stats in hs_cleanup_stress, don't validate them

  • WT-8481 Split cppsuite search near tests and update their logging levels

  • WT-8622 Read in last_ckpt_base_write_gen at start of recovery

  • WT-8860 Save the mongod logs as a test artifact in many-collection-test

  • WT-9019 Disable cyclomatic-complexity test on 5.0

  • WT-9029 Remove object_target_size option from WT_SESSION::create

  • WT-9044 Disable code coverage measurement on mongodb-5.0

  • WT-9054 Correctly configure split stress options in format.sh

  • WT-9096 Fix search near returning wrong key/value sometimes when key doesn't exist

  • SERVER-62690 Shard is shutting down before finishing draining in test

  • SERVER-65533 Operations with {readConcern:available} do not treat the collection as UNSHARDED

SERVER-65261 Deleting from a capped collection via collection scan reports number of documents deleted incorrectly

SERVER-44074 Platform Support: Add Enterprise RHEL 8 (zSeries)

  • SERVER-55173 Segmentation fault in WiredTigerSession::releaseCursor

  • SERVER-56003 ninja + icecream with changing compilers doesn't regen run-icecc.sh

  • SERVER-56731 Consider running server tests on newer SLES 12 service pack

  • SERVER-58506 Command to expose settability for Server Parameters

  • SERVER-60105 Inserts into timeseries collections are not observable from any opcounter

  • SERVER-60485 Tasks which run on the MigrationUtilExecutor must not wait for shutdown to complete

  • SERVER-61032 Convert all references to /opt/mongodbtoolchain/gdb to a versioned equivalent

  • SERVER-61663 Dynamically split concurrency_metrics and concurrency_replication_metrics into smaller tasks

  • SERVER-61879 Refreshes to recover migrations must never join ongoing refreshes

  • SERVER-62205 Include sanity check for max chunk size argument of [auto]splitVector

  • SERVER-62229 Fix invariant when applying index build entries while recoverFromOplogAsStandalone=true

  • SERVER-62299 Platform Support: Add support for Debian 11

  • SERVER-63010 Ensure that unpacking measurements doesn't overwrite pushedown addFields that are computed on meta data

  • SERVER-63387 StreamingCursor should return backup blocks in the order they were retrieved from the WiredTiger backup cursor

  • SERVER-63479 Correct $$SEARCH_META ban in sharded environments

  • SERVER-63531 commitQuorum incorrectly includes buildIndexes:false nodes and error message incorrectly says that only voting nodes are eligible

  • SERVER-63910 Generalize this error message related to the critical section

  • SERVER-64031 serverStatus should not take PBWM lock

  • SERVER-64184 Track usage of allowDiskUse:true in agg command

  • SERVER-64485 Use _id to determine the update type in extractUpdateType()

  • SERVER-64554 abortIndexBuild oplog entry has no effect when run with --recoverFromOplogAsStandalone

  • SERVER-64732 [v5.0] BSONColumn decompression of interleaved arrays

  • SERVER-64757 Improve error messages when scons fails to generate-ninja on Windows

  • SERVER-64983 Release Client lock before rolling back WT transaction in TransactionParticipant::_resetTransactionState

  • SERVER-65024 Multiple documents with the same _id value make reIndex invariant

  • SERVER-65032 Pin python package BaseResponse for ocsp suite

  • SERVER-65182 Fix split_horizon_hostname_startup.js to use an assert.soon when getting the replsetconfig

  • SERVER-65200 Package task not run as part of task group

  • SERVER-65211 Use expansion to get binaries from the current branch

  • SERVER-65284 Create collection coordinator should always perform cleanup on subsequent execution

  • SERVER-65430 Disable capped_deletes.js on ephemeralForTest

  • SERVER-65718 Fix mypy error

  • WT-7662 Format timed out with prepare-conflict

  • WT-8260 Create a Python suite test to validate new EVENT_HANDLER JSON format

  • WT-8708 Fix timestamp usage error in test/checkpoint

  • WT-8924 Don't check against on disk time window if there is an insert list when checking for conflicts in row-store

  • SERVER-60109 Ensure vector clock is recovered on step-up

  • SERVER-61249 refine_collection_shard_key_basic.js relies on a best-effort refresh that might not happen in case of failover

  • SERVER-61444 Resharding uses of bumpCollectionVersionAndChangeMetadataInTxn are not idempotent

  • SERVER-61755 Migration recovery should handle refined shard key

  • SERVER-62072 _configsvrReshardCollection may return without having waited for unsetting "reshardingFields" to replicate to majority

  • SERVER-62521 Distributed locks might not be released on definite error when using a DDL coordinator

  • SERVER-62761 [v5.0] receiveChunkWaitForRangeDeleterTimeoutMS is being passed on 4.4 binaries

  • SERVER-62906 Add a check in the createCollection/shardCollection path verifying the collection name length

  • SERVER-62907 Vector clock components must survive CSRS non-rolling restart

  • SERVER-63722 Rename collection participants get stuck upon errors different from stepdown/shutdown

  • SERVER-63742 Default topology time in shard can lead to infinite refresh in shard registry

  • SERVER-64517 RecoverableCriticalSection is not properly recovered on startup

  • SERVER-64580 Step downs while sharding a collection in mixed binaries shards might crash the old binary

SERVER-54374 Race between signalOplogWaiters and StorageEngine::loadCatalog

SERVER-40691 $nin:[[],...] queries are not indexed

SERVER-21070 Add option to gather collection stats

  • SERVER-51456 Database Profiler outputs incorrect value of property "keysDeleted" for a remove operation when a write conflict occurs

  • SERVER-53993 Attach client strand before releasing the opCtx in AsyncCommandExecution tests

  • SERVER-56300 Add append range functionality to BSON obj and array builders

  • SERVER-56558 Robustify validate_db_metadata_command.js test

  • SERVER-56931 instrument ASIO set_option failures better

  • SERVER-57662 Wait for config.system.sessions collection to exist on the config server before refreshing logical session cache

  • SERVER-58069 ASSERT_THAT matcher framework for unit tests

  • SERVER-58152 Create Feature flag for Remove Faulty Mongos From Cluster Topology

  • SERVER-58310 ThreadPoolTaskExecutor is memory unsafe when task cancellation occurs around the same time an exhaust network response is received

  • SERVER-58499 Add a new error code LoadBalancerSupportMismatch

  • SERVER-59220 Connectivity probes in ocsp_server_refresh.js should use fresh shells

  • SERVER-59223 Improve ecs scp robustness

  • SERVER-59290 Re-evaluate sync source after incrementing config version

  • SERVER-59356 Create dummy FaultManager singleton, FaultStatus enum and dummy unit test

  • SERVER-59357 Create dummy Fault class and dummy unit test for it

  • SERVER-59358 Create FaultFacet interface, mock implementation and unit test running mock that imitates a failure

  • SERVER-59360 Create HealthObserver interface, mock implementation and unit test invoking the periodic check with mocked failure

  • SERVER-59361 Implement periodic health check thread pool

  • SERVER-59362 Setup Fault Manager State Machine

  • SERVER-59364 Should move to the OK state after performing a successful round of health checks when in the StartupCheck state

  • SERVER-59365 Should not transition to OK state if initial health checks are not completed successfully

  • SERVER-59366 Progress monitor for periodic health check

  • SERVER-59367 Should create in-memory Fault instance when entering the TransientFault state

  • SERVER-59370 Should Transition to ActiveFault state when in the TransientFault state for kActiveFaultDuration

  • SERVER-59382 Enforce non-critical facets not entering ActiveFault state

  • SERVER-59390 Should provide the ability to perform periodic health checks against config server

  • SERVER-59397 implement randomization for health check periods

  • SERVER-59496 Fault class should be a container of active fault facets

  • SERVER-59522 HealthCheckStatus should track fault status and lifetime

  • SERVER-59567 Periodic check should invoke observers, simulate HealthObserver Mock failure

  • SERVER-59608 Coverity analysis defect 120502: Parse warning

  • SERVER-59912 Initial no-op scaffolding of the Ldap health checker

  • SERVER-60079 Common health observer code to incorporate generic patterns from Ldap observer

  • SERVER-60316 FaultManager should start with periodic checks disabled

  • SERVER-60412 Host memory limit check does not honor cgroups v2

  • SERVER-60587 Implement FaultFacet

  • SERVER-61016 Swallow connection reset-related errors received during ASIOSession creation on outbound connection.

  • SERVER-61095 Improve transport_layer_asio_test.cpp

  • SERVER-61104 Robustify find_and_modify_invalid_query_params.js

  • SERVER-61220 Integration test for Progress monitor

  • SERVER-61315 Ldap health check executor should support aborted tasks

  • SERVER-61368 FaultManager test suite should use real thread pool

  • SERVER-61438 Fix race in health_observer_test.cpp

  • SERVER-61490 transport_layer_test: asio connect race

  • SERVER-61592 Querying with ms precision does not return expected results (TS collection)

  • SERVER-61662 SCons configure checks should always run with verbosity

  • SERVER-61706 make sure that the new config has reached all nodes in cluster_x509_rotate

  • SERVER-61769 Attempting to run an aggregation with $out or $merge in a transaction on a sharded cluster leaves idle cursors open

  • SERVER-61871 use tassert for state machine programmer errors

  • SERVER-61872 Fix thread pool starvation in FaultManager

  • SERVER-61873 LDAP health observer runtime params

  • SERVER-61914 add fault facet details to FaultImpl::toBSON

  • SERVER-61921 Link failure in noSSL mode in FaultManager

  • SERVER-61956 fix data race when accessing the state machine's state

  • SERVER-61977 Concurrent rollback and stepUp can cause a node to fetch from a timestamp before lastApplied once it has stepped down.

  • SERVER-62017 Enable all feature flags by default in the sys-perf all feature flags variant

  • SERVER-62084 Serializer for FaultFacetType is broken

  • SERVER-62085 Use more bits for hashedMultikeyMetadataPaths in validation

  • SERVER-62096 /proc/<id>/smaps is not available

  • SERVER-62098 Guard healthCheckContexts with mutex in fault_manager.cpp

  • SERVER-62192 Handle feature flag disabled for implicit sharding accessed collection

  • SERVER-62242 $indexOfArray does not work with duplicate values in array

  • SERVER-62285 validate cachedir add push failure debug messages

  • SERVER-62368 Range deleter must honor rangeDeleterBatchDelayMS

  • SERVER-62379 Fix deadlock between ReplicationCoordinator and BackgroundSync on stepUp

  • SERVER-62466 _lastTransitionTime stat field in FaultManager is never changed

  • SERVER-62511 Race in dbcheck_no_history_on_secondary.js

  • SERVER-62513 RunDBCheckInBackground should retry on Interrupt errors

  • SERVER-62514 dbcheck_write_concern.js should prevent primary from stepping down

  • SERVER-62569 IDL Compatibility Checker script doesn't properly handle array types

  • SERVER-62651 Add enable all feature flags by default feature to Enable all feature flags by default to microbenchmark project.

  • SERVER-62668 Synchronize access to ImpersonatedUserMetadata in OperationContext.

  • SERVER-62680 validate cachedir make local tmp to ensure successful copy

  • SERVER-62682 PrimaryOnlyService Does Not Call _rebuildCV.notify_all() leading to calls to waitForConditionOrInterrupt not being triggered

  • SERVER-62712 validate cachedir isolate cache errors to only the cache debug log file

  • SERVER-62876 Stop testing tenant migrations with capped collections

  • SERVER-62948 Ensure FTDC collectors don't have a read timestamp

  • SERVER-63010 Ensure that unpacking measurements doesn't overwrite pushedown addFields that are computed on meta data

  • SERVER-63073 Fix ShardNotFound handling in shard_removal_triggers_catalog_cache_invalidation.js

  • SERVER-63079 Avoid using projection parser in $setWindowFields

  • SERVER-63097 stepdown_race_with_transaction.js should use the "uses_transactions" tag.

  • SERVER-63141 Difference in $lookup/$redact/$let behaviour with pipeline optimization

  • SERVER-63197 Pin microbenchmarks genny version

  • SERVER-63201 Relax restriction of deletion ops in applyOps command.

  • SERVER-63203 Chunk splitter never splits if more than 8192 split points are found

  • SERVER-63214 Ignore hash inconsistency between whole dbs when collection hash mismatch between image collections

  • SERVER-63234 Better logging to explain LDAP health check flakiness

  • SERVER-63239 Do not throw exception in AutoSplitVector on empty ranges

  • SERVER-63240 clearJumboFlag might persist a ChunkVersion with a wrong format

  • SERVER-63250 Fix implicitly sharding timeseries collections feature flag check

  • SERVER-63279 Pushing predicates on the time-series metaField past unpacking can cause incorrect results

  • SERVER-63288 Add debug log messages for queryable http calls

  • SERVER-63417 Oplog fetcher should not retry when a node is known to be down

  • SERVER-63428 Robustify oplog applying code for update operation

  • SERVER-63432 Transferring large file to repo

  • SERVER-63471 waitForPrimaryOnlyServices finish rebuilding before testing stepDown in no_disconnect_on_stepdown.js

  • SERVER-63497 Fix icecream debugging

  • SERVER-63505 Ensure arbiter recognizes primary node in rollback_views.js

  • SERVER-63512 Use optimized (no isSelf calls) reconfiguration on heartbeat reconfig

  • SERVER-63531 commitQuorum error message incorrectly says that only voting nodes are eligible

  • SERVER-63646 _raise_if_unsafe_exit uses wrong return_code

  • SERVER-63859 Disallow collMod with expireAfterSeconds on a view

  • SERVER-63876 [5.0] Secondary nodes crash when applying collMod with index.expireAfterSeconds option

  • SERVER-63968 Prohibit enumeration of builtin roles on $external database

  • SERVER-63974 Pin version of itsdangerous python dependency

  • SERVER-63986 Disallow 4.x running update_with_dollar_fields.js

  • SERVER-64182 Re-enabling health checks should check if another pending check was already scheduled

  • SERVER-64304 Using --recoverFromOplogAsStandalone can result in index builds crashing the server

  • SERVER-64369 Must not allow deletes from capped collections in FCV 4.4

  • SERVER-64403 Find queries with SORT_MERGE collation-encode the missing sort attribute

  • SERVER-64555 [5.0] Allow new unique index data formats to exist

  • WT-7922 Handle missing WiredTiger version file

  • WT-7954 Use longer flush_tier timeout in test_tiered04

  • WT-8074 Panic in reconciliation if inserting content into the history fails

  • WT-8149 Updating metadata salvage csuite test to handle salvaging table metadata without salvaging file metadata

  • WT-8198 Switch the bulk load cursor to a scratch buffer

  • WT-8320 Select updates restored from history store irrespective of visibility

  • WT-8362 Remove or rewrite HS entries of a key when OOO tombstone is written to datastore

  • WT-8417 Restructure assert testing in search near 01 cpp for concurrency

  • WT-8422 Clear the on-disk cell time window if it is obsolete

  • WT-8424 Use consistent toolchain in little-endian

  • WT-8477 Enforce the use of Pymongo 3.12.2 in our Evergreen tests

  • WT-8598 Avoid checkpoint cleanup always on shutdown

  • WT-8605 Disable the perf tests for non-develop branches in Evergreen

  • WT-8649 WT_SESSION methods cannot release scratch buffers unless reset or closing

  • WT-8743 Configure hs_cleanup configuration to stress the cache less

  • WT-8753 Add tombstone when rolling back in-memory, prepared, reconciled updates

  • WT-8799 Disable documentation update on mongodb-5.0

  • WT-8874 Disable compatibility tests on mongodb-5.0

  • WT-8879 Set the OOO flag when the selected tombstone is globally visible

  • WT-8894 Find the path to the mongod executable for many-collection-test

  • SERVER-45149 replSetStepDown command in txn_two_phase_commit_failover.js should not timeout

  • SERVER-56127 Retryable update may execute more than once if chunk is migrated and shard key pattern uses nested fields

  • SERVER-56227 Add user-facing command to set allowMigrations to false for a sharded collection

  • SERVER-58622 DDL coordinator handle write concern error incorrectly when removing coordinator document

  • SERVER-60624 txn_commit_optimizations_for_read_only_shards.js pauses replication on coordinator and can leave transaction stuck in prepare

  • SERVER-60682 TransactionCoordinator may block acquiring WiredTiger write ticket to persist its decision, prolonging transactions being in the prepared state

  • SERVER-60860 ReshardingCollectionCloner uses primary read preference when nearest was intended

  • SERVER-61003 ReadConcernMajorityNotAvailableYet errors from ShardRegistry must be retried

  • SERVER-61105 The sessions migration logic during moveChunk pollutes the logs

  • SERVER-61268 Fixing the release of a recoverable critical section on secondaries

  • SERVER-61416 Indefinitely retry errors in rename coordinator

  • SERVER-61459 ShardingCatalogManager::assignKeyRangeToZone() reads stale version of CollectionType while running locally on config server primary

  • SERVER-61461 update_shard_key_doc_moves_shards.js fails due to spurious refreshes from secondaries

  • SERVER-61628 Do not reschedule range deletion task when numDeleted < numDocsToRemovePerBatch

  • SERVER-61637 Review range deleter batching policy

  • SERVER-61689 ActiveMigrationsRegistry::lock method doesn't properly handle its exceptions

  • SERVER-61759 Unsetting the AllowMigrations flag should abort ongoing migrations

  • SERVER-61816 cancel_coordinate_txn_commit_with_tickets_exhausted.js can hang forever due to race condition between transaction reaper and transaction coordinator

  • SERVER-61945 Resharding collection cloning may fail with NamespaceNotSharded when "nearest" read preference chooses secondary

  • SERVER-61950 ReshardingOplogFetcher waits on network request completing without interruption, potentially preventing shard step-up from ever completing

  • SERVER-61976 [Resharding] Shards can error while refreshing their shard version following step-up, stalling the resharding operation

  • SERVER-62065 Upgrade path from 3.6 to 4.0 can leave chunk entries without history on the shards

  • SERVER-62171 Add logs to output of runConcurrentMoveChunk in sharding_statistics_server_status.js

  • SERVER-62178 Resharding can fail with NamespaceNotSharded if recipient primary fails over before creating temporary resharding collection

  • SERVER-62207 ReshardCollection with small maxTimeMS can crash the shard due to incorrect BSON object lifetime

  • SERVER-62245 MigrationRecovery must not assume that only one migration needs to be recovered

  • SERVER-62296 MoveChunk should recover any unfinished migration before starting a new one

SERVER-59721 Node may become unable to sync from other members after performing rollback to stable timestamp

  • SERVER-57588 Inconsistent query results when an array position is indexed whose value is an array

  • SERVER-59754 Incorrect logging of queryHash/planCacheKey for operations that share the same $lookup shape

  • SERVER-62147 Exhaust query using the OP_QUERY protocol is broken when more than one getMore batch is required

  • SERVER-30846 Run dbCheck as background workload in FSM tests

  • SERVER-55483 Add a new startup parameter that skips verifying the table log settings

  • SERVER-58409 Startup RecordId initialization is flawed with durable history and reconstructing prepared transactions

SERVER-28953 Capture df (disk full) statistics in FTDC

  • SERVER-49748 Initial sync should clone admin.system.version before any other collections

  • SERVER-54468 Enable Feature flag for Minimal support for sharding time-series collections

  • SERVER-56167 Guarantee hang analyzer collects core dumps for sharded clusters, at minimum

  • SERVER-57037 Improve precision of operator counters

  • SERVER-57092 Use real test name for JS runner resmoke suites

  • SERVER-57289 redact should not convert BSONArray into BSONObj

  • SERVER-57312 Pin transitive Python dependencies and use the pinned file for installation in Evergreen

  • SERVER-57772 Failpoints on mongos rewrite state change error codes in writeConcernError

  • SERVER-58035 Remove db.runCommandWithMetadata from mongo shell

  • SERVER-58135 ReplSetTest initiate failing in replica sets with chaining disabled

  • SERVER-59428 Use more robust regex matching in rollback resumable index build fixture

  • SERVER-59779 Call asCluster() before replSetFreeze in ReplSetTest

  • SERVER-59781 multi_statement_transaction.js does not retry transaction on StaleConfig

  • SERVER-60048 CheckReplDBHash should not fail for cases where we expect retryable findAndModify images to be inconsistent after a restart

  • SERVER-60217 [v5.0] enableReconfigRollbackCommittedWritesCheck should be applied on 4.4

  • SERVER-60310 OCSP response validation should not consider statuses of irrelevant certificates

  • SERVER-60334 Pause the WiredTigerSizeStorer during Rollback To Stable

  • SERVER-60392 Fix timing in priority_takeover_two_nodes_equal_priority test.

  • SERVER-60513 Run burn_in_tags compile on -large distro

  • SERVER-60517 Enforce eviction_dirty_target < eviction_dirty_trigger in the fuzzer

  • SERVER-60685