4.4 Changelog
On this page
4.4.19 Changelog
Sharding
SERVER-68361 LogTransactionOperationsForShardingHandler::commit misses transferring documents from prepared and non-prepared transactions changing a document's shard key value
SERVER-71219 Migration can miss writes from prepared transactions
SERVER-73106 [v4.4] Chunk migration attempts to wait for replication with session checked out when getLastErrorDefaults are used in replica set config, leading to server crash
Storage
SERVER-30888 Have FTDC code paths obtain locks with a timeout.
Operations
SERVER-67704 Add count of cpu sockets to FTDC metadata
SERVER-67705 Add count of NUMA zones to FTDC metadata
Build and Packaging
SERVER-38232 Mongod on Ubuntu 16/18 does not create a pid file
Internals
SERVER-52545 Specify input/output to listIndexes command in IDL
SERVER-61032 Convert all references to /opt/mongodbtoolchain/gdb to a versioned equivalent
SERVER-63271 serverStatus can fail the server
SERVER-65259 Cursor leak in aggregation that requires merging on shard
SERVER-66050 findSelfInConfig should attempt fast path for every HostAndPort before trying slow path
SERVER-67795 Add serverstatus tracking to know how many users use updateMany and DeleteMany
SERVER-68122 Investigate replicating the collection WiredTiger config string during initial sync
SERVER-68126 Check for negative maxChunkSize input value in AutoSplitVector
SERVER-68576 We need to know how many sharded collections exist in a cluster
SERVER-68836 Properly handle NaN and 0 in for LDAPTimeoutMS
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-69944 Resmoke's globstar.py does not properly parse * before **
SERVER-70084 update change stream multiversion tests for 4.4 to consider per shard cursors
SERVER-70235 Don't create range deletion documents upon v4.2-v4.4 upgrade in case of collection uuid mismatch
SERVER-70427 Remove chef+kitchen package test infrastructure
SERVER-70553 Add module support to the mongo test runner
SERVER-70594 Add updated build variants to sys-perf
SERVER-70971 [v4.4] Backport skipping RSTL lock in serverStatus
SERVER-71191 Deadlock between index build setup, prepared transaction, and stepdown
SERVER-71424 Fix failures in lint_fuzzer_sanity
SERVER-71436 Range deleter must not aggressively spam the log when shard key index not found
SERVER-71449 Fix log_successs_msg: not found in init.d on debian
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-71623 Temporary disable lint_fuzzer_sanity_patch
SERVER-71624 Remove lint_fuzzer_sanity_patch in favor of lint_fuzzer_sanity_all
SERVER-71759 dataSize command doesn't yield
SERVER-71769 Add a new log message when a secondary node is skipping a two-phase index build
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-71969 Update system_perf.yml for compile-variant and compile_variant.
SERVER-72136 Cast 'numShardedCollections' to 'size_t' in sharding_server_status.cpp
SERVER-72140 Remove move_chunk_large_chunk_map_workloads task from Linux Shard Lite Cluster 2022-11 variant
SERVER-72143 Fix sys-perf logkeeper links on 5.0 and 4.4
SERVER-72170 Remove sys-perf 1 day history variant from sys-perf-4.4
SERVER-72222 MapReduce with single reduce optimization fails when merging results in sharded cluster
SERVER-72223 Disallow majority reads from reads_during_catchup.js for ephemeralForTest in 4.4
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-72620 $indexStats doesn't include the "shard" field when run on unsharded collections
SERVER-72677 Full validation doesn't always report information about indexes
SERVER-72825 Remove all outdated entries from backports_required_for_multiversion_tests.yml
SERVER-73176 Only print error message if there were in fact errors in getHostFQDNs
SERVER-73183 WiredTigerKVEngine::getSanitizedStorageOptionsForSecondaryReplication should skip inMemory
SERVER-73232 Change the default log-verbosity for _killOperations
SERVER-73256 [v4.4] Disable rolling_index_builds_interrupted.js from running on single phase index build variants
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-73719 Comment out Legacy Build Variants in Sys-perf
SERVER-73745 Zero initialize IndexKeyBucket struct
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
WT-10291 Ensure failure configs task executes test format once per configuration.
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.4.18 Changelog
Query
SERVER-50454 Avoiding sending the "keyValue" field to drivers on duplicate key error
SERVER-66289 $out incorrectly throws BSONObj size error on v5.0.8
Operations
SERVER-67793 log_progress_msg in init.d does not print message
Build and Packaging
SERVER-48203 Support --install-action for Ninja builds
Internals
SERVER-56368 Prohibit running $backupCursor/$backupCursorExtend on an aggregation against a collection
SERVER-58673 Enable featureFlagPerShardCursor
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-63585 Fastcount gets out of sync when a delete rollbacks and another transaction deletes the same rows
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-69001 Initial sync should set the minValid document to the "stopTimestamp"
SERVER-69003 [4.4] backport pm-2419 Per Shard Cursors via mongos
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-69389 Command checkAuthorization may throw ErrorCodes::NamespaceNotFound for existing collection while trying to resolve UUID to namespace when the node is shutting down.
SERVER-69443 [4.4] Allow speculative majority reads in multi-doc txns when --enableMajorityReadConcern=false
SERVER-69446 Increase electionTimeoutMillis in jstests/replsets/dbcheck_write_concern.js
SERVER-69569 Python scripts failing in Evergreen tasks
SERVER-69785 robustify change_streams_per_shard_cursor.js
SERVER-69868 Return an error when starting a TransportLayer that is shutdown
SERVER-69912 SConstruct is executable by mistake
SERVER-70235 Don't create range deletion documents upon v4.2-v4.4 upgrade in case of collection uuid mismatch
SERVER-70299 Remove JSON.send command usage
SERVER-70348 Remove EAGAIN for queryable WT and retry internally
SERVER-70398 Handle case when execution doesn't exist
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-70633 Make per shard cursors suite actually run tests in 5.0
SERVER-70938 Remove --system-site-packages from virtual env setup
WT-7912 Fix prefix search near optimisation to handle scenarios where the key range is split across pages.
4.4.17 Changelog
Sharding
SERVER-50898 safe_secondary_reads_causal_consistency.js must wait for effects of _configsvrCommitChunkMigration to be majority-committed snapshot on all CSRS members
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
SERVER-64142 Add new enforceUniqueness to refineCollectionShardKey command
SERVER-69220 refineCollectionShardKey permits toggling current shard key fields between range-based and hashed, leading to data inconsistency
SERVER-69228 The chunk_migration_with_schema_validation.js fails multi version test suites (v4.4 and v4.2)
Operations
SERVER-68548 mongo shell version 4.4.15 logging asio message despite --quiet flag
Internals
SERVER-52676 Hedged reads should ignore stale errors
SERVER-61275 Destruct the size storer after the session cache has shutdown
SERVER-64573 Make implicitlyCreateIndex and enforceUniquenessCheck fields optional
SERVER-64741 Create mongos appendOplogNote command
SERVER-65382 AutoSplitVector should not use clientReadable to reorder shard key fields
SERVER-67465 Ensure timeouts do not fail hedged operations
SERVER-68039 Old pymongo version 3.10.1 on MongoDB v5.0 causes Invariant failure (message.operation() == dbMsg) after connection reset by peer
SERVER-68691 $graphLookup does not report variable references for 'restrictSearchWithMatch' filter
SERVER-68694 Investigate the locking around the compact command
SERVER-68766 Add option to re-enable single value MapReduce optimization
SERVER-68925 Reintroduce check table logging settings at startup (revert SERVER-43664)
SERVER-69268 Disable bypass compile during burn_in_tags_gen
SERVER-69590 libunwind warnings on clang arm platforms
SERVER-69611 Set the -ffp-contract=off compiler option by default
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-9870 Fix updating pinned timestamp whenever oldest timestamp is updated during recovery
4.4.16 Changelog
Sharding
SERVER-40865 The ShardServerCatalogCacheLoader does not serialize read operations with other operations for the same collection
SERVER-51056 Disable refine_collection_shard_key_atomic.js from running in sharding_csrs_continuous_config_stepdown suite
SERVER-56185 Investigate possible improvements with session migration and a chunk migration's critical section
SERVER-58747 The ShardServerCatalogCacheLoader doesn't interrupt ongoing operations on step up
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-67492 Failed chunk migrations can lead recipient shard to have divergent config.transactions records between primary and secondaries
Query
SERVER-67012 Command error on specific combination of compound index
JavaScript
SERVER-61234 JS object-based types are not properly auto-serialized when directly returned by server-side JS functions
Operations
SERVER-50138 Server logs a warning: "No TransportLayer configured during NetworkInterface startup" for each bound socket
Build and Packaging
SERVER-61894 Support the 'showRawUpdateDescription' option in change stream specs
SERVER-63159 Implement the $_internalApplyOplogUpdate aggregation stage
Internals
SERVER-52641 indexbg_restart_secondary.js should wait for all three index builds to start before restarting the secondary
SERVER-58176 Mongos does not validate readConcern on insert/update/delete commands
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-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-64244 RunDBCheckInBackground should be resilient to interrupts
SERVER-64403 Find queries with SORT_MERGE collation-encode the missing sort attribute
SERVER-64659 Report in serverStatus number of file descriptors used during index builds
SERVER-64797 Use WT's new numerical timestamp API
SERVER-65262 Expand usage of WT numerical timestamp API
SERVER-65399 'commitIndexBuild' oplog entry is a no-op for unfinished index builds not restarted
SERVER-66310 Make ExpressionSetUnion::isCommutative() collation aware
SERVER-66418 Bad projection created during dependency analysis due to string order assumption
SERVER-66461 Run notarization earlier in the build process
SERVER-66548 $lookup sequential cache can incorrectly treat a $facet as non-correlated
SERVER-66556 Prevent potential race when releasing cursors during shutdown
SERVER-66621 Primary node stuck waiting for secondary to finish indexBuild when downgrading from 4.4 to 4.2
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-67164 Fix package tests v4.4
SERVER-67220 [5.0] set_fcv_prepared_transaction.js is not resilient to StaleConfig errors
SERVER-67296 Mark the OpCtx of the configsvr commands used to commit chunk-related DDL ops as interruptible
SERVER-67302 "Reading from replicated collection without read timestamp or PBWM lock" crash with clock changes
SERVER-67398 The build with the legacy install mode is broken
SERVER-67532 Fail less in OplogServerStatusSection
SERVER-67662 [4.4] evergreen.yml "scons lint" fails to handle empty string for is_patch variable
SERVER-67683 Change some of the modes in fast and opt builds
SERVER-67993 fix 4.4 pylinters errors
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-68359 [4.4] Prevent TTLMonitor from processing index if expireAfterSeconds is NaN
SERVER-68418 [4.4] index_build_restart_secondary.js does not support single phase index builds
SERVER-68487 add BSONElement method to check for NaN field values
SERVER-68540 Add docker_incompatible tag for jscore tests
SERVER-68574 Switch to the new logkeeper cluster
WT-9029 Remove object_target_size option from WT_SESSION::create
WT-9096 Fix search near returning wrong key/value sometimes when key doesn't exist
4.4.15 Changelog
Sharding
SERVER-51064 Make "Destination shard cannot be the same as source" an acceptable error in random_moveChunk_index_operations.js
SERVER-61249 refine_collection_shard_key_basic.js relies on a best-effort refresh that might not happen in case of failover
SERVER-62175 Mongos fails to attach RetryableWrite Error Label For Command Interrupted In _parseCommand
SERVER-62272 Adding schema validation to a collection can prevent chunk migrations of failing documents
SERVER-65821 Deadlock during setFCV when there are prepared transactions that have not persisted commit/abort decision
SERVER-66041 Chunk cloner must never consider too big a chunk with only one document
Query
SERVER-63642 Add serverStatus metrics to measure multi-planning performance
Build and Packaging
SERVER-42470 Generate additional configuration for libunwind
SERVER-64332 Notarize MongoDB builds for macos
Internals
SERVER-54900 Blocking networking calls can delay sync-source resolution indefinitely
SERVER-55173 Segmentation fault in WiredTigerSession::releaseCursor
SERVER-58506 Command to expose settability for Server Parameters
SERVER-60758 Prevent dbVersion refreshes from failing transactions in txn_recover_decision_using_recovery_router.js
SERVER-61018 Create a generic histogram type
SERVER-61095 Improve transport_layer_asio_test.cpp
SERVER-61097 SizeStorer can cause deadlocks with cache eviction
SERVER-61856 Upgrade libunwind to 1.6.2+
SERVER-62941 Update FTDCServerStatusCommandCollector to include oplog metrics from serverStatus command
SERVER-62992 Remove need for resmoke.ini
SERVER-63421 [v4.4] Relax term limit check in replica set to check for long long boundaries instead of int
SERVER-63479 Correct $$SEARCH_META ban in sharded environments
SERVER-64184 Track usage of allowDiskUse:true in agg command
SERVER-64664 ninja tool should not consider install files generated source
SERVER-65024 Multiple documents with the same _id value make reIndex invariant
SERVER-65131 Disable opportunistic read targeting (except for hedged reads)
SERVER-65166 Use compareOptimes in abort_in_progress_transactions_on_step_up.js
SERVER-65271 serverStatus should allow fine-grained metrics exclusion
SERVER-65636 Remove limits on number of LDAP connections per host
SERVER-65995 Reduce Evergreen cron frequency on older branches
SERVER-66087 Call curl_global_init before threading enabled
SERVER-66089 Initial sync should do transaction table read with a later afterClusterTime
SERVER-66111 Curl implementation of HTTPClient should respect default timeouts
SERVER-66176 [v4.4/v4.2] Minimize work under CollectionCatalog mutex
SERVER-66319 dbcheck_no_history_on_secondary.js disables dbCheck failpoint too early
SERVER-66433 Backport deadline waiting for overlapping range deletion to finish to pre-v5.1 versions
SERVER-66466 Remove TransportLayerASIOTest dependence on ThreadContext
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
SERVER-67017 Account for one more chunk in shard_existing_coll_chunk_count.js (v4.4)
SERVER-67212 Fix data-race in transport_layer_asio_test
WT-8622 Read in last_ckpt_base_write_gen at start of recovery
WT-9054 Correctly configure split stress options in format.sh
4.4.14 Changelog
Sharding
SERVER-55429 Abort migration earlier when receiver is not cleaning overlapping ranges
TTL
SERVER-52724 Increment TTL passes server status metric after the TTL work has finished
Internals
SERVER-44847 Clean up explicit 'comment' fields name attached to distinct and count commands in IDL files
SERVER-56003 ninja + icecream with changing compilers doesn't regen run-icecc.sh
SERVER-57000 Fix handling of correlated pipeline with facet
SERVER-57037 Improve precision of operator counters
SERVER-57676 Wait for a checkpoint before releasing the "hangOplogCapMaintainerThread" in oplog_rollover.js
SERVER-58310 ThreadPoolTaskExecutor is memory unsafe when task cancellation occurs around the same time an exhaust network response is received
SERVER-59435 Fix a double free inside DocumentSource::optimizeAt()
SERVER-60412 Host memory limit check does not honor cgroups v2
SERVER-61769 Attempting to run an aggregation with $out or $merge in a transaction on a sharded cluster leaves idle cursors open
SERVER-62229 Fix invariant when applying index build entries while recoverFromOplogAsStandalone=true
SERVER-62242 $indexOfArray does not work with duplicate values in array
SERVER-63315 Count command only accepts a string comment but should accept any BSON type in 4.4
SERVER-63497 Fix icecream debugging
SERVER-63974 Pin version of itsdangerous python dependency
SERVER-64079 $search commands fail on 4.4 binary with FCV 4.2
SERVER-64202 [4.4] initial_sync_aborts_two_phase_index_builds_hide_index.js can fail if the primary can't see a majority of the replica set
SERVER-64304 Using --recoverFromOplogAsStandalone can result in index builds crashing the server
SERVER-64410 Investigate whether we need to sort on searchScore when storedSource is true in $search
SERVER-64554 abortIndexBuild oplog entry has no effect when run with --recoverFromOplogAsStandalone
SERVER-64757 Improve error messages when scons fails to generate-ninja on Windows
SERVER-64772 Don't finish index build before stepdown in index_killop_after_stepdown.js
SERVER-64983 Release Client lock before rolling back WT transaction in TransactionParticipant::_resetTransactionState
SERVER-65032 Pin python package BaseResponse for ocsp suite
SERVER-65421 Fix package test failures on RHEL 6/7
SERVER-65422 Fix package test failures on Ubuntu 16.04
SERVER-65690 [v4.4] Skip backup_restore_abort_and_start_index_build.js for single-phase index build variants
SERVER-65718 Fix mypy error
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-8270 Updating the time window clear obsolete stage of reconciliation to correctly consider global visibility.
WT-8362 Remove or rewrite HS entries of a key when OOO tombstone is written to datastore
WT-8422 Clear the on-disk cell time window if it is obsolete
WT-8450 Report stats in hs_cleanup_stress, don't validate them
WT-8598 Avoid checkpoint cleanup always on shutdown
WT-8649 WT_SESSION methods cannot release scratch buffers unless reset or closing
WT-8708 Fix timestamp usage error in test/checkpoint
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-8824 Disable code coverage measurement on mongodb-4.4
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
WT-8909 Disable cpp test search_near_01 on 4.4
WT-8924 Don't check against on disk time window if there is an insert list when checking for conflicts in row-store
4.4.13 Changelog
Sharding
SERVER-26755 Collection chunk loading is aborted entirely if fetching all the chunks takes more than 30 seconds
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-62906 Add a check in the createCollection/shardCollection path verifying the collection name length
Replication
SERVER-48059 concurrency_replication_for_backup_restore's WaitForReplication hook should ignore shutdown errors due to quiesce mode
Query
SERVER-40691 $nin:[[],...] queries are not indexed
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
Storage
SERVER-55483 Add a new startup parameter that skips verifying the table log settings
Internals
SERVER-48068 assert.soon() with hang analyzer enabled inside a try/finally can lead to an invariant failure in ProgramRegistry
SERVER-48328 Remove index key generation error whitelist
SERVER-48367 envp may be unreliable in global initializers
SERVER-49882 Log status in the catch block in JSThread::run()
SERVER-53239 fix race in shared future unit test
SERVER-57037 Improve precision of operator counters
SERVER-57312 Pin transitive Python dependencies and use the pinned file for installation in Evergreen
SERVER-57662 Wait for config.system.sessions collection to exist on the config server before refreshing logical session cache
SERVER-59375 Should collect summary statistics about transient faults
SERVER-59779 Call asCluster() before replSetFreeze in ReplSetTest
SERVER-60392 Fix timing in priority_takeover_two_nodes_equal_priority test.
SERVER-61315 Ldap health check executor should support aborted tasks
SERVER-61662 SCons configure checks should always run with verbosity
SERVER-61837 [v4.4] Ensure waiting for majority write concern after index creation in the destination shard of a migration on empty collections
SERVER-61977 Concurrent rollback and stepUp can cause a node to fetch from a timestamp before lastApplied once it has stepped down.
SERVER-62085 Use more bits for hashedMultikeyMetadataPaths in validation
SERVER-62336 Tolerate SnapshotTooOld errors in dbCheck testing
SERVER-62368 Range deleter must honor rangeDeleterBatchDelayMS
SERVER-62380 Wait for majority commit point to be advanced on each node before starting rollback test in rollback_set_fcv.js
SERVER-62465 After intensities are updated, the resulting health check should run with the new values of intensities set.
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-62668 Synchronize access to ImpersonatedUserMetadata in OperationContext.
SERVER-62678 Migrate LDAP health checker to use permanent OpenLDAP & AD servers
SERVER-62706 dbcheck.js: handle replica sets with mixed debug/release members
SERVER-62824 Fix op_msg_fuzzer initialization order on v4.4
SERVER-62875 [v4.4] Archive data files for the multi_stmt_txn_jscore_passthrough_with_migration suite
SERVER-62928 Increase interval between LDAP checks in health observer tests
SERVER-62948 Ensure FTDC collectors don't have a read timestamp
SERVER-63057 /usr/bin/dig LDAP observer test relies upon is flaky
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-63203 Chunk splitter never splits if more than 8192 split points are found
SERVER-63234 Better logging to explain LDAP health check flakiness
SERVER-63422 Fix build failure for op_msg_fuzzer test on v4.4
SERVER-63505 Ensure arbiter recognizes primary node in rollback_views.js
WT-8004 Create a read order for the architecture guide
WT-8320 Select updates restored from history store irrespective of visibility
WT-8424 Use consistent toolchain in little-endian
WT-8477 Enforce the use of Pymongo 3.12.2 in our Evergreen tests
WT-8605 Disable the perf tests for non-develop branches in Evergreen
4.4.12 Changelog
Sharding
SERVER-61637 Review range deleter batching policy
Internals
SERVER-53239 fix race in shared future unit test
SERVER-58152 Create Feature flag for Remove Faulty Mongos From Cluster Topology
SERVER-58153 Enable Feature flag for Remove Faulty Mongos From Cluster Topology
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-59368 The system should properly handle a health checker being turned on/off
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-59386 Should provide the ability to perform periodic LDAP health checks
SERVER-59394 Setup integration test simulating ldap failure scenario
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-60084 Fix clang related compile failure in Enterprise Ldap
SERVER-60316 FaultManager should start with periodic checks disabled
SERVER-60587 Implement FaultFacet
SERVER-60944 Change interface for updateWithSuppliedFacet and update
SERVER-61220 Integration test for Progress monitor
SERVER-61368 FaultManager test suite should use real thread pool
SERVER-61438 Fix race in health_observer_test.cpp
SERVER-61529 Ldap tests should wait for connection reaper to be terminated
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-61930 Individual health observers should return an error if a timeout period elapses when doing a single health check
SERVER-61956 fix data race when accessing the state machine's state
SERVER-62037 Fix replica set definition in the system perf yaml file for linux-1-node-15gbwtcache
SERVER-62084 Serializer for FaultFacetType is broken
SERVER-62096 /proc/<id>/smaps is not available
SERVER-62098 Guard healthCheckContexts with mutex in fault_manager.cpp
SERVER-62174 FaultManager to support dynamic configuration of health check intervals
SERVER-62188 Shutdown race with use after free in DeadlineFuture
SERVER-62197 Remove extra state mutex lock.
SERVER-62202 Log ID 5936504 should contain observer type as string
SERVER-62203 change the thread name "Health checks progress monitor" to "FaultManagerProgressMonitor"
SERVER-62204 do not schedule health check if observer is not enabled
SERVER-62226 Disable dbcheck_no_history_on_secondary.js on EFT
SERVER-62280 Premature transition to ok during initial checks in fault_state_machine_test.cpp
SERVER-62291 Find replacement for skipValidatingExitCode in the 4.4 backport of the health monitor
SERVER-62312 Enable feature flag in 4.4 backport and other housekeeping
SERVER-62371 Syntax error on rare code path in ldap_mongos_health_checking.js
SERVER-62373 LDAP health check integration test should assert stats
SERVER-62555 Ldap integration test should crash the server
4.4.11 Changelog
Sharding
SERVER-45149 replSetStepDown command in txn_two_phase_commit_failover.js should not timeout
SERVER-51329 Unexpected non-retryable error when shutting down a mongos server
SERVER-53335 Queries, updates, and deletes with non-"simple" collations may miss documents when using hashed sharding
SERVER-54623 Decrease number of jobs in causal consistency passthrough suites
SERVER-55382 Ignore error from retryable write being converted to transaction and that transaction failing in random_moveChunk_update_shard_key.js
SERVER-55392 Add a timestamp field to config.rangeDeletions
SERVER-55412 Mirrored reads should propagate the shard version field
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-59890 Exclude migration_coordinator_shutdown_in_critical_section.js test from the config stepdown suite
SERVER-60552 Separate test for non-existing collection in metadata_manager_test
SERVER-60652 Backport the autoSplitVector logic to v4.4
SERVER-60682 TransactionCoordinator may block acquiring WiredTiger write ticket to persist its decision, prolonging transactions being in the prepared state
SERVER-60738 Update metadata manager tests for non-existing collections
SERVER-60804 Remove shard version checks from cursor_valid_after_shard_stepdown
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-61689 ActiveMigrationsRegistry::lock method doesn't properly handle its exceptions
SERVER-61816 cancel_coordinate_txn_commit_with_tickets_exhausted.js can hang forever due to race condition between transaction reaper and transaction coordinator
Replication
SERVER-54909 In replSetGetStatus, report last durable and last applied operation wall times for all members
SERVER-55376 Reconfig can roll back committed writes in PSA sets
SERVER-60946 Race condition in replsetprio1.js when initiating replset with nodes having different priorities
Query
SERVER-57588 Inconsistent query results when an array position is indexed whose value is an array
SERVER-60586 out_max_time_ms.js does not correctly enable "maxTimeNeverTimeOut" failpoint leading to spurious test failure
Aggregation
SERVER-59613 $range expression should error if it exceeds memory limit
SERVER-59924 Error executing aggregate with $out with "available" read concern on sharded clusters
Storage
SERVER-30846 Run dbCheck as background workload in FSM tests
SERVER-45953 Exempt oplog readers from acquiring read tickets
SERVER-48293 remove inactive index builds from config.system.indexBuilds
Operations
SERVER-28953 Capture df (disk full) statistics in FTDC
Internals
SERVER-34597 shardedcluster.py does not wait correctly on shards initialization
SERVER-46521 Extend mirrored reads generation tests
SERVER-46533 CmdUpdate should persist underlying BSON
SERVER-48673 Worker thread may exhaust command retries when using passConnectionCache=true in concurrency stepdown suites
SERVER-49028 initial_sync_aborts_two_phase_index_builds.js can fail if the primary can't see a majority of the replica set
SERVER-51087 Add testing utility for creating an empty sharded collection with the specified bounds
SERVER-55395 4.0.23 does not build with gcc 10
SERVER-56602 Track usage of match expressions in serverStatus
SERVER-56801 Update placeholder links for the reconfig check in PSA sets
SERVER-56887 setIndexCommitQuorum command returns {ok: 1} when run against a mongos on a non-existent index build
SERVER-56919 Add validation for memberIndex to reconfigToPSASet() shell helper
SERVER-57284 Wait for config commitment in reconfig_for_psa_set_shell.js
SERVER-57289 redact should not convert BSONArray into BSONObj
SERVER-57605 Expose Decimal128 equality comparison helper to shell
SERVER-58119 single_node_set_new_hostname.js needs to call replSetReconfig with an assert.soonNoExcept
SERVER-58385 recovery oplog application updates multikey info on wrong collection
SERVER-58406 Enable debug logging when the TestingProctor is enabled
SERVER-58412 Changing settings.chainingEnabled in replica set configuration should affect change in sync sources
SERVER-58636 Initial syncing node can miss final oplog entry when calculating stopTimestamp against a secondary sync source
SERVER-58888 $unionWith explain with mode "executionStats" does not account for stages which are pushed down
SERVER-59108 Resolve race with transaction operation not killed after step down
SERVER-59191 SPIKE: git.get_project fails to clone
SERVER-59226 Deadlock when stepping down with a profile session marked as uninterruptible
SERVER-59329 Make sure that withTemporaryOperationContext throw an error if the node is no longer a primary
SERVER-59409 Race between reconfig replication and stepup can cause RSM to be stuck in reporting ReplicaSetNoPrimary
SERVER-59459 mongodb fails to build with glibc-2.34
SERVER-59672 Fix stopping replication in step_down_during_draining3.js
SERVER-59858 Add observability for tasks scheduled on the reactor thread
SERVER-59879 Adjust maxTimeMS value to allow for slower execution in the parallel test suite
SERVER-60096 Add rollbackHangCommonPointBeforeReplCommitPoint failpoint to RVR
SERVER-60218 Improve $group stage
SERVER-60310 OCSP response validation should not consider statuses of irrelevant certificates
SERVER-60326 Windows Server fails to start when X509 certificate has empty subject name
SERVER-60456 LDAPBindOptions go out of scope during heavily delayed binds on Windows
SERVER-60511 getPinnedOplog return value should always be std::min compared with the pinned timestamp
SERVER-60520 Default 'enableSearchMeta' to true (v4.4)
SERVER-60550 migration_util function may miss some response errors when submitting remote commands through sendToRecipient()
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-60606 Race condition during initial sync when index builds start in data cloning phase
SERVER-60670 use a separate branch instead of a specific commit for TPCC
SERVER-60671 Remove dagger
SERVER-60685 TransactionCoordinator may interrupt locally executing update with non-Interruption error category, leading to server crash
SERVER-60756 Add additional logging for failed updates in multi_statement_transaction_atomicity_isolation.js
SERVER-60788 merge_causes_infinite_loop.js attempts to expose a problem that no longer exists
SERVER-60809 Add ability to not idLookup after $search
SERVER-60877 Correct inadvertent copy of MutableOplogEntry on replLogUpdate
SERVER-60928 [4.4] Latest 4.2 mongos cannot startup with a sharded collection having compound hashed shard key
SERVER-60948 Insert document in new collection in migration_id_index.js to await successful index build on secondary
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-61466 Port the RSM { electionId, setVersion } ordering to scanning RSM
SERVER-61479 Increase the number of retries to connect to a replica set following a stepdown
SERVER-61550 Modify auto_workload_path in perf.yml to be relative to cwd
SERVER-61681 Wait for replSetGetStatus to update in replSetGetStatus_member_wall_times.js
SERVER-61690 Adjust stored fields protocol for atlas search
SERVER-61738 Revive dbCheck.js and make it deterministic
SERVER-61743 The -fno-builtin-memcmp flag shouldn't be applied except on x86_64 platforms
SERVER-61748 dbCheck should not hold a strong database lock during batches
SERVER-61754 dbCheck should not hold a strong collection lock during batches
SERVER-61757 Add a dbCheck command option to customize the batch size
SERVER-61791 pin pymongo
SERVER-61846 Prevent redact from throwing BSONObjectTooLarge
SERVER-61852 dbCheck should tryLock the collection with backoff
SERVER-61862 Expose $_internalReadAtClusterTime command in v4.4
SERVER-61877 Remove catalog consistency verification from dbCheck
SERVER-61955 Expose dbCheck as a generally available command
SERVER-62022 Reduce dbCheck info logging in production, log start and stop
SERVER-62023 Improve dbCheck observability
SERVER-62041 Add a maximum batch execution time to dbCheck
SERVER-62164 Remove several obsoleted build variants across all stable branches
SERVER-62210 Fix dbCheck progress meter handling of dropped and recreated collections
SERVER-62212 Support writeConcern for dbCheck
WT-5009 Migrate remaining wiredtiger-perf-lsm tests to Evergreen
WT-5743 Rewrite cells when the transaction ids are cleared for VLCS
WT-5939 Fix naming conflict resulting in "cannot remove directory" error in test_config06 (OSX only)
WT-6077 Add new stats to track compact progress
WT-7250 Fix the test to perform explicit eviction instead of relying on low cache size
WT-7494 Add Python test to trigger update restore eviction during recovery
WT-7885 Ensure WiredTiger testing uses tcmalloc where possible
WT-8026 Run PPC/zSeries/macOS mainline builds less frequently in Evergreen
WT-8067 Fix the code that ensures to insert the newest history store value as full update
WT-8116 Fix issues related to inheritance in the cpp testing framework
WT-8147 Detect invalid syntax in cppsuite configs
WT-8168 Fix unused variables in search near cpp tests
WT-8199 Make s_all accept Python PEP8 compliant line breaks
WT-8203 Fix the layering violation in accessing the page
WT-8204 Fix possible race condition in "wt7989_compact_checkpoint" CSuite test
WT-8214 Only publish the docs from the WiredTiger develop Evergreen project
WT-8225 Fix data race in zstd get context
WT-8226 Fix largest_key failed to consider prepared update
WT-8395 Inconsistent data after upgrade from 4.4.3 and 4.4.4 to 4.4.8+ and 5.0.2+
WT-8534 Allow retrieving checkpoint snapshot for backup restore recovery
WT-8576 Enable logging in test checkpoint
4.4.10 Changelog
Security
SERVER-50050 Build with --ssl=off fails
Sharding
SERVER-53332 Change ShardRegistry::_connStringLookup to store connection strings as std::strings
SERVER-54064 Sessions on arbiters accumulate and cannot be cleared out
SERVER-55975 The core/find_and_modify.js test is not suitable to run in the stepdown suites
SERVER-59160 Disable balancer in test_stacked_migration_cleanup.js
SERVER-59769 Balancer conflicts with chunk migration tests
SERVER-59916 T{1, 2}Starts{First, Second}AndWins In WriteConflictHelpers Does Not Synchronize Committing Of Failed Transaction
SERVER-60142 Shard can migrate on top of orphans after filtering metadata was cleared
SERVER-60419 Make CleanUpForMigrateIn deterministic
Replication
SERVER-50241 PeriodicShardedIndexConsistencyChecker should skip dropped collections
SERVER-55376 Reconfig can roll back committed writes in PSA sets
SERVER-58988 Avoid sync source selection cycle during primary catchup.
SERVER-60153 More INFO level logs during election
Query
SERVER-51806 bulk key insertion phase of index build holds IX lock without yielding
SERVER-54791 Excessive file descriptor usage during index build with external sort
SERVER-57321 $mod match expression incorrectly handles NaN, Infinity and large values
Aggregation
SERVER-49214 Add $toHashedIndexKey expression
Operations
SERVER-53242 Always log collmod command