Navigation

4.4 Changelog

On this page

4.4.1 Changelog

Security

  • SERVER-47733 SymmetricEncryptorWindows shouldn’t pad when update is called
  • SERVER-49339 Rename ocspValidationRefreshPeriodSecs to ocspStaplingRefreshPeriodSecs
  • SERVER-49383 Assert that Host header is present in OCSP responder

Sharding

  • SERVER-43938 Make auth_sharding_cmd_metadata.js start shards as replica sets
  • SERVER-46811 multi=true updates can modify the shard key of orphan documents and cause them to become owned
  • SERVER-47753 Enable random_moveChunk_index_operations.js in stepdown concurrency suites
  • SERVER-47900 Disable checkOrphansDeleted helper in 4.4 multiversion testing
  • SERVER-48066 Don’t allow update shard key concurrency test to update shard key to same value
  • SERVER-48096 PeriodicShardedIndexConsistencyChecker thread on jstests can cause unintended shard refreshes
  • SERVER-48229 Shutdown PeriodicShardedIndexConsistencyChecker after ReplicationCoordinator so no thread will try to pause the job after it has stopped
  • SERVER-48341 Remove requires_fcv_46 from tests blacklisted under SERVER-48307 after backporting SERVER-48307 to 4.4.
  • SERVER-48365 Migration manager recovery should handle a refined shard key
  • SERVER-48531 3 way deadlock can happen between chunk splitter, prepared transactions and stepdown thread.
  • SERVER-48556 random_moveChunk_broadcast_delete_transaction.js should treat an stepdown error while waiting for a range deletion task to complete as an acceptable moveChunk error
  • SERVER-48601 ChunkSplitter should use the same chunk bounds for splitVector and splitChunk
  • SERVER-48641 Deadlock due to the MigrationDestinationManager waiting for write concern with the session checked-out
  • SERVER-48679 flushRoutingTableCacheUpdates should block on critical section with kWrite, not kRead
  • SERVER-48689 MigrationDestinationManager waits for thread to join with session checked out
  • SERVER-48699 MaxTimeMS may expire in range_deleter_interacts_correctly_with_refine_shard_key.js test before _configsvrMoveChunk command started
  • SERVER-48929 The moveChunk helper needs to ignore LockTimeout errors
  • SERVER-49044 Make AsyncRequestSender not retry remote command requests with startTransaction=true
  • SERVER-49085 Add MovePrimaryInProgress error code
  • SERVER-49086 Fail with MovePrimaryInProgress error in insert, update and delete commands
  • SERVER-49087 Add support for testing MovePrimaryInProgress
  • SERVER-49088 Fail with MovePrimaryInProgress on findAndModify command
  • SERVER-49089 Fail with MovePrimaryInProgress on mapReduce command
  • SERVER-49091 Fail with MovePrimaryInProgress error in create, collMod, drop, and renameCollection commands
  • SERVER-49092 Fail with MovePrimaryInProgress error in createIndexes and dropIndexes commands
  • SERVER-49311 PeriodicShardedIndexConsistencyChecker might cause failures on stale_mongos_and_restarted_shards_agree_on_shard_version.js
  • SERVER-49433 Stop incrementing the collection major version on chunk splits
  • SERVER-49452 Fail with MovePrimaryInProgress error in collMod command
  • SERVER-49546 setFCV to 4.4 should insert range deletion tasks in batches rather than one at a time
  • SERVER-49699 waitForCurOpByFailPoint shouldn’t ignore filter parameter in 4.4
  • SERVER-49715 Check for interrupt while finding unowned ranges on setFCV to 4.4
  • SERVER-49734 The call to Balancer::initiateBalancer() on step up should be asynchronous
  • SERVER-49765 Fail with MovePrimaryInProgress for dropIndexes command
  • SERVER-49809 View definition can be lost if the view is created during movePrimary

Replication

  • 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-47263 Inaccurate log message when losing dry run election
  • SERVER-47612 Elections not robust in remove_newly_added_field_after_finishing_initial_sync.js
  • SERVER-47645 Must invalidate all sessions on step down
  • SERVER-47849 Add more logging to shutdownTask
  • SERVER-48525 Forbid dropping config.transactions when there are prepared transactions
  • SERVER-48712 Race in write_concern_after_stepdown.js
  • SERVER-48776 Remove config version and term check during the reconfig quorum check
  • SERVER-48967 Prevent replicated writes on empty namespaces on secondaries
  • SERVER-48975 Increase isSelf logging verbosity
  • SERVER-48979 Race between config propagation and election in change_stream_stepdown.js
  • SERVER-49676 Coverity analysis defect 115809: Uninitialized scalar field
  • SERVER-49683 catchup_takeover_two_nodes_ahead.js should use initiateWithHighElectionTimeout() to prevent spurious elections
  • SERVER-49924 Forward-port SERVER-49527 to master branch
  • SERVER-49990 Alias setSlaveOk() and getSlaveOk() shell helpers
  • SERVER-49991 Alias printSlaveReplicationInfo() shell helper
  • SERVER-50039 Timing error in dbadmin.js test
  • SERVER-50063 Oplog fetcher can return network errors or CallbackCanceled when shutting down
  • SERVER-50140 Initial sync cannot survive unclean restart of the sync source
  • SERVER-50325 Allow additional error code in no_writes_to_config_transactions_with_prepared_transaction.js

