6.0 Changelog
On this page
6.0.6 Changelog
Security
SERVER-74808 Invariant failure - isVersionInitialized()
Sharding
SERVER-72146 Make chunk migrations metrics more accessible from Atlas
SERVER-72430 MigrationDestinationManager::report() may access null _migrationCloningProgress
SERVER-73229 Logical sessions cache refresh ignores write errors from updating session document, leading to cursors being killed early
SERVER-73441 Make sure shard key bounds are valid when committing moveRange
SERVER-73645 Unhandled exception on BalancerCommandsScheduler
SERVER-73751 movePrimary shouldn't create indexes for sharded collections
SERVER-73877 Wait for shard to have a primary before doing a migration in prepare_transaction_then_migrate.js
SERVER-74380 Router role retry loop should allow namespaces different from the one it was created for
SERVER-75481 Consider ideal data size when balancing
SERVER-76004 Remove incorrect sharding tassert in getOwnershipFilter function
SERVER-76178 Fix moveRange authorization requirements
Query
SERVER-48196 Upgrade the timelib to the latest to update the built-in timezone files to the latest
SERVER-72224 Clustered collections with non-"simple" default collation miss documents when querying on _id using "simple" collation
Write Operations
SERVER-75517 illegal format of _id possible via upsert
Aggregation
SERVER-74930 $avg is returning the sum instead of the average in aggregate $group
Internals
SERVER-51835 Mongos readPreferenceTags are not working as expected
SERVER-54150 Recovery from a stable checkpoint should fassert on oplog application failures
SERVER-57056 Syslog severity set incorrectly for INFO messages
SERVER-61100 Fix multiversion tests that assert last-lts/last-continuous incompatibility
SERVER-64000 Create a unlock/relock scope guard
SERVER-65700 list-append's Evergreen report generator masks failures if a single iteration succeeds
SERVER-66012 Use a WiredTiger version cursor to print metadata of extra index entries during validation
SERVER-66795 Improve throttling on migration batches issued by the Balancer
SERVER-66927 Remove reference to silentFail from mongo repo
SERVER-67105 $in queries do not use clustered index
SERVER-67183 Higher throughput Chunk Migration - reimplement for fetching and insertion
SERVER-67504 Make mongotmock aware that requests can come from different shards
SERVER-67780 Incorrect $group rewrite for timeseries collection when the accumulator uses meta field
SERVER-68328 Add ResumableChangeStreamError label to ReadConcernMajorityNotAvailableYet errors
SERVER-68388 Limit concurrency setting and update server parameter name
SERVER-68648 Enable feature flag
SERVER-68670 Cache imbalanced collections for balancing
SERVER-68841 Enable Black Duck on 6.0
SERVER-69783 use integral type for TTL index test case in ttl_index_options.js
SERVER-69952 Filtering on dates outside of the 32 bit epoch range returns wrong results
SERVER-70640 Add migrationConcurrency to serverStatus
SERVER-70912 All LDAP bind state must be attached to connection object
SERVER-71009 Make sure the select chunks operation doesn't take too long
SERVER-71053 Fix dataSize can be negative and incorrect on rollback
SERVER-71307 Aggregations with $search should fail if the resolved collation is non-simple
SERVER-71636 Explain executionStats does not work for $lookup on sharded collection
SERVER-71792 Log list of cursors a range deletion is going to wait on
SERVER-72107 Parsing strings in KeyString can throw Overflow error
SERVER-72519 Add arm and intel Microbenchmark test variants to Sys Perf
SERVER-72520 Decommission Microbenchmark performance tests that are running on CBI instances
SERVER-72542 fullValidate should not return a count of items
SERVER-72574 Ability to dump lock manager upon lock request timeout
SERVER-72619 Refactor and add more testing for migration_chunk_cloner_source changes
SERVER-72686 Add support for $collStats agg stage on timeseries collection
SERVER-72689 Create feature flag for sharded sort in search on version 6.0
SERVER-72690 Enable feature flag
SERVER-72774 A node in quiesce mode can win election
SERVER-73125 Builtin variable $$NOW is not available in document validation
SERVER-73169 Disallow project_with_collation.js from running in suites that terminate a node
SERVER-73204 Update mongos planning for $search pipelines to support a custom sort
SERVER-73222 Add searchFeatures to planShardedSearch command
SERVER-73264 Fix wrong invariant in MigrationChunkClonerSource::commitClone
SERVER-73383 Defragmentation may start over right after finishing
SERVER-73385 RenameCollectionCoordinator wrongly releases critical section for destination ns.
SERVER-73390 Mitigate database version regression bug on drop database
SERVER-73400 Use -large Evergreen distro for compiling on arm64 in sys-perf project
SERVER-73608 Create skeleton for PinnedConnectionTaskExecutor
SERVER-73610 Introduce connection-leasing from ConnectionPool and NetworkInterface
SERVER-73611 Implement RPC functionality of PinnedConnectionTaskExecutor
SERVER-73613 Let TaskExecutorCursor use pinned transport connections
SERVER-73822 Time-series $group rewrite ignores certain accumulators
SERVER-73854 Add testing for custom sort in $search within $lookup and $unionWith sub-pipelines
SERVER-73869 Increase concurrency suite idle timeout on macos-*
SERVER-73943 Pin code pages in memory in memory constrained systems
SERVER-74038 [Windows] Possible negative performance effects of SetProcessWorkingSetSize in SecureAllocator
SERVER-74045 Allow turning on diagnostic log messages for validate
SERVER-74103 Increase storage log verbosity in oplog_sampling.js
SERVER-74112 Make MongotTaskExecutor's NetworkInterface skip authentication
SERVER-74131 Multiplanning together with subplanning causes server crash in mapReduce queries
SERVER-74156 Package plist files with macosx releases
SERVER-74179 Use initiateWithHighElectionTimeout() in primary_casts_vote_on_stepdown.js to prevent unexpected elections
SERVER-74287 create scons OOM retry tool
SERVER-74303 Add a sizeStorer call to the onRollback handler for dataSize and numRecords changes
SERVER-74345 mongodb-org-server 4.4.19, 5.0.15, 6.0.5 not starting after upgrading from older version (Debian, RPM Packages)
SERVER-74386 Don’t reset recordPreImages on collMod <= 6.0 only
SERVER-74422 Blacklist partial index JS test from multiversion suite on 6.0
SERVER-74449 Single phase index build (index creation with empty collections) does not abort migrations
SERVER-74469 Make the ShardingCatalogManager set the 'validAfter' field of a chunk when it is migrated
SERVER-74501 Fix MigrationBatchFetcher/Inserter completion reliance to not spawn an extra cleanup thread
SERVER-74554 Fix KMIP client interoperability with legacy KMIP Servers
SERVER-74631 Log index spec when validation detects index key inconsistencies
SERVER-74632 Log $collStats output when a collection fails validation
SERVER-74642 Log additional information about the oplog entry that generated a document or index key when printing metadata
SERVER-74647 Resharding state machine creation should be retried after interruption
SERVER-74690 Change Atlas Real variants to use “2022-11” workload client
SERVER-74720 The default 'shardingStatistics' serverStatus section takes locks
SERVER-74845 Create mechanism to ignore ignore fork option with systemd
SERVER-74871 Clean up Jepsen tests
SERVER-74891 Change binary download urls to accommodate 4.0 binaries
SERVER-74895 Expect command errors in validation when querying $collStats, and improve the error message
SERVER-74943 Change assert statement in fle2_contention_update
SERVER-74987 v6.0 multiversion tests should also check 'featureFlagBucketUnpackWithSort50'
SERVER-74997 Reduce the timeout of tlsOCSPVerifyTimeoutSecs to 4 seconds
SERVER-75066 Check for parent directory before writing to SCons cache
SERVER-75082 Make balancer migrations throttling configurable
SERVER-75172 Use unique collection name in partial_index_logical.js
SERVER-75183 Add a server parameter that enables/disables TaskExecutorCursor connection-pinning
SERVER-75205 Deadlock between stepdown and restoring locks after yielding when all read tickets exhausted
SERVER-75243 Disable broken timeseries_lastpoint_top.js test
SERVER-75261 "listCollections" command fails with BSONObjectTooLarge error
SERVER-75299 Reduce severity of BalancerStatsRegistry logs
SERVER-75356 explain command for a find with $expr and let parameters fails if the collection is sharded
SERVER-75360 Include $search result count (total hits) in slow query log
SERVER-75361 Temporarily disable selinux tests in evergreen
SERVER-75369 Fix the overflow of total possible enumeration count in LockstepOr enumeration strategy
SERVER-75417 Complete construction of KillCursorsCommandReply
SERVER-75422 Increase timeout for replica_sets_jscore_passthrough on windows-enterprise-inmem
SERVER-75431 Get rid or fix best effort check for primary db on rename path in sharded clusters
SERVER-75443 PinnedConnectionTaskExecutor::join needs to wait for all networking to finish
SERVER-75444 Do not run multiversion that requires 4.0 on Enterprise Amazon Linux 2 arm64
SERVER-75467 [v6.0] Temporarily disable failing multiversion tests
SERVER-75468 [v6.0] Re-enable multiversion tests after 4.0 bug has been resolved
SERVER-75501 Don't run Sys-perf FCV variants on stable branches
SERVER-75519 Split task sharded_collections_jscore_passthrough due to timeout
SERVER-75521 Tag bucket_unpacking_with_sort tests on 6.0
SERVER-75561 Report and log more detailed information when validate encounters multikey inconsistencies
SERVER-75601 Make serverStatus apiversion field more robust
SERVER-75618 check oplog fast count before restarting server in oplog_sampling.js
SERVER-75639 Remove dedicated executor for moveChunk/moveRange commands
SERVER-75652 Migrate from notary client to garasign for push task
SERVER-75725 Control TaskExecutorCursor's connection-pinning behavior with a server parameter
SERVER-75745 Only log record and index metadata associated with missing or extra index keys
SERVER-75795 Update aws_e2e_ec2.js for evergreen changes to AWS test identity
SERVER-75811 Retry on network errors in fcbis_cannot_vote_twice_same_term
SERVER-75877 Fix unit tests ooming in v6.0
SERVER-75892 Exclude pin_code_segments_on_startup.js from linux platforms without ulimits configured
SERVER-75987 Synchronize the connection and server threads in transport_layer_test
SERVER-76039 PauseDuringStateTransitions guard needs correct initialization in DropsTemporaryReshardingCollectionOnAbort
SERVER-76063 Update the getFreeMonitoringStatus command to always return state: disabled
SERVER-76077 Existing 'bucketSize' field in index spec from removed haystack index prevents server startup
SERVER-76098 Allow queries with $search and non-simple collations
SERVER-76139 sync_source_changes.js should wait for node to no longer be newly added before asserting on selected sync source
SERVER-76172 Fix BalancerChunkSelection unit test on slow build variants
SERVER-76241 Add search_pinned_connections_auth to relevant tasks in evergreen_nightly.yml on 6.0
SERVER-76273 SessionCatalogMigrationDestination is not interruptible on stepdown
SERVER-76274 Move microbenchmarks to their own task distro
SERVER-76321 Buffer overrun while deserializing compound group key spilled to disk in SBE hash agg implementation
SERVER-76446 [v6.0]Schedule the non-microbenchmark sys-perf tasks to run monthly on 6.0
SERVER-76498 Update push task to run on rhel8.7-small
SERVER-76502 Make isEnabled checks for featureFlagUserWriteBlocking safe
SERVER-76519 MIgrate crypt_push task to Garasign
SERVER-76549 Remove symbolization from macos variants
SERVER-76550 Balancer is unable to drain shards with big chunks
WT-8932 Investigate slow run of unit-test on PPC host
WT-9481 Fix compilation warnings with debug builds
WT-9661 Add retry on rollback for insert cursor API call
WT-10133 Consider retry on rollback for more cursor API calls
WT-10197 Track eviction timeline
WT-10253 Run session dhandle sweep and session cursor sweep more often
WT-10288 Print the stack traces of core dumps from Evergreen testing for 6.0
WT-10384 Mirror mismatch in test format
WT-10447 cppsuite-hs-cleanup-stress: no space left on device (6.0)
WT-10487 Failing many-collection-test task on large-scale-tests
WT-10551 Incremental backup may omit modified blocks
WT-10585 Record the location of the last key in key order check
WT-10900 Segmentation fault on unit-test-macos on macos-1100
WT-10932 Disable many-collection-test on release branches
6.0.5 Changelog
Sharding
SERVER-71219 Migration can miss writes from prepared transactions
SERVER-71368 Stop excluding tests that drop collection/database in sharded suites
SERVER-72430 MigrationDestinationManager::report() may access null _migrationCloningProgress
SERVER-73916 Improve ReshardingTest fixture error reporting when reshardCollection has already failed before any failpoints are waited on
SERVER-74124 Disallow sharding with wildcard shard key pattern
Query
SERVER-73534 Serialization of 'sbe::TypeTags::ArraySet' to 'KeyString' can segfault
Build and Packaging
SERVER-38232 Mongod on Ubuntu 16/18 does not create a pid file
Internals
SERVER-49705 'permitted' file may have been deleted by 'after_test'
SERVER-53870 Improve view creation performance over time
SERVER-54284 ExceptionFor<ErrorCodes::WriteConflict> should resolve to WriteConflictException
SERVER-61909 Hang inserting or deleting document with large number of index entries
SERVER-65990 Test BUS w/ changing BucketMaxTimeSpan
SERVER-66050 findSelfInConfig should attempt fast path for every HostAndPort before trying slow path
SERVER-66355 Pass dbName to validateViewDefinitionBSON in DurableViewCatalog::onExternalInsert
SERVER-66374 Exclude fle2_retryable_writes from large transactions format builder
SERVER-66469 Filtering timeseries with date-field does not include results from before 1970
SERVER-66793 Disable bucket unpacking with sort for clustered collections with out of order buckets
SERVER-66836 Make restarting from failpoint atomic in FCBIS
SERVER-67111 Investigate fixes to testClusteredTailableCursorCappedPositionLostWithTTL
SERVER-67183 Higher throughput Chunk Migration - reimplement for fetching and insertion
SERVER-67416 Always sort fieldpath string sets using custom comparator
SERVER-67446 Ensure consistent wildcardProjection and columnstoreProjection specs in catalog
SERVER-67722 Shard cursor is not killed on MaxTimeMSExpired
SERVER-67950 Make stronger assertions in bucket_unpacking_with_sort_granularity_change.js
SERVER-68122 Investigate replicating the collection WiredTiger config string during initial sync
SERVER-68388 Limit concurrency setting and update server parameter name
SERVER-68434 Equality to null can incorrectly use a cached partial ixscan which does not cover the predicate
SERVER-68594 Add vscode format/lint on save
SERVER-68647 Create feature flag
SERVER-68648 Enable feature flag
SERVER-68739 Add WiredTiger session statistic without affecting slow op statistics
SERVER-68836 Properly handle NaN and 0 in for LDAPTimeoutMS
SERVER-69648 [SBE] Improve
visit(ExpressionConcatArrays*)
andvisit(ExpressionObject*)
SERVER-69902 Stop bucket_unpacking_with_sort_plan_cache.js from running in parallel with fsyncLock tests
SERVER-70167 Resumed create coordinator may incorrectly try to release the critical section
SERVER-70219 Use "linearizable" readConcern for spill_to_disk_secondary_read
SERVER-70321 Collmod coordinator must not resume migrations on retriable errors
SERVER-70360 Do not allow extremely large write concern wTimeout values
SERVER-70369 Create serverParameter for migrationConcurrency
SERVER-70395 Slot-Based Engine too aggressively uses disk for $group and is slow
SERVER-70427 Remove chef+kitchen package test infrastructure
SERVER-70566 Make assertion in backup_restore.js print error code
SERVER-70640 Add migrationConcurrency to serverStatus
SERVER-70747 Rename collection used in bucket_unpacking_with_sort_extended_range.js
SERVER-70830 Unit test WiredTigerOperationStats
SERVER-71049 crypt_shared emits log messages to stdout when loaded by libmongocrypt
SERVER-71053 Fix dataSize can be negative and incorrect on rollback
SERVER-71068 Partial indexes should not check FCV during startup
SERVER-71328 Ensure correct filtering metadata on donor shard after multiple failures
SERVER-71392 Track usage of JSON Schema for validation
SERVER-71608 Segmentation fault: in mongo::LockManager::lock
SERVER-71632 Re-enable dropDatabase FSM test in stepdown suites
SERVER-71680 $operationMetrics fails to account for "keysSorted" or "sorterSpills" when $group is pushed down to SBE
SERVER-71750 Revert refactor into handleWriteConflictException in writeConflictRetry loop
SERVER-71751 Skip transaction_too_large_for_cache.js for in-memory variants
SERVER-71771 Defragmenter should cap chunk size estimation
SERVER-71840 Change assert.eq statement in fle2_contention_update
SERVER-71924 Reduce verbosity of chunk merge change log event
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-72046 Concurrent chunk migration testing
SERVER-72182 Consider adding Enterprise RHEL 8.0 (large transactions format) build variant to mongodb-mongo-v6.0 Evergreen project
SERVER-72185 TSBS perf test definition depends on a personal github repo
SERVER-72194 oplog_rollover.js should wait for the durable timestamp to advance
SERVER-72449 backup_restore.js should check for code 2 when killing child resmoke client
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-72576 Notarize archive-dist binaries on macOS
SERVER-72619 Refactor and add more testing for migration_chunk_cloner_source changes
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-72827 Filter out historic runtimes of non-passing tests
SERVER-72831 Fix use after move in sharding_util::processShardResponses
SERVER-72868 Complete TODO listed in SERVER-30949
SERVER-72877 Mongos retargeting logic in stepdown hooks should skip views
SERVER-73003 Use correct project when getting historical test runtime data
SERVER-73009 Decreasing order sort on clustered collections on replica sets returns increasing order
SERVER-73110 bucket_unpacking_with_sort_extended_range.js fails in sharded passthrough
SERVER-73157 Move out_max_time_ms tests to serial_run suite
SERVER-73164 increase maxTimeMS for index build in index_max_time_ms.js
SERVER-73176 Only print error message if there were in fact errors in getHostFQDNs
SERVER-73183 WiredTigerKVEngine::getSanitizedStorageOptionsForSecondaryReplication should skip inMemory
SERVER-73216 Upgrade BlackDuck to Detect v8
SERVER-73228 Remove active directory server from jstests/external_auth/ldap_mongos_health_checking.js
SERVER-73232 Change the default log-verbosity for _killOperations
SERVER-73235 Replace invariant with uassert in geometry_container
SERVER-73264 Fix wrong invariant in MigrationChunkClonerSource::commitClone
SERVER-73266 Deadlock among createIndexes, index build commit, and step down
SERVER-73368 Evergreen push task is failing to update v6.0-latest tarball in S3
SERVER-73389 Checkpoint vector clock in drop database coordinator
SERVER-73390 Mitigate database version regression bug on drop database
SERVER-73398 Invariant may be hit when downgrading from v6.0 due to moveChunk request without max key
SERVER-73481 Validate does not detect out-of-order keys with {full: false}
SERVER-73520 [6.0] Backport setProfilingFilterGlobally command
SERVER-73598 Extend FLEQueryInterface to test if a document exists by id
SERVER-73636 Coverity analysis defect 135025: Inefficient vector resizing with reserve.
SERVER-73697 Do not split out match expression on meta field when it's not renameable
SERVER-73706 Save WTRecordStoreUassertOutOfOrder fail point state to prevent concurrency bugs in testing
SERVER-73707 Evergreen timeout calculation fixes and cleanups
SERVER-73719 Comment out Legacy Build Variants in Sys-perf
SERVER-73745 Zero initialize IndexKeyBucket struct
SERVER-73852 Allow timeseries bounded-sort optimization on 5.0, on 6.0 binary
SERVER-73904 Update FreeBSD spidermonkey configuration
SERVER-73905 Implement getCurrentNativeThreadId for FreeBSD
SERVER-73938 Make sure chunk migration can handle a retryable internal transaction whose oplog entries have been truncated
SERVER-73998 Fix system_perf.yml and perf.yml microbench buildvariant definitions
SERVER-74097 Sharded find with expected collection UUID does not handle all cases of concurrent DDL operations
SERVER-74335 Spill to disk tests for $group must be tagged as "requires_persistence" on the v6.0 branch
WT-8848 Add API to roll back and indicate that a transaction has exceeded a configurable limit of pinned dirty data
WT-8981 Enable evergreen testing for RHEL8 on PPC
WT-9774 Avoid rolling back transactions in test_stat08 and re enable the test
WT-9879 Fix overcounting of session txn dirty bytes statistic
WT-10027 Session txn dirty statistic is incorrect
WT-10461 Fix key out of order in skip list on weakly ordered architecture
WT-10506 Introduce stable toolchain cmake files that point to the latest
WT-10584 Add missing read barriers in __cursor_skip_prev
6.0.4 Changelog
Sharding
SERVER-68361 LogTransactionOperationsForShardingHandler::commit misses transferring documents from prepared and non-prepared transactions changing a document's shard key value
SERVER-69874 Document or possibly mitigate scenario where shards end up with different prepareUnique and unique index settings
SERVER-70793 Make database metadata refresh first check new metadata under the IS lock before taking X lock
SERVER-71092 shard_id_test.cpp relies on a pure behavior of std::string::compare function
SERVER-71689 Refresh the CatalogCache before dropping the local collection
SERVER-72301 Use ordered:false when inserting chunks in optimized path of create collection
Query
SERVER-58712 Inconsistent update performance on collections with multiple secondary indexes on same key
Operations
SERVER-67704 Add count of cpu sockets to FTDC metadata
SERVER-67705 Add count of NUMA zones to FTDC metadata
Internals
SERVER-60455 serverStatus metrics for external sorter
SERVER-60829 Tenant donor shouldn't use donorAbortMigration cancellation token when writing commit decision
SERVER-62300 Platform Support: Add support for Ubuntu 22.04 x86
SERVER-63104 Make it easy to run jsCore locally again in a world with tests tagged by feature flag
SERVER-65177 Elapsed initial sync time in TestRemainingInitialSyncEstimatedMillisMetric unit test can be 0 ms
SERVER-65259 Cursor leak in aggregation that requires merging on shard
SERVER-65385 Disable threshold checks for Google Microbenchmarks on DEBUG/Sanitizer variants
SERVER-66337 Ensure that check for the interrupt is done on every getNext() call in datasize_kill_op.js
SERVER-66466 Remove TransportLayerASIOTest dependence on ThreadContext
SERVER-66570 Timeseries pushes down metaField-projections that can change semantics
SERVER-66920 Crash in debug builds due to WiredTigerIndexCursorBase::seekWTCursor assertion not following search_near comparison semantics
SERVER-67290 Repair doesn't handle recordIds correctly for clustered collections
SERVER-67406 Sorting a cursor on sharded coll returns documents that are missing $-prefixed fields
SERVER-67795 Add serverstatus tracking to know how many users use updateMany and DeleteMany
SERVER-67898 BalancerCollectionStatus return wrong chunk size for session collection
SERVER-68125 Index build on multi-key fields can consume more memory than limit
SERVER-68338 sync_source_changes.js needs to wait for heartbeat
SERVER-68500 multiversion tag files are not correctly excluding tests in CI
SERVER-68576 We need to know how many sharded collections exist in a cluster
SERVER-68769 If a shard key index cannot be dropped then a user should not be able to hide that index
SERVER-68853 Remove invariant that a session stat needs to be a slow op stat
SERVER-68901 Incorrect $elemMatch query analysis in mongocryptd if document contains 2 different fields with the same name
SERVER-69160 Make ShardingTest wait for FCV initialization before running getClusterParameter tests
SERVER-69497 Have internal_sessions_reaping_basic.js oplog application use batches of size 1
SERVER-69603 Do not report drop events as part of shardCollection
SERVER-69890 Concurrent movePrimary and removeShard can move database to a no-longer existent shard
SERVER-69902 Stop bucket_unpacking_with_sort_plan_cache.js from running in parallel with fsyncLock tests
SERVER-69944 Resmoke's globstar.py does not properly parse
*
before**
SERVER-70024 ldap_provider_check.js needs to be updated for rhel9
SERVER-70100 Ensure that shardCollection emits an oplog event on commit time at least once in case of step-down
SERVER-70139 listCollection returns duplicate view names
SERVER-70158 Fix undefined argument order for $atan2 in SBE
SERVER-70237 Chunks merge commit must not create a BSON object too large
SERVER-70323 Convert invariant to tassert in collection_sharding_runtime
SERVER-70394 Fix self-swap in MultiPlanStage::removeRejectedPlans
SERVER-70553 Add module support to the mongo test runner
SERVER-70594 Add updated build variants to sys-perf
SERVER-70694 Platform Support: Add support for RHEL9 ARM64
SERVER-70720 Evergreen for WT should capture parent process id as part of top output
SERVER-70768 balancer use wrong chunk size for jumbo chunks
SERVER-70973 Balancer should stop iterating collections when there are no more available shards
SERVER-71006 Small window of inconsistency for reads after turning index to multikey
SERVER-71020 Ensure aborting time series batch eventually removes bucket from catalog
SERVER-71055 OplogOrder test can read stale all_durable timestamp after rolling back oplog entries
SERVER-71089 Run signing tasks on a single distro
SERVER-71094 Handle other transient election failures in fcbs_election_during_storage_change
SERVER-71139 Ensure indexes with simple collation are created correctly during initial sync
SERVER-71167 txn_index_catalog_changes.js session garbage collection can deadlock with fsync lock in consistency checks
SERVER-71191 Deadlock between index build setup, prepared transaction, and stepdown
SERVER-71225 Make sure collation.js does not change 'db'
SERVER-71247 DocumentSourceBackupFile should ensure backup cursor is open before returning data
SERVER-71249 Remove buildvariant task overrides for .publish tags
SERVER-71328 Ensure correct filtering metadata on donor shard after multiple failures
SERVER-71399 Jumbo chunk flag isn't automatically cleared after a chunk split
SERVER-71424 Fix failures in lint_fuzzer_sanity
SERVER-71435 Increse verbosity level for range-deleter in resmoke
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-71467 Dont run feature flag specific tests for multiversion testing
SERVER-71471 Improve jstestfuzz deployment to work with new node run/install
SERVER-71473 Begin using the new test stats location
SERVER-71477 Check '_internalAllCollectionStatsSpec.getStats()' exists (boost::optional) before calling 'makeStatsForNs' in 'document_source_internal_all_collection_stats.cpp'
SERVER-71479 Merging chunks must not set validAfter to the current wall time
SERVER-71518 Use S3 test stats in mongo-task-generator
SERVER-71534 lint_fuzzer_sanity_all regression caused by running multiple instances of npm
SERVER-71568 Fix race condition related to ChangeStreamOptions access
SERVER-71597 Fix race condition on createDatabase for case sensitive dbName
SERVER-71609 splitOrMarkJumbo must not over-split chunks
SERVER-71614 Add a case to accept to hide an index if it is not compatible with shard key
SERVER-71632 Re-enable dropDatabase FSM test in stepdown suites
SERVER-71638 Don't let to hide the last shard key index using a key pattern
SERVER-71666 Reduce number of scanned index entries on chunk migration commit
SERVER-71668 Move isLastNonHiddenShardKeyIndex check after hide index on system collection and hide _id index in coll_mod.cpp
SERVER-71691 Error 5643004 when using $setWindowFields in a facet
SERVER-71726 Increase timeout of server_discovery_and_monitoring_json_test
SERVER-71756 Defragmentation policy should issue dataSize commands with estimate true
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-71771 Defragmenter should cap chunk size estimation
SERVER-71787 Balancer needs to attach forceJumbo to moveRange command
SERVER-71788 Defragmentation should handle ChunkTooBig errors
SERVER-71880 _shardsvrDropCollectionParticipant with fromMigrate=true does not abort index builds
SERVER-71921 Task update_timeseries_fuzzer times out on some variants
SERVER-71924 Reduce verbosity of chunk merge change log event
SERVER-71939 Update BucketCatalogTest::Task class with failpoint
SERVER-71982 Add directConnection=True to standalone.py for multiversion testing
SERVER-72005 Enable TSBS on 2022-11 sys-perf variants
SERVER-72011 Add the ability to load js files to fsm worker threads.
SERVER-72021 Fix Enterprise SLES 12 crypt_create_lib Evergreen Failure
SERVER-72065 The logical sessions cache cannot be refreshed in secondary nodes of the CSRS
SERVER-72091 Enable auth-delay sys-perf variant
SERVER-72176 MetadataManagerTest must reset orphanCleanupDelaySecs to the default value on teardown
SERVER-72222 MapReduce with single reduce optimization fails when merging results in sharded cluster
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-72408 Default timeout for receiveChunkWaitForRangeDeleterTimeoutMS is too low at agg_collstats_expr.js
SERVER-72416 The find and findAndModify projection code does not honor the collection level collation
SERVER-72422 FCBIS may never truncate the oplog
SERVER-72423 FCBIS will never delete drop-pending tables
SERVER-72483 Disable KMIP tests on s390x
SERVER-72506 Fix key error in benchmarks analysis script
SERVER-72533 Shards must send validAfter field on _configsvrCommitChunksMerge on v6.0
SERVER-72535 Sharded clusters allow creating the 'admin', 'local', and 'config' databases with alternative casings
SERVER-72581 Increase timeout for replica_sets_jscore_passthrough on macos-arm64 variant
SERVER-72613 Speed up taking core dumps with the hang analyzer
SERVER-72831 Fix use after move in sharding_util::processShardResponses
SERVER-72877 Mongos retargeting logic in stepdown hooks should skip views
WT-9268 Delay deletion of the history store record to reconciliation
WT-9428 Fix two asserts in rec_visibility.c
WT-9592 Rollback to stable should also clear WT_UPDATE_TO_DELETE_FROM_HS flag
WT-9637 WiredTiger strict compilation failure with gcc-11 on ubuntu 22.04
WT-9705 Fix accidentally freeing update on the update chain in prepared commit
WT-9751 Fix a memory leak in reconciliation after aborted eviction
WT-9765 Fix handling a prepared commit after a prepared rollback with eviction failure
WT-9805 Save the updates need to be deleted from history store and delete them later
WT-10062 Fix checkpoint cleanup not to skip the internal pages
WT-10081 Fix failure format configs for older branch
WT-10250 Remove certain Evergreen builders for release branches
WT-10291 Ensure failure configs task executes test format once per configuration.
6.0.3 Changelog
Security
SERVER-68371 Enabling CSFLE in your MongoClient causes Atlas Search to fail
SERVER-70559 tag FLE2 tests such that they do not run with stepdown suites
Sharding
SERVER-63668 Guard the chunk splitter behind the no more auto-splitter feature flag
SERVER-66916 The range deleter configuration parameters are not dynamically changeable
SERVER-67466 Internal transactions API may be memory unsafe when outer OperationContext is interrupted
SERVER-67891 Implement basic structure of $shardedDataDistribution stage
SERVER-68139 Resharding command fails if the projection sort is bigger than 100MB
SERVER-68249 Add required privileges on the $shardedDataDistribution aggregation stage
SERVER-68869 A retry of _configSvrReshardCollection can succeed causing resharding_coordinator_recovers_abort_decision.js to fail
SERVER-69134 Dropping a sharded collection doesn't get rid of the CSS entry
SERVER-69429 Missing checks in collMod for shard key and unique index
SERVER-69444 Make the joining of concurrent critical section and refresh look the same between DSS and CSS
SERVER-69700 Replication rollback fails resharding_coordinator_recovers_abort_decision.js
SERVER-69756 Segmentation fault on abortReshardCollection issued right after reshardCollection cmd
SERVER-69897 Exclude internal_transactions_setFCV.js FSM workload from concurrency_simultaneous_replication*.yml test suites
SERVER-70364 Retry configureFailPoint command on network error (resharding_coordinator_recovers_abort_decision.js)
SERVER-70373 Invariant failure in case resharding metrics are not restored
SERVER-70793 Make database metadata refresh first check new metadata under the IS lock before taking X lock
SERVER-70852 Recommit SERVER-66716 on v6.0
SERVER-71092 shard_id_test.cpp relies on a pure behavior of std::string::compare function
Replication
SERVER-69861 Uninterruptible lock guard in election causes FCBIS to hang
Query
SERVER-60141 Upgrade timelib to 2021.09 or later
SERVER-66289 $out incorrectly throws BSONObj size error on v5.0.8
SERVER-70190 ExpressionSwitch::optimize() can leave expression tree in an invalid state leading to invariant failure
SERVER-70381 _internalSearchIdLookup stage violates a 5.0 precondition of the getOwnershipFilter function
Operations
SERVER-67793 log_progress_msg in init.d does not print message
Build and Packaging
SERVER-48203 Support --install-action for Ninja builds
SERVER-67715 Change stream reader requires double escaping regexes
SERVER-69507 Rpath should only be set on dynamic builds
Internals
SERVER-57417 Enable NoMoreAutoSplitter Feature flag
SERVER-60753 Removing index build entries from 'config.system.indexBuilds' can make mixed mode writes
SERVER-60829 Tenant donor shouldn't use donorAbortMigration cancellation token when writing commit decision
SERVER-62300 Platform Support: Add support for Ubuntu 22.04 x86
SERVER-62302 Platform Support: Add support for RHEL9 x86
SERVER-62760 Add information to query log line indicating when the new optimizer is used
SERVER-63811 mongos returns no results for $documents if the database doesn't exist
SERVER-64319 Coverity analysis defect 121642: Parse warning
SERVER-65191 Run StorageEngineRepairTest with wiredTiger
SERVER-65816 Change balancer policy to balance on data size rather than number of chunks
SERVER-66078 Adapt sessions collection balacing policy to data-size aware balancing
SERVER-66208 Remove chunk creation for shard collection with existing data
SERVER-66378 Adapt tests skipped when featureFlagBalanceAccordingToDataSize is enabled
SERVER-66525 errexit prevents capturing pip install log
SERVER-66614 Speed up unit tests on macOS
SERVER-66747 Increase deadline to wait for balancing in jstests/sharding/authCommands.js
SERVER-66753 Change BalancerPolicy::_getLeastLoadedReceiverShard currentMin type
SERVER-66781 Enable BalanceAccordingToDataSize feature flag
SERVER-66827 Balancer may skip a round if last randomly selected collection has balancing disabled
SERVER-66834 Zones created by defragmentation_util.js must always align with chunks
SERVER-66835 [test-only bug] Compare number of chunks in balancing_based_on_size.js
SERVER-66913 configureCollectionBalancing() should return NamespaceNotSharded when the requested collection cannot be processed
SERVER-66972 Database critical section does not serialize with ongoing refreshes
SERVER-67231 Use assert.adminCommandWorkedAllowingNetworkError in fcbis_fails_if_backup_cursor_is_already_open_on_sync_source.js
SERVER-67301 Balancer may perform one unnecessary migration for a completely balanced collection
SERVER-67346 Disable autosplit on config.system.sessions when upgrading the cluster to avoid crashes on shard primaries
SERVER-67619 Increase the build frequency of the s390x variant
SERVER-67681 Create specific target for compile commands
SERVER-67733 ShardingTest::awaitBalancerRound() doesn't work in case of CSRS stepdowns
SERVER-67739 tenant_migration_donor_retry.js state docs can be cleaned up prior to assertions against them
SERVER-67809 Execute insert_with_data_size_aware_balancing.js in stepdown suites
SERVER-67813 Review "requires_fcv_61" tags when data size aware balancing lands in v6.0
SERVER-67898 BalancerCollectionStatus return wrong chunk size for session collection
SERVER-68115 Bug fix for "elemMatchRootLength > 0" invariant trigger
SERVER-68157 AuditEncryptionCompressionManager::encryptAndEncode should emit big BSON
SERVER-68233 MongoShell numberDecimalsAlmostEqual(NumberDecimal(0), NumberDecimal(0)) returns false
SERVER-68394 Ensure we do not yield strong locks upon startup recovery when _id index is missing
SERVER-68484 Increase threshold to consider a collection balanced in balancing_based_on_size.js
SERVER-68541 Concurrent removeShard and movePrimary may delete unsharded collections
SERVER-68893 Remove unnecessary ticketholder benchmarks
SERVER-69001 Initial sync should set the minValid document to the "stopTimestamp"
SERVER-69037 SBE plan cache size calculation is slightly off
SERVER-69069 InTel would like to be able to specify a subset of collections in the data-size distribution API
SERVER-69133 remove redundant setting of hardlink install action
SERVER-69136 Tests should consider balancerCollectionStatus may report balancerCompliant too early
SERVER-69160 Make ShardingTest wait for FCV initialization before running getClusterParameter tests
SERVER-69224 Skip AuditEncCompManagerTest.EncryptAndEncodeLargePayloadSucceeds When GCM not supported
SERVER-69281 Force minimum ninja version
SERVER-69348 Commands must declare empty auth checks to be universally callable
SERVER-69353 Generate burn_in tasks separately
SERVER-69380 $_internalUnpackBucket stage can incorrectly swap with a $project if an inclusion projection has already been absorbed
SERVER-69389 Command checkAuthorization may throw ErrorCodes::NamespaceNotFound for existing collection while trying to resolve UUID to namespace when the node is shutting down.
SERVER-69446 Increase electionTimeoutMillis in jstests/replsets/dbcheck_write_concern.js
SERVER-69447 Add a query knob to control version of Cost Model coefficients
SERVER-69465 Accept same specs for $_internalAllCollectionStats as $collStats
SERVER-69603 Do not report drop events as part of shardCollection
SERVER-69784 Fix instances of signed char misuse
SERVER-69793 Disable memory underflow check in the query system
SERVER-69849 [v6.0] Delete FifoBasicMetrics unit test
SERVER-69868 Return an error when starting a TransportLayer that is shutdown
SERVER-69898 Wait for the critical section catch-up phase before refreshing the DB version
SERVER-69912 SConstruct is executable by mistake
SERVER-69917 Implement _clusterWriteWithoutShardKey command
SERVER-69926 errorcodes.py doesn't detect duplicate errors in MONGO_UNREACHABLE_TASSERT
SERVER-69929 Skip Strict API testing if required feature flags are not enabled
SERVER-69930 Unexpected error message in the logs attempting to refresh the version of a dropped database
SERVER-70062 Log pertinent info about oplog entries in oplog rolled over restore failure
SERVER-70170 Update ssl_helpers.js for Amazon 2022
SERVER-70181 Ubuntu and Debian package tests failing in Server master
SERVER-70209 List new timelib library in 3rd-party components
SERVER-70211 Remove applying overrides boilerplate code in CostModelManager
SERVER-70226 rhel9 Support for YUM publishing
SERVER-70274 Improve performance of change stream pre-images purging job by leveraging EOF filter
SERVER-70299 Remove JSON.send command usage
SERVER-70314 Adjust time series extended range tests to account for log retention limitations
SERVER-70348 Remove EAGAIN for queryable WT and retry internally
SERVER-70361 OperationContext wait should handle out of range durations
SERVER-70436 Restrict cases where isCoveredNullQuery can apply
SERVER-70469 Use virtual env python in watchdog tests
SERVER-70475 Fix signed integer comparison issue in older boost thread library
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-70602 Handle faulty balancerCompliant reporting by waiting for some no-op balancing rounds
SERVER-70725 Cluster aggregate may incorrectly result in CollectionUUIDMismatch if fetching routing info fails
SERVER-70814 Remove const qualifier in _createCmdObj() method signature
SERVER-70834 fix tasks which don't use scons cache from reporting failure
SERVER-70864 Get rid of fine grained scoped range deleter lock
SERVER-70879 Fix race where multiple threads are turning an index multikey concurrently
SERVER-71112 Fix count of resharding errors in Resharding Recipient unit test
WT-9792 Fix RTS to remove globally visible update of the data store update from the history store
WT-9926 A crash during startup from backup can lose metadata
6.0.2 Changelog
Security
SERVER-66554 Make FLE2 suites work with stepdown and kill_primary suites
Sharding
SERVER-61035 Increase zones in 'resharding_large_number_of_initial_chunks.js' to 175,000
SERVER-61985 resharding_coordinator_recovers_abort_decision.js may report resharding operation as succeeding due to primary shard retrying _configsvrReshardCollection and running a second resharding operation
SERVER-66331 Additional $searchMeta test coverage
SERVER-67193 Ensure Coordinator Began Resharding Before setFCV in setfcv_reshard_collection.js
SERVER-68094 Resharding with custom generated _id fails with projection error
SERVER-68139 Resharding command fails if the projection sort is bigger than 100MB
SERVER-68495 Resharding a collection with a very large number of zones configured may stall on config server primary indefinitely
SERVER-68628 Retrying a failed resharding operation after a primary failover can lead to server crash or lost writes
SERVER-68728 Add addl. activation condition for interruptBeforeProcessingPrePostImageOriginatingOp fail point
SERVER-68869 A retry of _configSvrReshardCollection can succeed causing resharding_coordinator_recovers_abort_decision.js to fail
SERVER-68890 Remove error code conversions in the MigrationSourceManager commit path