6.0 Changelog
On this page
6.0.13 Changelog
Sharding
SERVER-50792 Return more useful errors when a shard key index can't be found for shardCollection/refineCollectionShardKey
SERVER-73763 Resharding does not extend zone ranges for config.tag docs, leading to config server primary fassert loop from duplicate key error
SERVER-82838 ReshardingOplogApplier uses {w: "majority", wtimeout: 60000} write concern when persisting resharding oplog application progress
SERVER-82883 Recovering TransactionCoordinator on stepup may block acquiring read/write tickets while participants are in the prepared state
SERVER-82953 CreateCollectionCoordinator::checkIfOptionsConflict should be more verbose
SERVER-83146 Bulk write operation might fail with NamespaceNotFound
SERVER-83775 Do not balance data between shards owning more than the ideal data size
Replication
SERVER-70155 Add duration of how long an oplog slot is kept open to mongod "Slow query" log lines
Storage
SERVER-33494 WT SizeStorer never deletes old entries
Internals
SERVER-62955 Add a no-op oplog entry for reshardCollection command
SERVER-65666 Do not create chunks on draining shards when sharding a new collection
SERVER-65908 Update fields for reshardCollection noop message
SERVER-67766 Log index and collection successful drop
SERVER-69615 Rollback fuzzing in WiredTiger leads to size storer marked dirty at shutdown
SERVER-70338 Query yield accesses the storage engine without locks during shutdown and rollback
SERVER-70974 Fix early-exits triggered when user specifies TCP Fast Open server parameters
SERVER-71923 Emit change log event for ConfigureCollectionBalancing invocations
SERVER-72683 increase timeout in disk/directoryperdb.js
SERVER-73439 Make the $inProg filter in the setup for the killop test more specific
SERVER-74074 Exclude auth consistency workloads from concurrency simultaneous suites
SERVER-75033 Capture core dumps from test failures on macOS
SERVER-76560 Time series collections not always honoring expireAfterSeconds correctly
SERVER-77311 Add a new log message when a secondary node is skipping a two-phase index build with a subset of indexes built
SERVER-77506 Sharded multi-document transactions can mismatch data and ShardVersion
SERVER-77827 Allow restore role to drop system.views
SERVER-77926 Add LSAN suppressions for executor worker threads
SERVER-78009 shardSvrCommitReshardCollection command should fail recoverably if the node is shutting down
SERVER-79235 rolling_index_builds_interrupted.js checkLog relies on clearRawMongoProgramOutput
SERVER-79864 TTL deleter does not correctly handle time series collections with extended range dates
SERVER-79982 Batched catalog writers can run concurrently with HistoricalCatalogIdTracker::cleanup() and lead to incorrect PIT find results.
SERVER-80660 Log a summary of where mongodb spent time during startup and shutdown
SERVER-80789 Make AutoGetOplog behave consistently in replica set node started as standalone
SERVER-80974 Unclean shutdown while dropping local.* collection and indexes can make the catalog inconsistent
SERVER-81028 Incorrect $listCatalog behavior in presence of a concurrent collection rename in v7.0
SERVER-81046 add requireSequenceTokens to SearchCommand.CursorOptions
SERVER-81133 Speedup logic to persist routing table cache
SERVER-81143 export_import_concurrency.js should check for code 2 when killing child resmoke client
SERVER-81375 Disable internal transactions resharding tests in CSRS stepdown suite
SERVER-81442 Poke WT oplog reclamation thread periodically
SERVER-81606 Exclude untimestamped catalog durability test from in-memory variants
SERVER-81949 Sync from 10gen/mongo to mongodb/mongo on v4.4 with copybara
SERVER-82043 Enhancement of Commit Message Validation for 10gen/mongo Commits
SERVER-82073 Fix merge chunk command generation in collection_defragmentation.js
SERVER-82111 In sharded_agg_helpers.cpp move invariant below response status check
SERVER-82197 Incorrect query results in SBE if $group spills in presence of collation
SERVER-82223 Commit handler in FCV op observer is susceptible to interruption
SERVER-82365 Optimize the construction of the balancer's collection distribution status histogram (2nd attempt)
SERVER-82368 Match top/bottom N accumulators in SBE and Classic
SERVER-82391 [v4.4] Only allow github Apps Copybara Syncer: 10gen-to-Mongodb to syncs new commits to mongodb/mongo
SERVER-82437 db.collection.getSearchIndexes(<indexName>) returns duplicate index
SERVER-82447 $project incorrectly pushed down on timeseries when $project uses $getField on a measurement field
SERVER-82449 [v4.4] Optimize copybara sync behavior for specific no-change scenarios
SERVER-82555 Use shallow clone to speed up performance tests
SERVER-82640 Upload mongod --version output to S3 during server compilation in Evergreen
SERVER-82708 Update variants used to performance test stable branches
SERVER-82730 The validate cmd can invariant on corrupted keystrings
SERVER-82781 Simulate crash test hook may leave behind part of file when copying data
SERVER-82967 Stepdown after calling ActiveIndexBuilds::registerIndexBuild() during index build setup doesn't unregister itself
SERVER-83091 $or query can trigger an infinite loop during plan enumeration
SERVER-83099 LDAPTimer::setTimeout may run callback inline
SERVER-83107 Add 'type' field to search IndexDefinition struct
SERVER-83161 Fix concurrent read to _errMsg from MigrationDestinationManager without acquiring mutex
SERVER-83283 Modify copybara script to send slack message on failure
SERVER-83336 Temporarily disable wt_size_storer_cleanup_replica_set.js on macOS
SERVER-83354 Schedule copybara instance after each commit made
SERVER-83389 aggregation_optimization_fuzzer fails on 6.0 and 7.0 with a disabled disablePipelineOptimization failpoint
SERVER-83485 Fix multikey-path serialization code used during validation
SERVER-83494 [7.0] Fix range deleter unit test case
SERVER-83567 Push in classic stores missing values.
SERVER-83592 Add resmoke flag --enable_enterprise_tests enable enterprise js tests
SERVER-83655 Restore legal client ns exception for admin.system.new_users
SERVER-83830 On Enterprise build creating a collection in a replica set with the storageEngine.inMemory option breaks secondaries
SERVER-83866 Update BACKPORTS_REQUIRED_BASE_URL from mongodb/mongo to 10gen/mongo
SERVER-83874 Move primary operation doesn't drop db.system.views on the donor
SERVER-83916 Add LSAN Suppression for threads leaked by unjoined thread pools
SERVER-83993 timeseries_union_with.js fails intermittently in retryable_writes_downgrade suites on v6.0
SERVER-84013 Incorrect results for index scan plan on query with duplicate predicates in nested $or
SERVER-84130 Incorrect bucket-level filter optimization when some events in the bucket are missing the field
SERVER-84353 The test for stepDown deadlock with read ticket exhaustion is flaky
WT-11121 failed: format next returned OOO key
WT-11186 Restore ignore_prepare semantics to read with read_committed isolation instead of read_uncommitted
WT-11491 Log the WiredTiger time spent during startup and shutdown
WT-11774 Add diagnostic stat to investigate eviction server's inability to queue pages
WT-12036 Workaround for lock contention on Windows
WT-12147 Temporarily disable clang-analyzer
6.0.12 Changelog
Sharding
SERVER-77479 Sharded rename participants may incorrectly snapshot/restore pending range deletion documents
Storage
WiredTiger
WT-11818 Potential corruption of block list
Internals
SERVER-67622 Optimize timeseries_dotted_path_support functions
SERVER-69244 $merge fails when session default read concern has been set to "majority"
SERVER-71819 Broadcast collMod command to all shards
SERVER-73430 Improve Hash, HMAC, and Crypto algo lookup for OpenSSL 3.0
SERVER-74033 Remove ident force drop in favour of handling ENOENT
SERVER-74060 Pipeline clone() can lead to dangling opCtx pointers
SERVER-74714 Drop-pending ident reaper logs noisy errors until checkpoint completes
SERVER-77113 Exclude fields containing dots from time series indexes
SERVER-78108 POS interface should expose its shutdown state
SERVER-78115 Shard primaries must commit a majority write before using new routing information from the config server
SERVER-78252 Block chunk migrations for hashed shard keys if you don’t have the shard key index
SERVER-78342 nReturned in slow query is incorrect when no docs are matched
SERVER-78384 mongos should allow --port 0
SERVER-78530 Enable feature flag
SERVER-78687 Set up copybara syncing between 10gen/mongo and 10gen/mongo-copybara
SERVER-79251 Test dropping hashed shard key index mid chunk migration aborts migration
SERVER-79446 insert ignores collectionUUID for time-series collections
SERVER-79585 A valid $match query fails on time-series collection
SERVER-79632 Stop range deletion when hashed shard key index does not exist
SERVER-79926 Investigate OCSP failure possibilities
SERVER-79975 [Classic] Optimize large group keys
SERVER-80157 ExclusionProjectionExecutor forces Document cache to load excluded fields
SERVER-80203 Normalization of time-series meta field can break insert targeting
SERVER-80270 Test new evergreen function var behavior
SERVER-80809 Make _logOplogEntriesForInvalidResults resilient to non-existing oplog
SERVER-80886 $out may fail with a StaleDbVersion after a movePrimary
SERVER-80988 [6.0] Search Index Management Commands Fail To Detect Collection on Other Shards
SERVER-81033 Ignore the collMod response from the DBPrimary shard if it has no chunks
SERVER-81106 Recipient shard doesn't wait for the collection version to be locally persisted before starting the cloning phase
SERVER-81201 Limiting the memory usage during the cloning phase on the recipient shard
SERVER-81295 Cannot resume V2 changeStream pipelines with V1 resume tokens
SERVER-81390 HashAggStage fails to respect the collation when spilling to disk
SERVER-81431 Add canaries_only task to older mongo branches
SERVER-81435 Add metrics to capture impact of time series group commit
SERVER-81524 No-op invocations of setUserWriteBlockMode must await majority confirmation of SystemLastOpTime
SERVER-81532 FIx tag on timeseries_groupby_reorder.js
SERVER-81581 Extend BlackDuck timeout
SERVER-81603 Set the stream worker thread of the balancer as interruptible to support a correct stepdown of the config server
SERVER-81762 Wait to run test until HMAC keys refresh finishes in read_preference_metrics.js
SERVER-81886 Disable jstests/core/fts_index3.js on non-FCV 6.0 binaries
SERVER-81904 Address test-only issue in UpdateChunkMapRandom unit test
SERVER-81925 autosplit_setFCV_downgrade_from_60.js should ignore NamespaceNotSharded errors caused by concurrent drop operations
SERVER-81942 ShardingDDLCoordinator should retry on LockTimeout errors
SERVER-81966 Avoid modification of previous ChunkMap instances during refresh
SERVER-81985 FlushRoutingTableCacheUpdates command should not be allowed on databases
SERVER-82003 powercycle tests are missing variables
SERVER-82070 Classic window function $stdDevSamp handles empty window frame incorrectly
SERVER-82204 Classic window functions first/last handle missing field incorrectly
SERVER-82234 Relax assertions in session_pooling.js
SERVER-82325 Config server could invariant during balancer round
SERVER-82410 DocumentSourceListSearchIndexes should hold owned copy of command object
SERVER-82446 $densify use case can result in documents outside of range
SERVER-82553 Fix block_chunk_migrations_without_hashed_shard_key_index.js on v6.0 multiversion
SERVER-82799 Increase reshardingCriticalSectionTimeoutMillis for resharding_update_tag_zones.js
SERVER-82864 Handle WriteConflict errors in fle2_contention_kill_parent.js
SERVER-82990 Investigate powercycle failures on v6.0 and v5.0
SERVER-83134 Unit tests of ShardSplitDonorServiceTest get failed in v6.0
SERVER-83144 Wait for secondaries to refresh HMAC key in read_preference_metrics.js
SERVER-83150 Document::shred() does not copy document metadata
WT-7492 Ignore the evict drain wait msg in stdout.txt for test_cursor_random
WT-7929 Investigate a solution to avoid FTDC stalls during checkpoint
WT-9257 test_checkpoint WT_NOTFOUND failure on CS
WT-9821 Add option to verify to report all data corruption in a file
WT-10017 Remove the unstable historical versions at the end of rollback to stable
WT-10207 Fix log slot flags and remove debugging added for WT-9796
WT-10380 Fix expected warning output in test_cursor_random: Eviction took more than 1 minute
WT-10601 Fix wt verify -c failure when first block on page is corrupt
WT-10873 failed: Unable to locate update associated with a prepared operation [wiredtiger @ 57bcfe46]
WT-10961 Fix OOO keys caused by racing deletion and insertion on left subtrees
WT-10972 Eliminate long periods of silence when recovering with recovery_progress verbose messages enabled
WT-11060 format failure: unable to locate update associated with a prepared operation
WT-11168 Remove the page image reuse logic
WT-11221 Python tests fails due to unexpected "Eviction took more than 1 minute" warning in standard output
WT-11280 Generation tracking might not be properly synchronized
WT-11321 Checkpoint cleanup does not free fast-truncated trees in 6.0
WT-11359 Update spinlock tasks to limit disk usage
WT-11423 Unable to locate update associated with a prepared operation
WT-11424 WT_CURSOR.search: timed out with prepare-conflict
WT-11564 Fix RTS to read the newest transaction value only when it exists in the checkpoint
WT-11584 Fix test_checkpoint_stats test
WT-11602 Hide expected eviction failures from the application and don't rollback in case of errors
WT-11638 Fix prepared update resolution assertion
6.0.11 Changelog
Sharding
SERVER-79086 Deletion of ReshardingCoordinatorService state document is not idempotent
SERVER-79327 Missing verification in refine collection shard key
SERVER-79682 ShardsvrReshardCollection Can Hang If Stepdown Occurs Shortly After Stepping Up
SERVER-80236 Race in migration source registration and capturing writes for xferMods for deletes
SERVER-80246 Fsync test is not correctly checking for concurrent ddl operations
SERVER-80712 Avoid leaving the replica set shard partitioned at the end of linearizable_read_concern.js
Operations
SERVER-58534 Collect FCV in FTDC
Internals
SERVER-52149 Create feature flag for Make taking self-managed backups in 4.4+ as safe as possible
SERVER-52452 Enable feature flag for Make taking self-managed backups in 4.4+ as safe as possible
SERVER-66018 Expose metrics for readPreference usage
SERVER-68132 Remove Feature Flag for PM-2076
SERVER-68296 Only log the storage component with a higher verbosity level in check_for_oplog_cap_maintainer_thread.js
SERVER-68791 Expand the stacktrace API to return a loggable BSONObj
SERVER-69244 $merge fails when session default read concern has been set to "majority"
SERVER-71512 assert.commandWorkedOrFailedWithCode unexpected behaviour with some commands
SERVER-71520 Dump all thread stacks on RSTL acquisition timeout
SERVER-72487 race between QueryStageBatchedDeleteTest dbtest and Checkpointer background job
SERVER-73470 Log index inconsistencies detected by queries in the health log
SERVER-73497 Create an interface for the HealthLog
SERVER-75295 Disallow use of the 'planCacheSize' parameter on 6.0 and earlier versions
SERVER-76341 Add range deletion throughput statistic
SERVER-76932 Add a way for a thread to know when the SignalHandler thread is done with printAllThreadStacks
SERVER-77278 Replication rollback of a dropDatabase oplog entries leaves the in-memory database closed on the primary but open on secondaries, leading to secondaries crashing on receipt of conflicting database name
SERVER-77638 Add logging on completion of resharding
SERVER-77862 Exclude compact.js from running in macos variants
SERVER-78149 Implement the mongos fsync (lock : true) command
SERVER-78150 Implement the mongos fsyncUnlock command
SERVER-78151 Add fsyncLock status to the mongos currentOp command
SERVER-78153 Unlock the config server primary via the mongos fsyncUnlock command
SERVER-78154 Detect on-going DDL operations in fsync with lock command
SERVER-78156 Test the mongos fsync with lock command with distributed transactions
SERVER-78253 Allow folks with hashed shard keys to drop the hashed index
SERVER-78529 Create feature flag
SERVER-78721 Remove multiversion compatibility for rename view test
SERVER-78793 Add a timeout to the mongos FSync Lock Command
SERVER-78831 Make $listSearchIndexes throw an Exception when used outside of Atlas
SERVER-79025 Mongos Fsync with lock command should use mongos fsyncUnlock command
SERVER-79471 Mirrored reads should include databaseVersion in addition to shardVersion
SERVER-79552 $group rewrite for timeseries returns incorrect result if referencing the metaField in an object
SERVER-79781 TestGetDestinedRecipientThrowsOnBlockedRefresh should not run two refreshes without resetting the catalog cache loader mock return value
SERVER-79803 Enable feature flag in 6.0
SERVER-79912 CheckReplDBHash reports failure with system.buckets collections due to invalid BSON
SERVER-79942 replace jsTestName() with the name of the test in rename_collection_view.js
SERVER-80021 Make $convert round-trip correctly between double and string
SERVER-80100 Fix typo in excluding compound_wildcard_index_hiding.js and sparse_index_internal_expr.js
SERVER-80140 Use the $currentOp to verify that fsyncLockWorker threads are waiting for the lock
SERVER-80465 Make numCandidates optional on mongod for $vectorSearch
SERVER-80488 Avoid traversing routing table in balancer split chunk policy
SERVER-80491 Expose more granular metrics around balancing round
SERVER-80678 Remove an outdated test case
SERVER-80703 Avoid traversing routing table in MigrationDestinationManager
SERVER-80810 Remove tenant_migration_donor_resume_on_stepup_and_restart.js on v6.0
SERVER-80912 Enterprise RHEL 7.1 ppc64le failures on 6.0 waterfall
SERVER-81013 Fix resolveCollator to return 'kNo' when query has collator and collection does not
SERVER-81044 Handle internal oplog update correctly in transactions
SERVER-81146 Use historic runtime data to set default timeouts when the data is not full
SERVER-81149 Time-series update bucket compression failed due to decompression data loss
SERVER-81155 Use move semantic to avoid copying all chunks in createCollection coordinator
SERVER-81202 Use host environment when signing
SERVER-81393 Make multiversion-config resmoke command output yaml to file
SERVER-81421 Fix fle2_downgrade.js test in 6.0
SERVER-81426 [5.0] fsync_deadlock.js is not resilient to StaleConfig errors
6.0.10 Changelog
Sharding
SERVER-67529 Resharding silently skips documents with all MaxKey values for their fields under the new shard key pattern
SERVER-76536 Increase receiveChunkWaitForRangeDeleterTimeoutMS in concurrency suites
SERVER-78496 Clear shard filtering metadata before releasing the critical section in rename participants
SERVER-79771 Make Resharding Operation Resilient to NetworkInterfaceExceededTimeLimit
Internals
SERVER-50606 NetworkInterfaceTest needs to be more permissive with async op timeout
SERVER-71498 QueryStageBatchedDeleteTest dbtest crashes in checkpoint thread
SERVER-71512 assert.commandWorkedOrFailedWithCode unexpected behaviour with some commands
SERVER-71627 Refreshed cached collection route info will severely block all client request when a cluster with 1 million chunks
SERVER-71810 Remove Amazon Linux 1 builders from mongodb-mongo-master-nightly
SERVER-72974 Use named error codes for IDL parser duplicate and missing fields
SERVER-73348 Aggregation bug in DocumentSourceSequentialDocumentCache
SERVER-73394 Remove misleading operationsBlockedByRefresh metrics
SERVER-75255 Remove all outdated entries from backports_required_for_multiversion_tests.yml
SERVER-75287 Make subtract behavior consistent with addition with regard to checking for overflow
SERVER-77171 Allow passing through $listSearchIndexes in QE/CSFLE query analysis
SERVER-77183 $project followed by $group gives incorrect results sometimes
SERVER-77382 Null embedded metaField for creating a time-series collection leads to invalid BSON index spec
SERVER-77615 Date subtract operation doesn't work correctly on NaN operand in classic engine
SERVER-77862 Exclude compact.js from running in macos variants
SERVER-78369 ignoreUnknownIndexOptions doesn't account for the 'weights' index field
SERVER-78505 Database cache does not use the 'allowLocks' option correctly
SERVER-78650 Change stream oplog rewrite of $nor hits empty-array validation if no children are eligible for rewrite
SERVER-78674 Remove FCV check from feature flag check for search batchsize project
SERVER-78831 Make $listSearchIndexes throw an Exception when used outside of Atlas
SERVER-78848 $listSearchIndexes behavior should be consistent with other aggregations when the collection does not exist
SERVER-78950 Use sequential time series bucket IDs when possible
SERVER-78971 Skip shutting down Grid::getExecutorPool() when TestProctor is disabled
SERVER-78986 Disable timeseries_field_parsed_for_bson.js on multiversion suites on 7.0
SERVER-78987 Remove the free monitoring code from mongodb/mongo repo
SERVER-79022 Update ASIO's Git hash in README.third_party.md
SERVER-79045 Update yaml-cpp entry in README.third_party.md to 0.6.3
SERVER-79046 The PreWriteFilter should be disabled if the mongod process is started with --shardsvr and in queryable backup mode
SERVER-79126 Pin pyyaml in another place
SERVER-79252 Add the system-perf bootstrap file to the task Files section
SERVER-79261 Add logging to ping monitor
SERVER-79382 Reset bucket OID counter when encountering a collision
SERVER-79397 Fix and test logic to internally retry time series inserts on OID collision
SERVER-79498 Backport $vectorSearch to 6.0
SERVER-79607 ShardRegistry shutdown should not wait indefinitely on outstanding network requests
SERVER-79609 Fix findAndModify_upsert.js test to accept StaleConfig error
SERVER-79651 Only use two node replicasets in initial sync performance tests
SERVER-79803 Enable feature flag in 6.0
SERVER-79885 Oplog fetching getMore should not set null lastKnownCommittedOpTime if it is not using exhaust cursors
SERVER-79898 Remove version checks in stale_mongos_updates_and_removes.js and extract_shard_key_values.js
SERVER-79912 CheckReplDBHash reports failure with system.buckets collections due to invalid BSON
SERVER-80183 Remove operationTime check from store_retryable_find_and_modify_images_in_side_collection.js
SERVER-80234 Catalog cache unit tests of allowLocks should block the refresh
SERVER-80302 capped_large_docs.js is not resilient to replication rollback
SERVER-80488 Avoid traversing routing table in balancer split chunk policy
SERVER-80544 Fix incorrect wait in runSearchCommandWithRetries
SERVER-80574 Ensure database creation in sharding/min_max_key.js test
SERVER-80696 Fix How limit is calculated in $_internalSearchMongotRemote
SERVER-80703 Avoid traversing routing table in MigrationDestinationManager
6.0.9 Changelog
Sharding
SERVER-44422 Allow findAndModify and delete one to target by query instead of extracted shard key
SERVER-60466 Support drivers gossiping signed $clusterTimes to replica set --shardsvrs before addShard is run
SERVER-62987 Wrong replication logic on refreshes on secondary nodes
SERVER-78036 Handle the race between the getting and setting of the LogicalTimeValidator during sharding initialization
Aggregation
SERVER-78472 $densify creates documents outside of bounds
Internals
SERVER-68129 Add the field control.count to the schema validation for bucket collections
SERVER-68556 Allow transactions on system.buckets collections
SERVER-71335 Debug symbols of server binaries used by system_perf.yml are archived in S3
SERVER-73841 Enable feature flag
SERVER-74701 Add checksum verification for blackduck installer
SERVER-74954 Incorrect result when contained $or rewrites $elemMatch extra condition
SERVER-75298 Reduce log error severity in sharding logging library
SERVER-75667 Fix SBE's implementation of index consistency checks
SERVER-76299 Report writeConflicts in serverStatus on secondaries
SERVER-76824 Do not run mr_single_reduce.js in stepdown suites
SERVER-76828 Increase test coverage for RoutingTableHistory and ChunkMap
SERVER-76934 Update computeDiff() code should safely error when there are duplicate fields in the objects
SERVER-77003 Allow renames of time-series collection buckets
SERVER-77299 Pooled LDAP connections may reference out-of-scope memory after timeout
SERVER-77654 Having more constraints on time-series collection timeField name
SERVER-77856 Provide Atlas with a way to choose a specific initial sync sync source
SERVER-78019 Increase reshardingCriticalSectionTimeoutMillis for resharding_update_tag_zones_large.js
SERVER-78173 In $_internalStreamingGroup replace tasserts with uasserts
SERVER-78217 Renaming view return wrong error on sharded cluster (2nd attempt)
SERVER-78229 createIndexes should acquire the CollectionLock of the targeted nss before accessing the parent DatabaseShardingState
SERVER-78238 Text index indexes content of fields whose name contains dots
SERVER-78251 move_chunk_deferred_lookup.js can fail if mongos RSM is stale after stepup
SERVER-78299 Remove hang analyzer unit test on macos
SERVER-78351 Limit pushdown doesn't work on sharded clusters if $skip stage is present
SERVER-78410 Suppress debug election log messages in rollback resumable index build tests
SERVER-78434 never implicitly shard a view in implicitly_shard_accessed_collections.js
SERVER-78525 Update jstests/noPassthrough/metadata_size_estimate.js to use a smaller document size
SERVER-78554 search commands run over PinnedConnectionTaskExecutor can retry before the underlying connection pool processes initial failure
SERVER-78576 Add originalSpec field to NewIndexSpec IDL
SERVER-78659 The secondary thread of the Balancer should join its TaskExecutor when leaving to correctly clean its state on step down
SERVER-78696 Only clear shard filtering metadata before releasing the critical section in collmod participants
SERVER-78742 Ensure that connection fatal socket exceptions are respected in PyKMIP
SERVER-78751 $collStats should check for presence of time series options rather than relying on namespace checks
SERVER-78789 Distribute roles in metadata sizing test
SERVER-78813 Commit point propagation fails indefinitely with exhaust cursors with null lastCommitted optime
SERVER-78828 LDAP host timing data can be inconsistent during sorting
SERVER-78888 Unschedule Mix js
SERVER-78981 [v6.0] Denylist split_large_event.js test in v6.0 in multiversion suite
SERVER-79136 Incorrect query result of $match + $group on metaField over time-series
SERVER-79447 The balancer stop sequence may cause the config server to crash on step down
SERVER-79515 Update task generator
WT-8539 Correct description for statistic for rolling back oldest pinned.
WT-8915 Change log verbosity level mapping between AWS SDK and WiredTiger
WT-10285 test format fails with status 137 (Linux OOM killer) during sanitizer runs
WT-10536 Fix statistic check cache_hs_key_truncate_onpage_removal in test_hs32.py
WT-10759 Do not retry to force evict history store pages during reconciliation
WT-10862 Support read-only fast-truncate data format change in MongoDB 6.0 release
WT-10911 Investigate and update eviction timeline metrics that are showing up incorrectly
WT-11064 Skip globally visible tombstones as part of update obsolete check
WT-11233 Ensure all evergreen variants are using the v4 toolchain
WT-11312 Fix incorrect flag check for accurate force eviction stat
6.0.8 Changelog
Sharding
SERVER-61127 Multi-writes may exhaust the number of retry attempts in the presence of ongoing chunk migrations
SERVER-76546 _migrateClone can deadlock with prepared transactions on secondaries
SERVER-78414 Recipient shard in chunk migration can skip fetching changes to the migrated range, leading to lost writes
Query
SERVER-46446 Log time spent waiting for remote operations
Internals
SERVER-45255 Capture Pressure Stall Information in FTDC for Linux hosts
SERVER-62939 Starting up ESE with no KMIP server available leaves a backtrace
SERVER-66945 Re-enable ESE on MacOS
SERVER-67196 Ensure hb stats get updated before sync source selection in initial_sync_chooses_correct_sync_source.js
SERVER-71825 Implement and test document split algorithm
SERVER-74143 A slow query report should not require the rstl lock to return storage statistics
SERVER-76910 Make PyKMIP test harness return errors on version mismatch
SERVER-77005 Leave LDAP users logged-in during LDAP downtime
SERVER-77168 mongod crashes when restoring time series collection with auth enabled
SERVER-77266 createCollection command in rename_capped_collection_droptarget.js should ignore "cannot find ns" errors
SERVER-77298 Prevent fassert after killing opCtx as part of reconstructing prepared transactions after initial sync
SERVER-77386 Make '$_resumeAfter' parameter work with clustered collections
SERVER-77459 Verify /proc/pressure/cpu is readable in procparser_test
SERVER-77527 mongodbtoolchain/v3 stdlib unsafe against self-moves
SERVER-77710 Fix data race in AuditManager
SERVER-77769 SysPerf yml's compile-skip comment is incorrectly spaced
SERVER-77833 Mock meta cursors in sharded tests for batchSize/limit pushdown
SERVER-77998 Allow 'full' when reading from /proc/pressure/cpu
SERVER-78126 For specific kinds of input, mongo::Value() always hashes to the same result on big-endian platforms
SERVER-78136 Add "updateSearchIndex" Permission to the "readWrite" built-in-role
SERVER-78174 [v6.0] Blocklist large_events_failed_metric.js test in older versions where tracking of large change stream events is not backported
SERVER-78292 Issue with Object.entries in mongotmock assertEmpty
SERVER-78314 Create documentSourceWriterBatchBuffer server parameter
SERVER-78492 Resharding fuzzer tests are being generated but not run in Evergreen
6.0.7 Changelog
Sharding
SERVER-67732 mongod shutdown procedure doesn't shutdown the Grid::getExecutorPool()
SERVER-73848 Hashed shard keys with zones can cause issues with resharding
SERVER-76056 countDocsDeletedOnDonor name is misleading
SERVER-76948 Allow shard key fields to contain DBRefs
SERVER-77309 An interleaving might cause a migration to continue when it shouldn't
SERVER-78050 Chunk Migration Can Lose Data If Processing Deferred Modifications
Query
SERVER-75922 Partial unique indexes created on MongoDB 4.0 can be missing index keys after upgrade to 4.2 and later, leading to uniqueness violations
Internals
SERVER-58276 Add time-series bounded collection scan plans to query multi-planner
SERVER-63865 Handle missing index idents during standalone startup recovery after unclean shutdown
SERVER-64706 Create Feature flag for PM-2802
SERVER-66130 The Balancer workers need to be joined instead of detached to stop their activity without leaking memory
SERVER-67472 ban config_fuzzer from using emptycapped command
SERVER-67699 Add tracking for when change stream event exceeds 16Mb
SERVER-68329 Avoid dropping pools for any error thrown during connection setup
SERVER-69850 Compact can cause test timeout in the config_fuzzer test suite
SERVER-69884 selinux tests must skip if they have any tag beginning with "featureFlag"
SERVER-70242 Intracluster X509 authentication can trigger "Different user name was supplied to saslSupportedMechs"
SERVER-70267 Streaming group when id is on time
SERVER-70268 Unpack to BSONObj instead of Document for suitable queries
SERVER-70269 Avoid applying match filter to the unpacked document when the whole bucket matches
SERVER-70937 Disable multiversion testing between lts versions and dead rapid release versions
SERVER-71270 Time series optimization pushes $match on timeField before $project stage that removes the field from pipeline
SERVER-71387 Range-based window [+N, unbounded] can tassert
SERVER-71835 Allow change events over 16MB as intermediate results
SERVER-71839 Add 'canAppearOnlyOnce' stage constraint and stage-specific position check
SERVER-71985 Automatically retry time series insert on DuplicateKey error
SERVER-72250 In-memory Cluster Server Parameter cache is not updated transactionally
SERVER-72297 Add burn_in_tasks related configuration
SERVER-72880 Fix SELinux Test Executor Failures
SERVER-72921 Improve UX of generated multiversion tasks
SERVER-72928 Expand burn-in-tags to all required & suggested variants
SERVER-73007 CURL_OPT_SEEKFUNCTION not set for multi-pass authentication
SERVER-73423 CLUSTERED_IXSCAN with sort generates two duplicate plans
SERVER-73435 Re-enable create_database.js FSM test in config fuzzer crash suite
SERVER-73471 Use correct compile variants for burn_in_tags variant creation
SERVER-73662 tlsClusterCAFile is not being used to validate client certificates on Windows
SERVER-73734 Support evergreen nightly project in burn_in_tests.py
SERVER-73959 Add option to TaskExecutorCursor to not pre-fetch documents
SERVER-74301 Optimize serialization behavior for $changeStreamSplitLargeEvent
SERVER-74344 Ban use of sparse indexes on internal comparison expression unless explicitly hinted
SERVER-74451 Implement limit pushdown to mongot cursor
SERVER-74453 Implement support for getMore against a mongot cursor created with a user-defined limit
SERVER-74454 Add testing for limit pushdown of $search pipelines within $lookup
SERVER-74471 Prune existing tests to stabilize the signal from the change stream perf suite
SERVER-74551 WriteConflictException unnecessarily logged as warning during findAndModify after upgrade to mongo 5.0
SERVER-74645 integration_tests_standalone[_audit] should not run a unqiue build
SERVER-74716 Prevent "back-in-time" change stream resume token on MongoS
SERVER-74806 Write size estimation logic does not account for runtime/let constants
SERVER-74863 Implement $listSearchIndexes aggregation stage
SERVER-74980 excessive logging of "Refreshed cached collection" log messages introduced in 5.0
SERVER-75280 Make shard_keys_with_dollar_sign.js use long timeouts for resharding crit sec
SERVER-75392 Update rounding functions in S2 geometry library
SERVER-75479 Use system python on macos for ssl tests
SERVER-75626 Special handling for macosx venv
SERVER-75648 Add limit pushdown info to explain output
SERVER-75911 Make connection pool sizing between mongod and mongot configurable by server parameters
SERVER-75913 Address Upgrade concerns regarding KMIP Activate
SERVER-75932 Allow Configuration of mongod to authenticate search query requests to local mongot, but not search index management requests to the local Envoy
SERVER-75989 Add support for OpenSSL 3.0 FIPS
SERVER-76006 break compile_dist_test into small chunks in a new kind of task group
SERVER-76102 handleRIDRangeScan() sets hasCompatibleCollation wrong in recursive cases
SERVER-76179 "/var/run/mongodb/"mongod.pid" deleted on each Mongod shutdown
SERVER-76278 Log extra migration information
SERVER-76331 Bump mongo-task-generator version to 0.7.5
SERVER-76378 Use estimated impersonation metadata size in calculating block chunks
SERVER-76392 Collection validation hook should not error when trying to validate a view
SERVER-76404 Call the no-prefetch TaskExecutorCursor if there is an extractable limit
SERVER-76457 Support storing BuildID to debug symbols mapping for sanitizer builds
SERVER-76489 movePrimary set wrong collection version on new primary shard
SERVER-76565 Redact transaction API error logging
SERVER-76600 Increase timeouts for aggregation_timeseries_fuzzer on tsan/asan variants
SERVER-76619 Add setParameter to enable libcurl's verbose logging
SERVER-76621 Thread pool task executor can cause memory leak when handling exhaust command.
SERVER-76651 Switch to using db-contrib-tool symbolize command in resmoke
SERVER-76690 Special handling for PYTHONPATH when activate venv
SERVER-76695 initial_sync_nodes_maintain_and_gossip_commit_point.js should wait longer for initial sync node to advance commit point
SERVER-76698 Disable Curl Connection Pooling for STS requests
SERVER-76699 Add configurable retry count in AWS IAM code
SERVER-76713 [v6.0] Platform Support: Add support for RHEL 7 PPC in 6.0
SERVER-76721 Robustify plan_cache_stats_shard_and_host.js to count plan cache entries only for specific plan cache key
SERVER-76739 Archive data missing on evergreen task timeouts
SERVER-76783 Backport search index commands to v6.0
SERVER-76812 Update eslint for arm workstations
SERVER-76826 $merge doesn't work with document that has dollar fields
SERVER-76859 Update ssl_fips.js for macOS
SERVER-76875 Exclude fields containing dots from indexes
SERVER-76983 mongos shutdown procedure doesn't shutdown the CatalogCache
SERVER-76988 Abort the reshardCollection operation when the zone information is too large
SERVER-77011 Upgrade ZLib on 6.0 branch
SERVER-77018 Deadlock between dbStats and 2 index builds
SERVER-77028 tlsClusterCAFile is not being used to validate client certificates on macOS
SERVER-77033 Tag plan_cache_stats_shard_and_host.js with requires_fcv
SERVER-77063 Failing bucket compression causes errors returned incorrectly for time-series inserts
SERVER-77074 mongod termination process should always shutdown and join the CatalogCached's thread pool
SERVER-77085 MultipleCursorsGetMoreWorks TaskExecutorCursorTest Should Allow getMores on cursors to occur in either order
SERVER-77154 Change server's internal client implementations to always use "hello" rather than "isMaster" for the connection handshake
SERVER-77185 Bug with implementation of $lookup in SBE
SERVER-77195 executor::ConnectionPool should appropriately handle the case where a connection is returned with a network error
SERVER-77196 NoPrefetch test in TaskExecutorCursorTest can deadlock
SERVER-77226 Fix permissions-checking when pinning code segments
SERVER-77230 Retry search/planShardedSearch commands when there is a network error
SERVER-77273 Add gcc IPA pass cp ICE to oom_retry tool
SERVER-77301 rewriteGroupByMinMax in timeseries doesn't respect collation
SERVER-77335 Enable sys-perf tasks needed for 6.0 vs 7.0 perf dashboard
SERVER-77383 ".msi.sha256" files have incorrect shasum
SERVER-77518 Disable pin_code_segments.js on 6.0 rhel-80-debug-ubsan
SERVER-77522 Stop writing contents of report.json to stdout in Jepsen list-append test
SERVER-77534 Fix diff finder to handle deleted files correctly
SERVER-77687 add ld OOM message to auto retry
SERVER-77868 Balancer secondary thread should reset state on step up
SERVER-78080 Use fully random bytes for 8 low-order bytes of OID value for time series bucket _id
SERVER-78169 Disable timeseries_lastpoint_top.js on 6.0
WT-7401 Silent test/format failure in the long-test Evergreen task
WT-8825 Fix test_checkpoint_snapshot05 expected value validation failure
WT-9038 Correctly handle overflow blocks that are being discarded in VLCS salvage
WT-9117 test format exited with status 137 (Linux OOM killer)
WT-9457 Preserve ckpt_most_recent value across restart
WT-9545 wt8246_compact_rts_data_correctness test read incorrect data on macOS
WT-9721 Format stress tests generate cores even when successful
WT-10424 cursor::search_near slow performance if many deleted items are present
WT-10432 Fix expected warning output for test_hs20 on macos
WT-10449 Do not save update chain when there are no updates to be written to the history store
WT-10488 test_schema_abort failed with invalid argument
WT-10522 Fix a bug that leads to an unexpected aborted tombstone on update chain
WT-10528 test_wt8246_compact_rts_data_correctness retry to insert the data during WT_ROLLBACK
WT-10624 Fix regression on x86 for search and insert
WT-10671 Reset statistics when retrying test in test_checkpoint04.py
WT-10764 Add start and stop messages to rollback to stable
WT-10909 Simplify new test_backup29.py more
WT-10920 Minor cleanup to test_backup29.py
WT-10935 Change patch build Python unit tests to run on ubuntu2004-large
WT-11027 failed: wiredtiger.so: cannot open shared object file: No such file or directory [wiredtiger-mongo-v6.0]
WT-11031 Fix RTS to skip tables with no time window information in the checkpoint
WT-11036 Add test of incremental backup after files are closed by dhandle sweep
WT-11051 Fix newest start durable timestamp comparison in aggregate timestamp validation
WT-11140 Update Python path for Windows variants
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 balancing 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
SERVER-69220 refineCollectionShardKey permits toggling current shard key fields between range-based and hashed, leading to data inconsistency
SERVER-69700 Replication rollback fails resharding_coordinator_recovers_abort_decision.js
Operations
SERVER-68548 mongo shell version 4.4.15 logging asio message despite --quiet flag
Internals
SERVER-60551 Occasionally getting "Initialized wire specification" when connecting
SERVER-61281 Fix underflow when accounting for Document size in query memory tracker
SERVER-63191 Create Task that Generates Version Metadata Earlier
SERVER-63843 Don't allow recursive doLog in synchronous signal handlers
SERVER-63852 getThreadName() should not crash
SERVER-65317 mongod removes connection from connection pool after running simple $search query
SERVER-65382 AutoSplitVector should not use clientReadable to reorder shard key fields
SERVER-65435 Config fuzzer can set eviction trigger lower than amount of dirty data a single operation may generate
SERVER-65781 Have shell fixtures be symbolized
SERVER-66436 Fix initialisation error in DConcurrencyTest benchmarks
SERVER-66613 Send binary version instead of evergreen version to symbolizer service
SERVER-66726 Fix serialization in killAllSessionsByPattern
SERVER-66794 Add an in-memory flag for TS collections having dates outside years 1970-2038
SERVER-66804 Remove check_binary_version from test setup
SERVER-66841 LOGV2: invalid JSON when truncation happens at a backslash character
SERVER-67126 Remove LOGV2 call from printStackTrace no-LOGV2 codepath
SERVER-67239 Improve timeout handling in set_audit_config test
SERVER-67280 Ensure HealthObserver::periodicCheckImpl() implementations handle exceptions and return an appropriate failing health check status when one occurs
SERVER-67296 Mark the OpCtx of the configsvr commands used to commit chunk-related DDL ops as interruptible
SERVER-67385 Range deletion tasks may be wrongly scheduled before ongoing queries on range finish on a shard primary
SERVER-67402 Linearizable reads can occasionally read with wrong read source
SERVER-67538 Multi-doc transactions should fail if on an old, incompatible snapshot
SERVER-67605 Make retryable_findAndModify_commit_and_abort_prepared_txns_after_failover_and_restart.js not test restart with a 1-node shard
SERVER-67650 Resharding recipient can return remainingOperationTimeEstimatedSecs=0 when the oplog applier hasn't caught up with the oplog fetcher
SERVER-67653 Resharding coordinator can incorrectly conclude that it can start the critical section although on one recipient the oplog applier hasn't caught up with the oplog fetcher
SERVER-67666 Allow watching system.buckets collections in full cluster change streams
SERVER-67679 Concurrent collection drops can return NamespaceNotFound instead of CollectionUUIDMismatch
SERVER-67725 Check catalog consistency on shards as precondition for rename
SERVER-67728 Use FeatureFlagUtil in timeseries jstests
SERVER-67787 Retry mutation ops in auth concurrency tests
SERVER-67814 Track the number of time-series collections with dates outside 1970-2038 in serverStatus
SERVER-67846 Tests relying on featureFlagCollModIndexUnique should check fCV 60
SERVER-67909 Skip dropping a non-existent temp ECOC collection in the compact coordinator
SERVER-67916 Race during stepdown can trigger invariant in ReshardingMetrics
SERVER-67939 run_dbcheck_background.js should be resilient to CappedPositionLost
SERVER-68003 Make experiment_unified_ninja.vars the default
SERVER-68126 Check for negative maxChunkSize input value in AutoSplitVector
SERVER-68207 Add collStats for system collections to clusterMonitor role
SERVER-68399 Fix parsing of safeint version numbers in blackduck_hub.py
SERVER-68441 collection_uuid_index_commands.js not robust to failover
SERVER-68461 Persist the result of the doCompactOperation in the Pre-6.1-compatible compaction coordinator
SERVER-68465 selinux tests fail due to journal.enabled parameter
SERVER-68475 Find solution to relocation overflow in static builds
SERVER-68477 Improve NaN-handling for expireAfterSeconds TTL index parameter
SERVER-68479 collMod coordinator V2 must block migration on bucket nss
SERVER-68521 Restore timeout in awaitdata_getmore.js
SERVER-68540 Add docker_incompatible tag for jscore tests
SERVER-68568 future_git_tag should override MONGO_VERSION
SERVER-68637 Add scons cache to enterprise-rhel-72-s390x-compile builder
SERVER-68694 Investigate the locking around the compact command
SERVER-68766 Add option to re-enable single value MapReduce optimization
SERVER-68790 Fix multiversion tests which rely on the renamed internalQueryFrameworkControl knob
SERVER-68886 Remove extra call to addEagerlyReapedSession in internal transactions reap service unittest
SERVER-68905 Add append_oplog_note_mongos.js to backports_required_for_multiversion_tests.yml
SERVER-68925 Reintroduce check table logging settings at startup (revert SERVER-43664)
SERVER-68937 Improve task splitting based on historic tests runtime
SERVER-68950 Update ssl_helpers.js for Ubuntu 22.04
SERVER-68951 Fix kerberos_tool.js and ldap_authz_authn.js on Ubuntu 22.04
SERVER-69006 Add more tracing to fle basic insert/update/replace for hedged reads
SERVER-69052 Ensure bucket collection is valid when checking for extended range
SERVER-69103 Disable use of SBE on the inner side of DocumentSourceLookup
SERVER-69108 SCCL can immediately return config and admin metadata without triggering a refresh
SERVER-69118 Have retryable findAndModify failover internal transaction test wait until lastCommittedOpTime is recovered after failover
SERVER-69141 [6.1] Move forward pinned TSBS version
SERVER-69167 Check if fCV is initialized before performing feature flag check in setClusterParameter and getClusterParameter
SERVER-69175 Add transport::SocketOption template for making ASIO-style sockopt types
SERVER-69207 Coverity analysis defect 122696: Using a moved object
SERVER-69265 Increase config_fuzzer_replica_sets_jscore_passthrough timeout
SERVER-69284 Remove FifoTicketHolder
SERVER-69290 Disable sharding/refine basic test in 6.0
SERVER-69376 Increase timeout for replica_sets_jscore_passthrough on macos variant
SERVER-69475 Remove unused updateConcurrentTotalTransactions() method
SERVER-69569 Python scripts failing in Evergreen tasks
SERVER-69611 Set the -ffp-contract=off compiler option by default
SERVER-69693 Use lambda instead of repeating code in resharding coordinator
SERVER-69707 [SBE] Undefined slot error for $group with $cond / $switch / $ifNull expressions
SERVER-69785 robustify change_streams_per_shard_cursor.js
SERVER-69793 Disable memory underflow check in the query system
SERVER-69849 [v6.0] Delete FifoBasicMetrics unit test
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
WT-9763 Return EBUSY if the time window of inserting record does not match with history store time window
WT-9870 Fix updating pinned timestamp whenever oldest timestamp is updated during recovery
6.0.1 Changelog
Sharding
SERVER-57519 Make ARS use causally consistent ShardRegistry::getShard() function
SERVER-64340 Warn if balancer is disabled while draining shard
SERVER-67457 Resharding operation aborted in the midst of contacting participants may stall on config server primary indefinitely
SERVER-67477 Ensure range deletion index is created on addShard (6.0 only)
SERVER-67492 Failed chunk migrations can lead recipient shard to have divergent config.transactions records between primary and secondaries
SERVER-67535 move_chunk_large_chunk_map_workloads no longer reports timing breakdown of chunk migration due to server logging changes
SERVER-68431 resharding_test_fixture doesn't configure failpoints for all nodes of config server
Query
SERVER-63049 Track usage of agg accumulators
SERVER-66072 $match sampling and $group aggregation strange behavior
Aggregation
SERVER-68062 Multi-stage aggregations that use $geoNear may violate constraints.
Build and Packaging
SERVER-66808 Remove undocumented fields from the change stream error
Internals
SERVER-61481 Remove check in dropIndexes command that no index builds are in progress for the collection once kLastLTS is 6.0
SERVER-62857 Handle same-migration recovery on recipient upon multiple stepdowns
SERVER-62969 Fix ocsp_unable_to_staple_log.js wait to connect issue
SERVER-64112 Stop running applicable multiversion tests as soon as a release is EOL
SERVER-64242 Make collStats aggregation stage retrieve orphans from BalancerStatisticsRegistry
SERVER-64416 Have view creation return the same error as collection creation
SERVER-65006 Write conflict on commitIndexBuild oplog entry insertion can cause multikey to fail to be set
SERVER-65262 Expand usage of WT numerical timestamp API
SERVER-65385 Disable signal processing for Google Microbenchmarks on DEBUG/Sanitizer variants
SERVER-65454 Retried findAndModify requests can slow log/profile into the wrong namespace
SERVER-65657 Reduce calls to the cappedInsertNotifier for the oplog
SERVER-65884 $lookup from time-series can place $sequentialCache after correlated $match
SERVER-66023 Do not constantly reset election and liveness timers
SERVER-66027 Speedup tenant migration JS tests
SERVER-66034 backports_required_for_multiversion_tests.yml is not blacklisting tenant migration tests from running on multiversion test suites
SERVER-66246 Optimize Tenant Migration Concurrent test runtime
SERVER-66247 Refactor api_version jstests to pass view name to assertViewSucceedsWithAPIStrict helper
SERVER-66308 Restore views test for 'sbe' command to satisfy multiversion testing
SERVER-66310 Make ExpressionSetUnion::isCommutative() collation aware
SERVER-66348 Add a kill_sessions tag to exclude tests in concurrency simultaneous replication suites
SERVER-66461 Run notarization earlier in the build process
SERVER-66508 Make explain handling consistent between csfle and mongocryptd
SERVER-66529 The oplog manager thread updating the oplogReadTimestamp can race with a cappedTruncateAfter operation directly updating the oplogReadTimestamp
SERVER-66548 $lookup sequential cache can incorrectly treat a $facet as non-correlated
SERVER-66651 Role "restore" not sufficient for mongorestore --preserveUUID
SERVER-66658 Shard registry might be accessed before initialization
SERVER-66938 Drastically simplify command to generate ninja files
SERVER-66943 Do not run aggregation for orphans against oplog.rs for collstats
SERVER-66958 Handle potential multiple "processing" range deletions on step-up
SERVER-66970 Add EOL'd releases information to the mongo repo
SERVER-67006 increase log verbosity for DEBUG assertion messages in replsets/profile.js
SERVER-67122 Add warning when building with --module=ninja that it is deprecated
SERVER-67188 Use -large instance for replica_sets_jscore_passthrough on Windows
SERVER-67227 Insert with collectionUUID could implicitly create a collection if command failed with collectionUUIDMismatch
SERVER-67259 Change sleep for assert.soon in ttl_deletes_not_targeting_orphaned_documents.js
SERVER-67305 Lock-free reads setup should validate writes permitted before and after setting up snapshot.
SERVER-67377 Check whether $lookup pushdown feature availability on primary shard in mixed version cluster
SERVER-67390 backup_restore.js should check for code -SIGINT due to unclean SIGINT
SERVER-67395 Increase the timeout of sharding_update_v1_oplog_jscore_passthrough task to 2.5 hours on macos-arm64
SERVER-67408 CollectionUUIDMismatch error can be hidden if database does not exist
SERVER-67418 Retry SSLManagerApple global initialization
SERVER-67422 Have getAllRemovalFuturesForCoordinatorsForInternalTransactions wait for TransactionCoordinator catalog recovery
SERVER-67428 secondary_dryrun_vote_timeout.js should wait for "Voted for importCollection" log message on the secondary
SERVER-67430 Fix tags in fle2 tests and improve tag parser
SERVER-67462 Support renaming encrypted collections if client has correct privileges
SERVER-67486 "command failed because of stale config" failure in catalog shard POC
SERVER-67523 Must clear _nextCall on reschedule failure in delayable_timeout_callback
SERVER-67527 add kills_random_sessions to concurrency_replication_for_export_import.yml
SERVER-67532 Fail less in OplogServerStatusSection
SERVER-67625 Spike OIDC SASL Mechanism Negotiation
SERVER-67648 [v6.0] Tag timeseries_delete_hint.js and timeseries_update_hint.js with requires_fcv_60
SERVER-67683 Change some of the modes in fast and opt builds
SERVER-67690 Use mongo-task-generator that randomizes test order
SERVER-67700 limit does not get pushed to shards in search queries
SERVER-67717 ${suffix} is not set in push task
SERVER-67723 SessionCatalogMongoD reaper can interrupt expired internal transaction sessions for retryable writes that are still in use
SERVER-67800 [6.0] Exclude clustered_collection_*.js from multiversion suites
SERVER-67801 createIndexes should handle empty index specs on config.transactions
SERVER-67802 mongos count does not handle large values for skip
SERVER-67804 [6.0] Exclude dbstats.js from multiversion suites
SERVER-67845 Acquire critical section in rename "check preconditions" phase only if target not sharded
SERVER-67885 shardCollection with a mismatched UUID on a capped collection will fail first with InvalidOptions
SERVER-67911 Random distribution of test data in accumulator_fix_last_[continuous|lts].js can cause occasional test failure
SERVER-67917 Use DBDirectClient in FLE count code path
SERVER-67992 Use operation timer tracker in fle mongos crud processing
SERVER-68016 Use little endian for deserializing data serialized by BufBuilder
SERVER-68041 Robustify merge_write_concern.js and add diagnostic log
SERVER-68130 AutoSplitVector could generate response bigger than BSONObjMaxUserSize
SERVER-68158 serverstatus_indexbulkbuilder.js should run listIndexes on primary after creating indexes
SERVER-68184 Use Number instead of NumberLong when indexing in checkWritesOfCommittedTxns
SERVER-68193 Sharding DDL coordinator can lock itself out in distlock retry loop
SERVER-68196 Memory usage for BoundedSorter is invalid when sorting then grouping.
SERVER-68201 Add the commit queue variant to the release branch's evergreen config
SERVER-68209 Remove uassert that prevents config.image_collection entry from being invalidated
SERVER-68330 [6.0] Allow mixed_mode writes on config.transactions
SERVER-68354 Set whenToClean to now when marking range deletion task as processing
SERVER-68363 Mark 5.3 as EOL
SERVER-68405 Constant Nothing in $group's _id expression should be converted to null in $group SBE stage builder
SERVER-68443 InternalTransactionChunkMigrationTest and RetryableInternalTransactionTest fixtures should retry internal transactions on all transient errors
SERVER-68463 [6.0] replsets/profile.js fails to set log level in replica_sets_multiversion suite
SERVER-68487 add BSONElement method to check for NaN field values
SERVER-68511 movePrimary might introduce sharding metadata inconsistency in MongoDB 5.0+
SERVER-68513 The _configsvrRunRestore command should restore databases with unsharded collections
SERVER-68526 Use mongo-task-generator that generates tasks separately for Windows, MacOS, Linux distro groups
SERVER-68574 Switch to the new logkeeper cluster
SERVER-68653 Fix compilation on gcc
WT-9302 Deprecated object_target_size as a config in api_data.py
WT-9311 Ensure log messages clearly identify storage HW corruption
WT-9432 Ensure Evergreen builds have debug information