Query

  • SERVER-39392 Invariant in PlanStage::dispose always evaluates as true
  • SERVER-48442 Fix change_streams.js to test events in any order
  • SERVER-48950 Enhance explain for $search to expose stats from mongot
  • SERVER-48993 explodeForSort can produce incorrect query plan
  • SERVER-49010 Increase log verbosity in index_stepdown_after_init.js
  • SERVER-49389 Index build initialized message logged more often than expected
  • SERVER-49514 ‘index_abort_before_commit_signal.js’ should check for the ‘IndexBuildAborted’ error code
  • SERVER-49530 fix final index build phase for oplog recovery as a standalone mode

Storage

  • SERVER-48658 The TTL monitor should not log at “E” level for QueryPlanKilled
  • SERVER-49415 create_new_indexes_with_conflict.js hangs intermittently due to unreliable log line checking
  • SERVER-49521 fix tests in core/txn to use write concern “majority” for createIndexes commands run before starting transactions
  • SERVER-49556 fix index build in fsm_workloads/indexed_insert_base.js index setup to work with multi-document transactions
  • SERVER-49949 Reconstructing prepared transactions containing multi-key writes crashes the initial syncing node.
  • SERVER-50137 MongoDB crashes with Invariant failure due to oplog entries generated in 3.4

Operations

  • SERVER-45260 shell helpers in shell_utils_launcher.cpp shouldn’t use verify()
  • SERVER-47697 Make logger:: typedefs to logv2::LogSeverity, logv2::LogComponent, etc
  • SERVER-47698 LogSeverity constexpr
  • SERVER-47736 Bring LogSeverityLimiter from logger/ to logv2/

Build and Packaging

  • SERVER-45930 Make mongodb community depend on the tools in homebrew
  • SERVER-47138 MSI installer produces incorrect config file
  • SERVER-48041 Tell icecream about sanitizer blacklist files
  • SERVER-48443 Compilation errors with GCC and ICECC 1.2+
  • SERVER-48885 Pathsplit bug in build.ninja generated file with PATH components containing spaces
  • SERVER-48966 Ninja generator does not emit dependencies on template inputs
  • SERVER-49036 the compile_commands.json produced by ninja is incomplete.
  • SERVER-49395 Cannot run unittest suite locally (regression)
  • SERVER-49466 Introduce a –build-tools=next flag to subsume –ninja=next
  • SERVER-49493 Track SCons files for regeneration via a deps file
  • SERVER-49932 MSI build process obtains files via paths into the build directory
  • SERVER-50078 Compile bypass applied when it should not have

