4.2 Changelog
On this page
- 4.2.24 Changelog
- 4.2.23 Changelog
- 4.2.22 Changelog
- 4.2.21 Changelog
- 4.2.20 Changelog
- 4.2.19 Changelog
- 4.2.18 Changelog
- 4.2.17 Changelog
- 4.2.16 Changelog
- 4.2.15 Changelog
- 4.2.14 Changelog
- 4.2.13 Changelog
- 4.2.12 Changelog
- 4.2.11 Changelog
- 4.2.10 Changelog
- 4.2.9 Changelog
- 4.2.8 Changelog
- 4.2.7 Changelog
- 4.2.6 Changelog
- 4.2.5 Changelog
- 4.2.4 Changelog
- 4.2.3 Changelog
- 4.2.2 Changelog
- 4.2.1 Changelog
4.2.24 Changelog
Sharding
SERVER-68361 LogTransactionOperationsForShardingHandler::commit misses transferring documents from prepared and non-prepared transactions changing a document's shard key value
Aggregation
SERVER-49214 Add $toHashedIndexKey expression
Internals
SERVER-52545 Specify input/output to listIndexes command in IDL
SERVER-58047 $toHashedIndexKey expression doesn't add any dependencies
SERVER-58673 Enable featureFlagPerShardCursor
SERVER-61032 Convert all references to /opt/mongodbtoolchain/gdb to a versioned equivalent
SERVER-62201 Remove all outdated entries from backports_required_for_multiversion_tests.yml
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-68115 Bug fix for "elemMatchRootLength > 0" invariant trigger
SERVER-68126 Check for negative maxChunkSize input value in AutoSplitVector
SERVER-68470 Amazon Linux 4.2/4.4 RPMs fail to install due to missing shadow-utils
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-69004 [4.2] backport pm-2419 Per Shard Cursors via mongos
SERVER-69348 Commands must declare empty auth checks to be universally callable
SERVER-69569 Python scripts failing in Evergreen tasks
SERVER-69785 robustify change_streams_per_shard_cursor.js
SERVER-69944 Resmoke's globstar.py does not properly parse * before **
SERVER-70299 Remove JSON.send command usage
SERVER-70348 Remove EAGAIN for queryable WT and retry internally
SERVER-70427 Remove chef+kitchen package test infrastructure
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-70553 Add module support to the mongo test runner
SERVER-70633 Make per shard cursors suite actually run tests in 5.0
SERVER-70938 Remove --system-site-packages from virtual env setup
SERVER-71389 [v4.2] Add bsonUnorderedFieldsCompare
SERVER-71424 Fix failures in lint_fuzzer_sanity
SERVER-71471 Improve jstestfuzz deployment to work with new node run/install
SERVER-71533 Update legacy task generation to use new test stats location
SERVER-71534 lint_fuzzer_sanity_all regression caused by running multiple instances of npm
SERVER-71624 Remove lint_fuzzer_sanity_patch in favor of lint_fuzzer_sanity_all
SERVER-71759 dataSize command doesn't yield
SERVER-71772 Update ARM builds to target armv8.2-a on older branches
SERVER-71875 Stop run jstestfuzz on rhel62
SERVER-71950 Fail and log the operation when out-of-order keys are detected in WiredTiger
SERVER-72137 Handle case when test stats are not available
SERVER-72276 Remove all outdated entries from backports_required_for_multiversion_tests.yml
SERVER-72288 microbenchmark tests fail after "Enable M1 Mac support for DSI"
SERVER-72294 Upgrade all uses of sus12 to suse12-sp5
SERVER-72512 Indexes reported as valid when unable to return inconsistencies due to memory limit
SERVER-72535 Sharded clusters allow creating the 'admin', 'local', and 'config' databases with alternative casings
SERVER-73481 Validate does not detect out-of-order keys with {full: false}
SERVER-73636 Coverity analysis defect 135025: Inefficient vector resizing with reserve.
SERVER-73706 Save WTRecordStoreUassertOutOfOrder fail point state to prevent concurrency bugs in testing
SERVER-73986 [v4.2] Skip running validate_out_of_order.js on ephemeralForTest
WT-9477 Don't allow checkpoint triggering internal page split which leads to corrupted internal page in the checkpoint
WT-10461 Fix key out of order in skip list on weakly ordered architecture
WT-10584 Add missing read barriers in __cursor_skip_prev
4.2.23 Changelog
Sharding
SERVER-56127 Retryable update may execute more than once if chunk is migrated and shard key pattern uses nested fields
SERVER-63732 Add new implicitlyCreateIndex and enforceUniquenessCheck to shardCollection command
Internals
SERVER-61275 Destruct the size storer after the session cache has shutdown
SERVER-64573 Make implicitlyCreateIndex and enforceUniquenessCheck fields optional
SERVER-64659 Report in serverStatus number of file descriptors used during index builds
SERVER-64741 Create mongos appendOplogNote command
SERVER-66310 Make ExpressionSetUnion::isCommutative() collation aware
SERVER-66726 Fix serialization in killAllSessionsByPattern
SERVER-68158 serverstatus_indexbulkbuilder.js should run listIndexes on primary after creating indexes
SERVER-68359 Prevent TTLMonitor from processing index if expireAfterSeconds is NaN
SERVER-68487 add BSONElement method to check for NaN field values
SERVER-68574 Switch to the new logkeeper cluster
SERVER-68691 $graphLookup does not report variable references for 'restrictSearchWithMatch' filter
SERVER-68714 NaN issues in secure random number generator in mongo shell
SERVER-68925 Reintroduce check table logging settings at startup (revert SERVER-43664)
SERVER-69611 Set the -ffp-contract=off compiler option by default
4.2.22 Changelog
Sharding
SERVER-58747 The ShardServerCatalogCacheLoader doesn't interrupt ongoing operations on step up
SERVER-62272 Adding schema validation to a collection can prevent chunk migrations of failing documents
SERVER-62656 Decouple mongos-to-config-server connection pool sizing from mongos-to-shard-server connection pool sizing
Build and Packaging
SERVER-61894 Support the 'showRawUpdateDescription' option in change stream specs
SERVER-63159 Implement the $_internalApplyOplogUpdate aggregation stage
Internals
SERVER-55173 Segmentation fault in WiredTigerSession::releaseCursor
SERVER-59658 Improve logging to reflect that sharding metadata refresh waiting on replication
SERVER-60334 Avoid caching the cursor and session in WiredTigerSizeStorer
SERVER-60607 improve handling of large/NaN values for geo index version
SERVER-61321 Improve handling of large/NaN values for text index version
SERVER-64403 Find queries with SORT_MERGE collation-encode the missing sort attribute
SERVER-66418 Bad projection created during dependency analysis due to string order assumption
SERVER-66461 Run notarization earlier in the build process
SERVER-66556 Prevent potential race when releasing cursors during shutdown
SERVER-67993 fix 4.4 pylinters errors
SERVER-68130 AutoSplitVector could generate response bigger than BSONObjMaxUserSize
SERVER-68199 An active index build on the existing target collection of a renameCollection command can fail the mongod
4.2.21 Changelog
Build and Packaging
SERVER-64332 Notarize MongoDB builds for macos
SERVER-67139 Update rhel6 package test ami
Internals
SERVER-58506 Command to expose settability for Server Parameters
SERVER-61097 SizeStorer can cause deadlocks with cache eviction
SERVER-64184 Track usage of allowDiskUse:true in agg command
SERVER-65166 Use compareOptimes in abort_in_progress_transactions_on_step_up.js
SERVER-65244 Add RHEL 7 s390x to 4.2
SERVER-66176 [v4.4/v4.2] Minimize work under CollectionCatalog mutex
SERVER-66559 Expand the internalQueryMaxAddToSetBytes param from 32 to 64 bits
SERVER-66799 Fix getParameterWithDetails.js failure on ephemeralForTest
SERVER-66955 Remove JSON.send usage in perf projects
4.2.20 Changelog
Sharding
SERVER-64903 Make cancel_coordinate_txn_commit_with_tickets_exhausted.js robust to ShardServerCatalogCacheLoader performing deletes
Aggregation
SERVER-41714 $facet operator duplicates documents in the pipeline when preceded by $addFields and $match operators (in this exact order)
Internals
SERVER-53726 Platform Support: Remove RHEL6 zSeries
SERVER-57000 Fix handling of correlated pipeline with facet
SERVER-57676 Wait for a checkpoint before releasing the "hangOplogCapMaintainerThread" in oplog_rollover.js
SERVER-59435 Fix a double free inside DocumentSource::optimizeAt()
SERVER-60412 Host memory limit check does not honor cgroups v2
SERVER-62242 $indexOfArray does not work with duplicate values in array
SERVER-63141 Difference in $lookup/$redact/$let behaviour with pipeline optimization
SERVER-64642 Fix error where mongos returns CallbackCanceled and not InterruptedAtShutdown on shutdown
SERVER-64983 Release Client lock before rolling back WT transaction in TransactionParticipant::_resetTransactionState
SERVER-65421 Fix package test failures on RHEL 6/7
SERVER-65422 Fix package test failures on Ubuntu 16.04
4.2.19 Changelog
Sharding
SERVER-26755 Collection chunk loading is aborted entirely if fetching all the chunks takes more than 30 seconds
SERVER-45149 replSetStepDown command in txn_two_phase_commit_failover.js should not timeout
SERVER-53335 Queries, updates, and deletes with non-"simple" collations may miss documents when using hashed sharding
SERVER-59929 unexpected slower update/insert operation bease of splitchunk and moveChunk
SERVER-60682 TransactionCoordinator may block acquiring WiredTiger write ticket to persist its decision, prolonging transactions being in the prepared state
SERVER-61816 cancel_coordinate_txn_commit_with_tickets_exhausted.js can hang forever due to race condition between transaction reaper and transaction coordinator
SERVER-61924 retryable_mongos_write_errors.js fails in 4.2 multiversion suites due to missing failpoint command in 4.0
SERVER-62065 Upgrade path from 3.6 to 4.0 can leave chunk entries without history on the shards
SERVER-62739 cancel_coordinate_txn_commit_with_tickets_exhausted.js test should not be run with the ephemeral storage engine
SERVER-62906 Add a check in the createCollection/shardCollection path verifying the collection name length
Query
SERVER-23664 $mod match expression should raise an error when the remainder is not a number
SERVER-40691 $nin:[[],...] queries are not indexed
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
Aggregation
SERVER-44484 Changestream with updateLookup uasserts on updates from before collection was sharded
Storage
SERVER-55483 Add a new startup parameter that skips verifying the table log settings
Internals
SERVER-51087 Add testing utility for creating an empty sharded collection with the specified bounds
SERVER-53726 Platform Support: Remove RHEL6 zSeries
SERVER-57312 Pin transitive Python dependencies and use the pinned file for installation in Evergreen
SERVER-60392 Fix timing in priority_takeover_two_nodes_equal_priority test.
SERVER-60685 TransactionCoordinator may interrupt locally executing update with non-Interruption error category, leading to server crash
SERVER-61662 SCons configure checks should always run with verbosity
SERVER-61743 The -fno-builtin-memcmp flag shouldn't be applied except on x86_64 platforms
SERVER-62005 [4.2] Add requires_document_locking to unique_index_insert_during_collection_scan.js
SERVER-62164 Remove several obsoleted build variants across all stable branches
SERVER-62320 (v4.2) Fix use after std::move in find command
SERVER-62668 Synchronize access to ImpersonatedUserMetadata in OperationContext.
SERVER-62825 Robustify causally_consistent_index_builds.js
SERVER-63197 Pin microbenchmarks genny version
SERVER-63203 Chunk splitter never splits if more than 8192 split points are found
WT-7993 If gathering handles and not in aggressive eviction mode, have eviction sleep to let checkpoint grab a contentious spinlock.
4.2.18 Changelog
Sharding
SERVER-48504 Combination of StaleShardVersion and ShardNotFound exception make the ChunkManagerTargeter crash
SERVER-54064 Sessions on arbiters accumulate and cannot be cleared out
SERVER-54623 Decrease number of jobs in causal consistency passthrough suites
SERVER-56226 [v4.4] Introduce 'permitMigrations' field on config.collections entry to prevent chunk migrations from committing
SERVER-56227 Add user-facing command to set allowMigrations to false for a sharded collection
SERVER-58985 Re-enable retryable_mongos_write_errors.js in multiversion suite once SERVER-55648 is backported to v4.0
SERVER-59160 Disable balancer in test_stacked_migration_cleanup.js
SERVER-59916 T{1, 2}Starts{First, Second}AndWins In WriteConflictHelpers Does Not Synchronize Committing Of Failed Transaction
SERVER-60653 Backport the autoSplitVector logic to v4.2
Replication
SERVER-50241 PeriodicShardedIndexConsistencyChecker should skip dropped collections
SERVER-56096 Invariant failure in ReplicationRecoveryImpl::recoverFromOplog
SERVER-58988 Avoid sync source selection cycle during primary catchup.
Aggregation
SERVER-59613 $range expression should error if it exceeds memory limit
Storage
SERVER-45953 Exempt oplog readers from acquiring read tickets
Operations
SERVER-28953 Capture df (disk full) statistics in FTDC
SERVER-53242 Always log collmod command
Internals
SERVER-52976 [4.2] collection_validation.cpp isn't used anywhere in the 4.2 branch
SERVER-53726 Platform Support: Remove RHEL6 zSeries
SERVER-55589 replSetMaintenance command does not take the RSTL
SERVER-56326 Add a round() method to the Decimal128 class
SERVER-56602 Track usage of match expressions in serverStatus
SERVER-57557 [v4.4] Support running checkFCV() shell helper with mongos connection
SERVER-57605 Expose Decimal128 equality comparison helper to shell
SERVER-58104 config.system.sessions collection can end up with invalid chunks if it is dropped and re-sharded with a shard key other than _id
SERVER-58119 single_node_set_new_hostname.js needs to call replSetReconfig with an assert.soonNoExcept
SERVER-58183 _applyPrepareTransaction does not ensure prepareConflictBehavior is kIgnoreConflictAcceptWrites on retry attempts
SERVER-58192 Use more unique_ptrs in QueryPlannerAnalysis::analyzeSort()
SERVER-58780 [v4.4] Ensure that _shouldSetStableTimestamp gets restored to true if replSetInitiate fails
SERVER-59108 Resolve race with transaction operation not killed after step down
SERVER-59120 Create unit tests for commitChunksMerge
SERVER-59191 SPIKE: git.get_project fails to clone
SERVER-59226 Deadlock when stepping down with a profile session marked as uninterruptible
SERVER-59294 Check action type for oidReset
SERVER-59459 mongodb fails to build with glibc-2.34
SERVER-59725 Remove push task from extra RHEL 6.2 variants
SERVER-59804 Using a separate branch for YCSB in system_perf.yml
SERVER-59879 Adjust maxTimeMS value to allow for slower execution in the parallel test suite
SERVER-60080 [v4.2] Disable tests incompatible with ephemeralForTest
SERVER-60085 Cap number of fallback test suites at number of tests in suite
SERVER-60149 Add RRFaM build variant to mongocryptd list on v4.2 branch
SERVER-60290 Update Windows external auth test distro
SERVER-60299 Backport PCRE bugfix for Bugzilla #2613
SERVER-60456 LDAPBindOptions go out of scope during heavily delayed binds on Windows
SERVER-60496 Resmoke Misinterprets Quotes In Evergreen.yml
SERVER-60582 [v4.4] initiate_emrc_false.js needs to wait for the initial checkpoint
SERVER-60588 $multiply incorrectly throws an error in some cases in the classic engine
SERVER-60670 use a separate branch instead of a specific commit for TPCC
SERVER-60671 Remove dagger
SERVER-60897 [4.2] mongod may loop forever when attempting to upsert invalid BSON
SERVER-60898 [v4.2] Exclude stepdown_race_with_transaction.js from running on ephemeralForTest
SERVER-60961 Add exclude tags to old branches not generating multiversion_exclude_tags.yml
SERVER-60971 Remove calls to BF suggestion service
SERVER-61164 Accept error code 48 (Inappropriate authentication) as a valid response for LDAP liveness check
SERVER-61427 Unique index builds can cause a loss of availability during commit due to checking many false duplicates
SERVER-61544 [4.2] Fix exclusion tag for stepdown_race_with_transaction.js
SERVER-61550 Modify auto_workload_path in perf.yml to be relative to cwd
SERVER-61791 pin pymongo
WT-7566 Resolve write after free for dead dhandle
WT-7858 Fix malloc writing out of bounds for overflow keys
WT-7984 Fix a bug that could cause a checkpoint to omit a page of data
4.2.17 Changelog
Storage
SERVER-49521 fix tests in core/txn to use write concern "majority" for createIndexes commands run before starting transactions
Internals
SERVER-48090 Support python 3.6 for evergreen.py and shrub.py
SERVER-50549 Transform connection-related error codes in proxied commands
SERVER-53726 Platform Support: Remove RHEL6 zSeries
SERVER-59456 Start the LDAPReaper threadpool
SERVER-59876 Large delays in returning from libcrypto.so while establishing egress connections
4.2.16 Changelog
Security
SERVER-57727 Race conditions in x509_invalid.js
Sharding
SERVER-55648 Mongos doesn't return top-level batch-write error in case of shutdown
SERVER-58909 Missing versions for "admin" and "config" databases migrating to version 4.2
Replication
SERVER-34938 Secondary slowdown or hang due to content pinned in cache by single oplog batch
SERVER-36263 Bypassing operation validation in applyOps should require special privilege
SERVER-37904 Allow a node to override the cluster chaining (enabled/disabled) setting
SERVER-39621 Disabled chaining should enforce sync source change when the primary steps down even if the oplog fetcher isn't killed on sync source
SERVER-41875 Should ban "emptyCapped" commands on jstestfuzz_concurrent_replication_continuous__stepdown suite for WiredTiger Storage.
SERVER-50486 invokeWithSessionCheckedOut being called on prepared transactions on secondaries
SERVER-55465 Fix Invariant upon failed request for a vote from the current primary in the election dry-run of catchup takeover
SERVER-58258 Wait for initial sync to clear state before asserting 'replSetGetStatus' reply has no 'initialSync' field
Query
SERVER-55319 [4.2] Invariant failure isVersionInitialized() src/mongo/db/server_options.h 217 after index build completes
SERVER-58127 Fix benchRun() memory leak for parsing benchRun() args under exception
Build and Packaging
SERVER-54729 MongoDB Enterprise Debian/Ubuntu packages should depend on libsasl2-modules and libsasl2-modules-gssapi-mit
Internals
SERVER-49237 Add a way for OperationContexts to opt-in to always getting interrupted at stepdown
SERVER-50547 Explore aggregation pipeline length limit
SERVER-52728 Upgrade path from MongoDB 2.4 to 4.2 causes config servers to go down
SERVER-53431 Server should respond running operations with appropriate topologyVersion on stepdown
SERVER-53726 Platform Support: Remove RHEL6 zSeries
SERVER-55649 Sharding messages being logged for non-sharded clusters
SERVER-56489 New pass-through test with random hello server-side delays
SERVER-56516 Fix undefined behaviour in parsing code for $slice projectional operator
SERVER-56839 Index seeks concurrent with recently-committed prepared transactions can return wrong results
SERVER-57033 The AuthorizationManager Cache in 4.2 should use roles as cache key
SERVER-57064 Log create index and dropIndex(es) on mongos
SERVER-57360 Log additional debug info for the "invariant (_requests.empty());" in ~LockerImpl
SERVER-57642 Invariant Failure on src/mongo/db/query/plan_yield_policy.cpp 75 | Aborting
SERVER-57650 Make MigrationChunkClonerSource interruptible when waiting response to recipient commands
SERVER-57798 Direct user to MongoDB Compass download page when failing to install MongoDB Compass due to a connection issue using ./install_compass
SERVER-57983 Integer overflow for $range in Classic Engine
SERVER-58169 Log timestamps info on hitting invariants around stable timestamp calculation
SERVER-58187 Improve Connection Reaper and MongoLDAP performance
SERVER-58191 [Migrate Protocol] Allow delete_during_migrate.js to tolerate chunk migration failures due to timeout in catchup phase in slow variants.
SERVER-58283 Add a new versioning file to set MONGO_VERSION and MONGO_GIT_HASH
SERVER-58313 Fix package test failure caused by SERVER-55460 backport to v4.2 and v4.0
SERVER-58402 Increase timeout of shutdown command in shutdown_primary.js
SERVER-58623 Shorten the mongos RSM refresh interval in delayed Hello tests
SERVER-58826 [4.2] Disallow compact_keeps_indexes.js and explain_shell_helpers .js to run concurrently on parallel suite
SERVER-59074 Do not acquire storage tickets just to set/wait on oplog visibility
SERVER-59135 Make mongocryptd targets in MSIs depend on libsasl2
SERVER-59197 Delete fam image entries when the corresponding session documents are deleted
SERVER-59242 update to snmp 5.9.1
SERVER-59262 Remove burn_in_tests tasks from storeFindAndModifyImagesInSideCollection build variants
SERVER-59388 Revert BACKPORT-10185
SERVER-59414 Retry curator setup in powercycle on older branches
WT-6568 Fix split generation use
WT-6926 Update WiredTiger source code to include 2021 copyright notices
WT-7065 Add check for WT_DHANDLE_DEAD to assertion
WT-7135 Additional checks to detect when writing corrupted metadata
WT-7437 Upgrade documentation to doxygen 1.8.17
WT-7675 Query last ckpt timestamp changes without taking checkpoint
WT-7721 Update test-format to reopen an existing database with different config
WT-7776 Add a hard limit on the number of modify updates before we instantiate a complete update
WT-7871 Remove comment that is no longer true
4.2.15 Changelog
Security
SERVER-56240 Turn on checkpointing for the keystore Data Store
Sharding
SERVER-46811 multi=true updates can modify the shard key of orphan documents and cause them to become owned
SERVER-47534 Unblacklist mongos_dataSize.js from sharding_last_stable_mongos_and_mixed_shards suite
SERVER-47699 Change yield type used by range deleter from YIELD_MANUAL to YIELD_AUTO
SERVER-48648 Return updated ShardVersion in _configsvrCommitChunkMerge to avoid blind metadata refresh
SERVER-48653 Return updated ShardVersion in _configsvrCommitChunkSplit to avoid blind metadata refresh
SERVER-51170 Ensure database refreshes are performed after ShardingState initialization
SERVER-53029 Port the changes for SERVER-52955 to later branches
SERVER-56515 Chunk merge doesn't consider the incrementChunkMajorVersionOnChunkSplits parameter
SERVER-56654 Do not use the collection distributed lock for chunk splits
SERVER-56779 Do not use the collection distributed lock for chunk merges
SERVER-56786 There are three routing info refreshes and two chunk scans on the mergeChunks path
SERVER-57009 Additional debugging information in case of crash during fCV change
SERVER-57055 delete_during_migrate.js is consistently failing in test suites with Code Coverage enabled
SERVER-57102 Fixing invariants on ShardServerCatalogCacheLoader to consider different terms
SERVER-58109 The new '_configsvrMergeChunks' path is more expensive than the old one
Replication
SERVER-44316 Log message in InitialSyncer for setting begin applying timestamp is incorrect
SERVER-45919 replSetReconfig should be allowed to fail with InterruptedDueToReplStateChange when racing with an election
SERVER-53447 Blacklist insert1.js with from transaction passthrough tests with failures
SERVER-55465 Fix Invariant upon failed request for a vote from the current primary in the election dry-run of catchup takeover
SERVER-55766 Introduce an optimized "for restore" startup replication recovery mechanism
SERVER-56054 Change minThreads value for replication writer thread pool to 0
SERVER-56415 AwaitNodesAgreeOnPrimary doesn't work when given non-default set of nodes
SERVER-56937 upgradeSet() in multi_rs.js may lose authentication state while upgrading primary
Write Operations
SERVER-38909 Permit empty update modifiers, treating as a no-op rather than an error
Storage
SERVER-51699 index_build_restart_secondary.js (indexbg_restart_secondary.js) should handle exceptions when checking indexes after restarting node
Operations
SERVER-48567 Warnings while processing snmpwalk
Build and Packaging
SERVER-50568 Platform Support: Remove Ubuntu18.04 zSeries from 5.0
SERVER-55460 Fix RPM packaging and testing for SLES 12
Internals
SERVER-37125 Powercycle should ignore a process reference if it no longer exists
SERVER-43617 Add metrics on the mongos to indicate the number of shards targeted for the commands (find, aggregate, etc)
SERVER-45153 Ignore metrics temp files in FTDCFileManager
SERVER-47509 resmoke accepts multiple "mongodSetParameters" options but only uses the last one
SERVER-47720 Clarify "RecordId(...) not found in the index for key" log message
SERVER-48636 Increase assertEventDoesNotWakeCursor getMore timeout in only_wake_getmore_for_relevant_changes.js
SERVER-48890 allow $addFields with empty document and have it be a no-op
SERVER-49336 Set client metadata if it is missing during failCommand
SERVER-50955 oplog_rollover.js pauses the OplogCapMaintainerThread until truncation is needed
SERVER-53334 Hitting unexpected invariant failure, causing server shutdown
SERVER-53643 Startup can see old version of featureCompatibilityVersion document
SERVER-53726 Platform Support: Remove RHEL6 zSeries
SERVER-53728 Platform Support: Remove SLES12 zSeries
SERVER-53841 Additional logging for oplog_rollover.js
SERVER-54489 Full validation can append errors without bound
SERVER-54897 Adding the shard-single config to etc/system_perf.yml
SERVER-55019 install_compass does not run on all supported platforms
SERVER-55119 Create startup warning indicating that X.509 certificates without SANs are deprecated
SERVER-55316 Disconnect LDAP connections out of line
SERVER-55742 Define kmipClientCertificateSelector config on windows/macOS
SERVER-56062 Restart index builds after CappedPositionLost errors
SERVER-56164 All performance projects use the master DSI branch
SERVER-56273 Update curator hash in powercycle remote host setup
SERVER-56307 The chunk migration "convergence algorithm" is very primitive
SERVER-56310 Use w: majority for createCollection command in kill_sessions_with_prepared_transaction.js
SERVER-56325 Wait for failpoint in server_transaction_metrics.js to be hit so that a valid serverStatus is received
SERVER-56347 Enable LSE intrinsics in release
SERVER-56372 Add retryableFindAndModifyStorageLocation server parameter
SERVER-56373 [RRFaM] When writing FaM images to txn table, write oplog entries with needsRetryImage
SERVER-56374 [RRFaM] Have update path write to config.image_collection
SERVER-56375 [RRFaM] Have delete path write to config.transactions
SERVER-56376 [RRFaM] Add jstest that exercises both retryable FaM behaviors
SERVER-56377 [RRFaM] Add FSM test to perform retryable FaM while flipping server parameter
SERVER-56452 Self anchor in PooledLDAPConnection::setup's callback
SERVER-56468 Incorrect plan cache entry for {$ne: null} predicate, leads to missing query results
SERVER-56501 Add op counters for legacy op codes (OP_QUERY, OP_INSERT, etc.)
SERVER-56563 [RRFaM] Forge noop image oplog entries for chunk migration
SERVER-56630 Unittest OpObserverImpl::onDelete/onUpdate paths for retryable findAndModify
SERVER-56713 [RRFaM] Avoid creating images while in initial sync
SERVER-56715 Using incorrect var name for logkeeper dataset on 4.2
SERVER-56819 $indexOfCP returns incorrect result when searching for empty string inside empty string with non-zero start index (classic execution engine only)
SERVER-56952 [4.4] Add new build variant with storeFindAndModifyImagesInSideCollection=true
SERVER-57015 [RRFaM] Writing to the image collection must be in an UnreplicatedWriteBlock
SERVER-57036 Pin MarkupSafe == 1.1.0
SERVER-57043 Test for Branching
SERVER-57053 Rewriting $nor with a $text predicate to $not is invalid
SERVER-57057 Reduce routing info refreshes on the mergeChunks path
SERVER-57091 Infinite loop in GranularityRounderPreferredNumbers::roundDown
SERVER-57145 Invariant failure at OCSPManager::requestStatus
SERVER-57157 assert serverStatus command works in getBinVersion() jstest helper
SERVER-57172 Do json.send before DSI post_run
SERVER-57173 Write invalidated image for retryable findAndModify when secondaries apply operations earlier than minValid
SERVER-57233 Reap LDAP connections inline if multithreading is not enabled
SERVER-57273 remove the flow_control_replica_set.js test
SERVER-57275 Update kmip_server.py to be more verbose
SERVER-57299 Need to wait for failed exit code in startup_recovery_for_restore_needs_rollback.js
SERVER-57328 Make ReplsetTest.upgradeSet() tolerant of reelections
SERVER-57330 Update perf yaml configs for perf and sys-perf to use perf.send
SERVER-57476 Operation may block on prepare conflict while holding oplog slot, stalling replication indefinitely
SERVER-57490 [v4.2] Add storeFindAndModify build variant name to mongodcryptd list in etc/evergreen.yml
SERVER-57497 store_retryable_find_and_modify_images_in_side_collection.js should account for a later clustertime in retried findAndModify responses
SERVER-57544 Also backport store_retryable_find_and_modify_images_in_side_collection.js to 4.2
SERVER-57564 Increase system timeout duration to >2 hours to allow fio to copy over all files
SERVER-57708 ClientMetadata Parsing errors can leave ClientMetadataState decoration in invalid state
SERVER-57768 Deprecated counters aren't reset to zero on wrap
SERVER-57897 Add readPrefMode option to benchRun find/findOne ops
SERVER-57954 Update TPC-C version in sys-perf.yml
4.2.14 Changelog
Sharding
SERVER-52564 Deadlock between step down and MongoDOperationContextSession
Replication
SERVER-50412 Change “not master” error messages to “not primary”
SERVER-50414 Change “not master or secondary; cannot currently read from this replSet member” to “not primary or secondary; cannot currently read from this replSet member”
SERVER-54180 ReplSetTest's stepUp function only waits 6 seconds for nodes to agree on primary
SERVER-55007 Deadlock between step down and MongoDOperationContextSession
Query
SERVER-54710 Large number of $or clauses can create profiling entry exceeding max BSON size, causing the query to fail when it should not
Storage
SERVER-44821 retrieving storage stats for currentOp blocked by slow oplog application
Operations
SERVER-54770 Add /proc/meminfo MemAvailable to FTDC
Build and Packaging
SERVER-54031 errorcodes.py doesn't check embedded C++ code in Python scripts
SERVER-54057 Mongodb-org-server el8 package has dependency on python2
SERVER-54386 mongodb 3.6.22 install fails if systemctl daemon is not running
SERVER-55067 Migrate Windows builds to VS Current distro
Internals
SERVER-5722 Support a 'sort' field in ops array for JS Benchmarking Harness
SERVER-42944 scons compiledb exits with a stack trace
SERVER-49054 Server MSI should install Compass instead of Compass Community
SERVER-51465 Update package tests after compass installer update
SERVER-52610 Verify installation prefix is added to correct location in the RPM
SERVER-52833 Capped collections can contain too many documents after replication recovery
SERVER-52953 $geoNear does not always match coordinate given to 'near' when maxDistance is set to 0
SERVER-53566 Investigate and reproduce "opCtx != nullptr && _opCtx == nullptr" invariant
SERVER-54136 Make the authenticate command respect enforceUserClusterSeparation
SERVER-55038 Collect data files if zbigMapReduce.js fails
SERVER-55189 Call awaitReplication() before returning from syncFrom() in rslib.js
SERVER-55225 [v4.2] Collect data files for incremental_backup_rollback.js
SERVER-55395 4.0.23 does not build with gcc 10
SERVER-55602 Relax non-read-only invariant in WiredTigerKVEngine::makeTemporaryRecordStore when recoverToOplogTimestamp is specified
SERVER-55753 Use w: majority for createCollection command in transactions_committed_with_tickets_exhausted.js
SERVER-56164 All performance projects use the master DSI branch
SERVER-56371 Upgrade timelib to 2021.06
SERVER-56451 [4.2] update test for backup API to retry on conflict with checkpoint thread
WT-7373 Improve slow random cursor operations on oplog
4.2.13 Changelog
Sharding
SERVER-53236 Disable merge_with_move_primary.js from running on the sharding_csrs_continuous_config_stepdown suite
SERVER-53651 Just search for user-issued profiled aggregation in read_pref_cmd.js
SERVER-54014 Define a reasonable maxTimeMsOverride for the checkOID requests
Replication
SERVER-51163 Mark nodes returning InvalidReplicaSetConfig in heartbeats as down
SERVER-53248 call awaitLastOpCommitted before committing transaction in retryable_prepared_commit_transaction_after_failover.js
SERVER-53609 lastCommittedTransaction section causes frequent schema changes that limit FTDC retention
SERVER-53666 curSecondary in rollback test fixture not guaranteed to be in SECONDARY state after restart
SERVER-54339 Prevent spontaneous elections in rollback_crud_op_sequences.js
SERVER-54648 Add correct log verbosity to disallow_adding_initialized_node2.js
Query
SERVER-47869 Add diagnostic logging to ClusterCursorManager
SERVER-48442 Fix change_streams.js to test events in any order
SERVER-50073 Error message when creating a mixed hashed/not hashed index does not state the problem
SERVER-54660 Make jstests/sharding/kill_pinned_cursor.js more robust
Storage
SERVER-46876 During the eviction pressure, we should quit the compact operation instead of crashing the process
SERVER-54760 (4.2) Ghost timestamps can cause concurrent causal snapshot reads to not read their own writes
Build and Packaging
SERVER-52705 Rebuilding mongodb according to building.md failed because python3 is an alias/link (led to ModuleNotFoundError)
SERVER-54058 Update Debian 10 AMI for package testing
SERVER-54255 Update RHEL 7 AMI for package testing
SERVER-54858 Update Amazon Linux AMI for package testing
Internals
SERVER-35649 Nodes removed due to isSelf failure should re-attempt to find themselves
SERVER-43904 When stepping down, step up doesn't filter out frozen nodes
SERVER-44132 DataBuilder move assignment computes size incorrectly
SERVER-45836 Provide more LDAP details (like server IP) at default log level
SERVER-46686 Explain does not respect maxTimeMS
SERVER-46740 establishCursors() must always drain the AsyncRequestsSender::_baton
SERVER-47030 Fix date_time_support code to not produce exceptions
SERVER-49222 ARM64 support on Amazon Linux 2
SERVER-50592 Update mypy pip requirement
SERVER-51038 resmoke.py can't be run on python 3.8
SERVER-51722 Ensure that MongoDB builds with ARM LSE atomics
SERVER-52884 Remove race in reconstruct_prepared_transactions_initial_sync.js
SERVER-53196 Fail to generate tasks if a large distro is specified but not available
SERVER-53394 Make ShardingTaskExecutorPoolReplicaSetMatching default to disabled for MongoD
SERVER-53579 python's dev-requirements.txt is incompatible with pip 20.3.3
SERVER-53612 StepDown hangs until timeout if all nodes are caught up but none is immediately electable
SERVER-53717 Dynamically split large concurrency tasks
SERVER-53780 Fix missing quote in test parameters
SERVER-53831 Force SpiderMonkey to garbage collect in ReplSetTest.checkOplogs
SERVER-53836 Add multiversion-related expansions on Enterprise Ubuntu 16.04 (with {taskExecutorPoolSize=4}) build variant
SERVER-53932 Multikey write during recovery of prepared transaction could use commit timestamp < stable timestamp
SERVER-53992 Remove calls to detect-outliers from performance tasks
SERVER-54091 Update assertion messages for dbhash check run by resmoke.py
SERVER-54134 Ignore newer mongo versions on older branches of setup_multiversion_mongodb.py
SERVER-54139 Remove CURL share support from HTTP curl client
SERVER-54278 Add feature flag to disable Opportunistic Reads by default
SERVER-54366 Wait for node to start stepdown before killing shutdown operation in force_shutdown_primary.js
SERVER-54369 Update Jasper gRPC to latest version
SERVER-54458 updated vendored scons to use uuid for cache tmpfiles
SERVER-54484 resmoke/util/archival.py relies on deprecated and now removed thread.isAlive
SERVER-54505 Fix logic for ignored large distro build variants in 4.2
SERVER-54684 Decreased JS performance on arm64 due to mising init function
SERVER-54685 wrong definition of MONGO_YIELD_CORE_FOR_SMT for arm64
SERVER-54733 Enterprise Ubuntu 16.04 arm64 aggregation_multiversion_fuzzer failures
WT-6309 Add support for start/stop arguments to wt printlog command
WT-6430 Move WT_CONN_SERVER flags into their own field
WT-6844 Make force stop durable
WT-7026 Atomically read and set ref->addr in case of race
WT-7027 Run the metadata checkpoint for force_stop at read-committed isolation for incremental backup
WT-7028 Sweep thread shouldn't lock during checkpoint gathering handles
WT-7104 Redact user data from printlog output
4.2.12 Changelog
Sharding
SERVER-46393 Always check client last operation time when computing operationTime to append to the response
SERVER-50900 Disable PeriodicShardedIndexConsistencyChecker for cursor_valid_after_shard_stepdown.js
SERVER-52732 Uptime reporter disables autosplit during ShardingTest initialization
SERVER-53444 Make tests that run removeShard in assert.soon to wait for the state to become "completed" not error on ShardNotFound
Replication
SERVER-49187 Make ReplSetTest .stepUp() robust to election failures.
SERVER-50049 assert.soonNoExcept() should not access TestData.traceExceptions for non-resmoke tests.
SERVER-50416 Change notMasterLegacyUnacknowledgedWrites to notPrimaryLegacyUnacknowledgedWrites in serverStatus
SERVER-50417 Change notMasterUnacknowledgedWrites to notPrimaryUnacknowledgedWrites in serverStatus
SERVER-50869 Background sync may erroneously set applied-through during step-up
SERVER-50901 RollbackTest should wait for secondaries before doing data consistency checks
SERVER-52560 oplog_writes_only_permitted_on_standalone.js must wait for insert to be in stable checkpoint
SERVER-52680 Removed node on startup stuck in STARTUP2 after being re-added into the replica set
SERVER-52744 rollback node's lastApplied > sync source's lastApplied in rollback_after_enabling_majority_reads.js
SERVER-53026 Secondary cannot restart replication
SERVER-53345 Excuse arbiter_new_hostname.js from multiversion tests
Query
SERVER-32960 $mod has inconsistent rounding/truncation behavior
SERVER-40361 Reduce memory footprint of plan cache entries
SERVER-50769 server restarted after expr:{"expr":"_currentApplyOps.getArrayLength() > 0","file":"src/mongo/db/pipeline/document_source_change_stream_transform.cpp","line":535}}
Aggregation
SERVER-34741 Move $match in front of $group if condition is on group key
SERVER-40090 DISTINCT_SCAN in agg is only used when certain format of _id is specified
SERVER-51886 $lookup + $merge pipeline may fail to resolve views correctly when collection names collide
Storage
SERVER-47812 Secondaries persist wildcard multikeypaths out of order
SERVER-48471 Hashed indexes may be incorrectly marked multikey and be ineligible as a shard key
SERVER-51858 Investigate queryable issue on 4.0.20
SERVER-52950 recoverOplogAsStandalone mode must not start oplog truncater thread
SERVER-53703 [4.2] Opening a transaction at the all durable timestamp can go backwards
Build and Packaging
SERVER-52891 Run PPC builds less frequently
Internals
SERVER-41836 Log thread ID as part of error in FSM tests
SERVER-43739 SNI name is not set on OSX if allowInvalidHostnames is enabled
SERVER-44375 fix merge_with_drop_shard.js when the curop command fails due to ShardNotFound
SERVER-47863 Initial Sync Progress Metrics
SERVER-48742 Log whenever profiler settings are changed via setProfilingLevel
SERVER-50267 Set output limit for 'rawMongoProgramOutput()'
SERVER-50445 Return the value as double when NumberLong subtraction overflows in ExpressionSubtract
SERVER-51526 Hybrid index builds can miss writes and crash in the event of a well-timed WriteConflictException
SERVER-51607 Upgrade Twisted dependency to at least twisted-19.7.0
SERVER-52618 Sparse hash index should not be used for equality to null match
SERVER-52646 Validate and possibly fix edge cases in regex rewrite rules for userToDNMapping
SERVER-52654 new signing keys not generated by the monitoring-keys-for-HMAC thread
SERVER-52806 deb install files assume systemd
SERVER-52879 Periodic operation latency spikes every 5 minutes due to closing idle cached WT sessions
SERVER-52919 Wire compression not enabled for initial sync
SERVER-52929 Correctly handle compound indexes with 32 keys
SERVER-52969 Disable Powercyle on non-master branches
SERVER-52975 Fix use of 'onRollback' callback for collection validator options in 'collection_impl.cpp'
SERVER-53233 Fix change_streams_update_lookup_shard_metadata_missing.js [4.2, 4.0]
SERVER-53234 jstests/core/profile2.js fails when background operations are run against test database