Internals

  • SERVER-25548 resmoke should not continue after a shell crash
  • SERVER-43490 Validate if we can perform TODO listed in SERVER-38686
  • SERVER-46726 Provide separate setParameter to disable diagnostic work
  • SERVER-46842 resmoke.py shouldn’t run data consistency checks in stepdown suites if a process has crashed
  • SERVER-47518 mitigate dtor-order fiasco with a utility for defining static duration immortal objects
  • SERVER-47598 locally installed mongodbtoolchains can affect remote icecream builds
  • SERVER-47604 Don’t log “Index build failed” if it continues in the background due to a stepDown
  • SERVER-47639 Fix race with async getHosts request and concurrent topology change
  • SERVER-47775 LOGV2_FATAL failed to print stack trace
  • SERVER-47892 DiagnosticInfo for latches doesn’t integrate well with unit-tests which create and destroy ServiceContexts
  • SERVER-47933 logv2: detect attribute collisions
  • SERVER-48048 Use resmoke tag files for multiversion blacklisting
  • SERVER-48107 Retry replSetStepDown in rollback_test.js
  • SERVER-48178 Finding self in reconfig may be interrupted by closing connections due to rollback
  • SERVER-48204 Improve assertions in mirror_reads.js
  • SERVER-48339 Ensure operation is hung on failpoint in unionWith_current_op.js
  • SERVER-48506 Throw MaxTimeMSExpired instead of FailedToSatisfyReadPreference when RSM deadline is less than max
  • SERVER-48572 random_moveChunk_refine_collection_shard_key.js needs to ignore LockTimeout errors from moveChunk
  • SERVER-48709 signing key generator thread on config server not waken up as expected
  • SERVER-48901 Have a client observer destroy ClientOutOfLineExecutor
  • SERVER-48952 logv2 cleanup for src/mongo/util/stacktrace_posix.cpp
  • SERVER-48965 Make update_and_bulk_insert.js less heavy
  • SERVER-48982 Respond to heartbeats until reconfig thread finishes in StepdownShouldInterruptConfigWrite
  • SERVER-49007 Roundtrip registration id in metrics response in mock_http_server.py
  • SERVER-49016 Ninja build reporting “no such file: /proc/cpuinfo”
  • SERVER-49026 pseudo_commands.js can kill operation with opId ‘1234’ mistakenly
  • SERVER-49054 Server MSI should install Compass instead of Compass Community
  • SERVER-49090 Fail with MovePrimaryInProgress error in aggregate command
  • SERVER-49097 sys-perf builds differ from release builds
  • SERVER-49126 Allow NetworkInterfaceIntegrationTest to be an internalClient
  • SERVER-49335 publish_packages should use barque API key
  • SERVER-49404 Enforce additional checks in $arrayToObject
  • SERVER-49417 sessionId use in “connection accepted” server log
  • SERVER-49432 Avoid read-after-delete in ServiceExecutorSync shutdown
  • SERVER-49438 Allow memory.js tests to accept $where timeout interruption
  • SERVER-49457 Ninja mongod build failing with duplicate symbol linker error
  • SERVER-49476 Disable ldap_authz_bind on Ubuntu 18.04 and 20.04
  • SERVER-49523 ‘commit_quorum_does_not_hang_with_initial_sync.js’ can fail if the primary can’t see a majority of the replica set
  • SERVER-49690 Retry “CappedPositionLost” when searching for old oplog entries
  • SERVER-49693 Represent replicaSetPingTimeMillis in floating point
  • SERVER-49694 On a sharded cluster, nearest or hedged reads may not be routed to a near shard replica.
  • SERVER-49704 txn_being_applied_to_secondary_cannot_be_killed.js should not allow elections
  • SERVER-49716 “gather_failed_unittests” does not work on ubuntu1804-build
  • SERVER-49922 Make schema_validator_with_expr_variables.js less heavy
  • SERVER-49933 Put cedar auth info into sys-perf tasks
  • SERVER-50170 Fix server selection failure on mongos
  • SERVER-50173 [v4.4] Remove explode_for_sort_collation.js from backports list of test suite sharding_multiversion
  • SERVER-50178 Add logging to initial_sync_nodes_maintain_and_gossip_commit_point.js
  • SERVER-50183 Copy _awaitPrimaryAppliedSurpassesRollbackApplied function from RollbackTest to RollbackTestDeluxe
  • SERVER-50216 Adjust sys-perf frequencies
  • SERVER-50290 Enforce stronger limits on task splitting
  • SERVER-50308 Adjust debug log message when cleaning up failed cursor establishment
  • SERVER-50352 Add understanding of previous syntax for multiversion exclusions
  • SERVER-50362 Add resilience to repeat execution for multiversion tag generation
  • WT-5571 Evergreen loses compiler warnings, need way to add to CFLAGS
  • WT-5717 Reenable history store salvage test
  • WT-5945 Enable stricter performance for test_wt2853_perf
  • WT-5970 Update test_wt4333_handle_locks to use 1GB cache size
  • WT-6215 Clear backup block information on rename: Reverted
  • WT-6233 Add statistic to track the number of times we remove keys from the history store due to inserting 0 timestamped entries
  • WT-6274 SESSIONs shouldn’t nest calls to get/release hs cursor
  • WT-6325 Fast truncate can lead to never resolved prepared operations
  • WT-6331 Set oldest timestamp on startup of WiredTiger
  • WT-6421 Avoid parsing metadata checkpoint for clean files
  • WT-6425 Turn off log archiving to avoid file copy race
  • WT-6440 Use onpage visibility check helpers in __wt_txn_update_check
  • WT-6466 Don’t reset the WT_SESSION timers when HS cursors are closed
  • WT-6468 Discard a deleted page that is cleaned by a checkpoint
  • WT-6473 format configuration with tiny caches can result in empty objects
  • WT-6474 Configure the global RNG before doing any command-line or configuration file processing
  • WT-6479 Don’t insert updates after the first globally visible update to the history store
  • WT-6492 Use WT_UPDATE_RESTORED_FROM_DS to determine if the onpage value is on the update chain or not
  • WT-6493 Retry processing update list if a prepared update is modified concurrently
  • WT-6499 Ignore evict priority for btrees that are dominating cache usage
  • WT-6511 cursor join: explicitly advance the iterator when finished with a clause
  • WT-6514 Fix description of eviction_updates_trigger in the documentation
  • WT-6517 Update test_txn13 to avoid getting a rollback error
  • WT-6519 Add testing coverage for mongodb-4.6 branch in compatibility test
  • WT-6527 When a thread cannot be allocated, return cleanly from WT API
  • WT-6528 Remove offensive terminology in WiredTiger API and source code
  • WT-6539 Fix backup and rename memory leak
  • WT-6543 Distinguish Evergreen artifacts links across restarts for testing tasks
  • WT-6551 Avoid a timing problem at the beginning of a test for log preallocation
  • WT-6552 Fix configure flags in evergreen.yml for failing PPC tests
  • WT-6578 Prevent reconciliation from looking past the on-disk value
  • WT-6611 Revert enhancement allowing rename and incremental backup
  • WT-6623 Set the connection level file id in recovery file scan