Docs Menu

Docs Home → MongoDB Manual

5.0 Changelog

On this page

  • 5.0.7 Changelog
  • 5.0.6 Changelog
  • 5.0.5 Changelog
  • 5.0.4 Changelog
  • 5.0.3 Changelog
  • 5.0.2 Changelog
  • 5.0.1 Changelog
  • SERVER-60109 Ensure vector clock is recovered on step-up

  • SERVER-61249 refine_collection_shard_key_basic.js relies on a best-effort refresh that might not happen in case of failover

  • SERVER-61444 Resharding uses of bumpCollectionVersionAndChangeMetadataInTxn are not idempotent

  • SERVER-61755 Migration recovery should handle refined shard key

  • SERVER-62072 _configsvrReshardCollection may return without having waited for unsetting "reshardingFields" to replicate to majority

  • SERVER-62521 Distributed locks might not be released on definite error when using a DDL coordinator

  • SERVER-62761 [v5.0] receiveChunkWaitForRangeDeleterTimeoutMS is being passed on 4.4 binaries

  • SERVER-62906 Add a check in the createCollection/shardCollection path verifying the collection name length

  • SERVER-62907 Vector clock components must survive CSRS non-rolling restart

  • SERVER-63722 Rename collection participants get stuck upon errors different from stepdown/shutdown

  • SERVER-63742 Default topology time in shard can lead to infinite refresh in shard registry

  • SERVER-64517 RecoverableCriticalSection is not properly recovered on startup

  • SERVER-64580 Step downs while sharding a collection in mixed binaries shards might crash the old binary

SERVER-54374 Race between signalOplogWaiters and StorageEngine::loadCatalog

SERVER-40691 $nin:[[],...] queries are not indexed

SERVER-21070 Add option to gather collection stats

  • SERVER-51456 Database Profiler outputs incorrect value of property "keysDeleted" for a remove operation when a write conflict occurs

  • SERVER-53993 Attach client strand before releasing the opCtx in AsyncCommandExecution tests

  • SERVER-56300 Add append range functionality to BSON obj and array builders

  • SERVER-56558 Robustify validate_db_metadata_command.js test

  • SERVER-56931 instrument ASIO set_option failures better

  • SERVER-57662 Wait for config.system.sessions collection to exist on the config server before refreshing logical session cache

  • SERVER-58069 ASSERT_THAT matcher framework for unit tests

  • SERVER-58152 Create Feature flag for Remove Faulty Mongos From Cluster Topology

  • SERVER-58310 ThreadPoolTaskExecutor is memory unsafe when task cancellation occurs around the same time an exhaust network response is received

  • SERVER-58499 Add a new error code LoadBalancerSupportMismatch

  • SERVER-59220 Connectivity probes in ocsp_server_refresh.js should use fresh shells

  • SERVER-59223 Improve ecs scp robustness

  • SERVER-59290 Re-evaluate sync source after incrementing config version

  • SERVER-59356 Create dummy FaultManager singleton, FaultStatus enum and dummy unit test

  • SERVER-59357 Create dummy Fault class and dummy unit test for it

  • SERVER-59358 Create FaultFacet interface, mock implementation and unit test running mock that imitates a failure

  • SERVER-59360 Create HealthObserver interface, mock implementation and unit test invoking the periodic check with mocked failure

  • SERVER-59361 Implement periodic health check thread pool

  • SERVER-59362 Setup Fault Manager State Machine

  • SERVER-59364 Should move to the OK state after performing a successful round of health checks when in the StartupCheck state

  • SERVER-59365 Should not transition to OK state if initial health checks are not completed successfully

  • SERVER-59366 Progress monitor for periodic health check

  • SERVER-59367 Should create in-memory Fault instance when entering the TransientFault state

  • SERVER-59370 Should Transition to ActiveFault state when in the TransientFault state for kActiveFaultDuration

  • SERVER-59382 Enforce non-critical facets not entering ActiveFault state

  • SERVER-59390 Should provide the ability to perform periodic health checks against config server

  • SERVER-59397 implement randomization for health check periods

  • SERVER-59496 Fault class should be a container of active fault facets

  • SERVER-59522 HealthCheckStatus should track fault status and lifetime

  • SERVER-59567 Periodic check should invoke observers, simulate HealthObserver Mock failure

  • SERVER-59608 Coverity analysis defect 120502: Parse warning

  • SERVER-59912 Initial no-op scaffolding of the Ldap health checker

  • SERVER-60079 Common health observer code to incorporate generic patterns from Ldap observer

  • SERVER-60316 FaultManager should start with periodic checks disabled

  • SERVER-60412 Host memory limit check does not honor cgroups v2

  • SERVER-60587 Implement FaultFacet

  • SERVER-61016 Swallow connection reset-related errors received during ASIOSession creation on outbound connection.

  • SERVER-61095 Improve transport_layer_asio_test.cpp

  • SERVER-61104 Robustify find_and_modify_invalid_query_params.js

  • SERVER-61220 Integration test for Progress monitor

  • SERVER-61315 Ldap health check executor should support aborted tasks

  • SERVER-61368 FaultManager test suite should use real thread pool

  • SERVER-61438 Fix race in health_observer_test.cpp

  • SERVER-61490 transport_layer_test: asio connect race

  • SERVER-61592 Querying with ms precision does not return expected results (TS collection)

  • SERVER-61662 SCons configure checks should always run with verbosity

  • SERVER-61706 make sure that the new config has reached all nodes in cluster_x509_rotate

  • SERVER-61769 Attempting to run an aggregation with $out or $merge in a transaction on a sharded cluster leaves idle cursors open

  • SERVER-61871 use tassert for state machine programmer errors

  • SERVER-61872 Fix thread pool starvation in FaultManager

  • SERVER-61873 LDAP health observer runtime params

  • SERVER-61914 add fault facet details to FaultImpl::toBSON

  • SERVER-61921 Link failure in noSSL mode in FaultManager

  • SERVER-61956 fix data race when accessing the state machine's state

  • SERVER-61977 Concurrent rollback and stepUp can cause a node to fetch from a timestamp before lastApplied once it has stepped down.

  • SERVER-62017 Enable all feature flags by default in the sys-perf all feature flags variant

  • SERVER-62084 Serializer for FaultFacetType is broken

  • SERVER-62085 Use more bits for hashedMultikeyMetadataPaths in validation

  • SERVER-62096 /proc/<id>/smaps is not available

  • SERVER-62098 Guard healthCheckContexts with mutex in fault_manager.cpp

  • SERVER-62192 Handle feature flag disabled for implicit sharding accessed collection

  • SERVER-62242 $indexOfArray does not work with duplicate values in array

  • SERVER-62285 validate cachedir add push failure debug messages

  • SERVER-62368 Range deleter must honor rangeDeleterBatchDelayMS

  • SERVER-62379 Fix deadlock between ReplicationCoordinator and BackgroundSync on stepUp

  • SERVER-62466 _lastTransitionTime stat field in FaultManager is never changed

  • SERVER-62511 Race in dbcheck_no_history_on_secondary.js

  • SERVER-62513 RunDBCheckInBackground should retry on Interrupt errors

  • SERVER-62514 dbcheck_write_concern.js should prevent primary from stepping down

  • SERVER-62569 IDL Compatibility Checker script doesn't properly handle array types

  • SERVER-62651 Add enable all feature flags by default feature to Enable all feature flags by default to microbenchmark project.

  • SERVER-62668 Synchronize access to ImpersonatedUserMetadata in OperationContext.

  • SERVER-62680 validate cachedir make local tmp to ensure successful copy

  • SERVER-62682 PrimaryOnlyService Does Not Call _rebuildCV.notify_all() leading to calls to waitForConditionOrInterrupt not being triggered

  • SERVER-62712 validate cachedir isolate cache errors to only the cache debug log file

  • SERVER-62876 Stop testing tenant migrations with capped collections

  • SERVER-62948 Ensure FTDC collectors don't have a read timestamp

  • SERVER-63010 Ensure that unpacking measurements doesn't overwrite pushedown addFields that are computed on meta data

  • SERVER-63073 Fix ShardNotFound handling in shard_removal_triggers_catalog_cache_invalidation.js

  • SERVER-63079 Avoid using projection parser in $setWindowFields

  • SERVER-63097 stepdown_race_with_transaction.js should use the "uses_transactions" tag.

  • SERVER-63141 Difference in $lookup/$redact/$let behaviour with pipeline optimization

  • SERVER-63197 Pin microbenchmarks genny version

  • SERVER-63201 Relax restriction of deletion ops in applyOps command.

  • SERVER-63203 Chunk splitter never splits if more than 8192 split points are found

  • SERVER-63214 Ignore hash inconsistency between whole dbs when collection hash mismatch between image collections

  • SERVER-63234 Better logging to explain LDAP health check flakiness

  • SERVER-63239 Do not throw exception in AutoSplitVector on empty ranges

  • SERVER-63240 clearJumboFlag might persist a ChunkVersion with a wrong format

  • SERVER-63250 Fix implicitly sharding timeseries collections feature flag check

  • SERVER-63279 Pushing predicates on the time-series metaField past unpacking can cause incorrect results

  • SERVER-63288 Add debug log messages for queryable http calls

  • SERVER-63417 Oplog fetcher should not retry when a node is known to be down

  • SERVER-63428 Robustify oplog applying code for update operation

  • SERVER-63432 Transferring large file to repo

  • SERVER-63471 waitForPrimaryOnlyServices finish rebuilding before testing stepDown in no_disconnect_on_stepdown.js

  • SERVER-63497 Fix icecream debugging

  • SERVER-63505 Ensure arbiter recognizes primary node in rollback_views.js

  • SERVER-63512 Use optimized (no isSelf calls) reconfiguration on heartbeat reconfig

  • SERVER-63531 commitQuorum error message incorrectly says that only voting nodes are eligible

  • SERVER-63646 _raise_if_unsafe_exit uses wrong return_code

  • SERVER-63859 Disallow collMod with expireAfterSeconds on a view

  • SERVER-63876 [5.0] Secondary nodes crash when applying collMod with index.expireAfterSeconds option

  • SERVER-63968 Prohibit enumeration of builtin roles on $external database

  • SERVER-63974 Pin version of itsdangerous python dependency

  • SERVER-63986 Disallow 4.x running update_with_dollar_fields.js

  • SERVER-64182 Re-enabling health checks should check if another pending check was already scheduled

  • SERVER-64304 Using --recoverFromOplogAsStandalone can result in index builds crashing the server

  • SERVER-64369 Must not allow deletes from capped collections in FCV 4.4

  • SERVER-64403 Find queries with SORT_MERGE collation-encode the missing sort attribute

  • SERVER-64555 [5.0] Allow new unique index data formats to exist

  • WT-7922 Handle missing WiredTiger version file

  • WT-7954 Use longer flush_tier timeout in test_tiered04

  • WT-8074 Panic in reconciliation if inserting content into the history fails

  • WT-8149 Updating metadata salvage csuite test to handle salvaging table metadata without salvaging file metadata

  • WT-8198 Switch the bulk load cursor to a scratch buffer

  • WT-8320 Select updates restored from history store irrespective of visibility

  • WT-8362 Remove or rewrite HS entries of a key when OOO tombstone is written to datastore

  • WT-8417 Restructure assert testing in search near 01 cpp for concurrency

  • WT-8422 Clear the on-disk cell time window if it is obsolete

  • WT-8424 Use consistent toolchain in little-endian

  • WT-8477 Enforce the use of Pymongo 3.12.2 in our Evergreen tests

  • WT-8598 Avoid checkpoint cleanup always on shutdown

  • WT-8605 Disable the perf tests for non-develop branches in Evergreen

  • WT-8649 WT_SESSION methods cannot release scratch buffers unless reset or closing

  • WT-8743 Configure hs_cleanup configuration to stress the cache less

  • WT-8753 Add tombstone when rolling back in-memory, prepared, reconciled updates

  • WT-8799 Disable documentation update on mongodb-5.0

  • WT-8874 Disable compatibility tests on mongodb-5.0

  • WT-8879 Set the OOO flag when the selected tombstone is globally visible

  • WT-8894 Find the path to the mongod executable for many-collection-test

  • SERVER-45149 replSetStepDown command in txn_two_phase_commit_failover.js should not timeout

  • SERVER-56127 Retryable update may execute more than once if chunk is migrated and shard key pattern uses nested fields

  • SERVER-56227 Add user-facing command to set allowMigrations to false for a sharded collection

  • SERVER-58622 DDL coordinator handle write concern error incorrectly when removing coordinator document

  • SERVER-60624 txn_commit_optimizations_for_read_only_shards.js pauses replication on coordinator and can leave transaction stuck in prepare

  • SERVER-60682 TransactionCoordinator may block acquiring WiredTiger write ticket to persist its decision, prolonging transactions being in the prepared state

  • SERVER-60860 ReshardingCollectionCloner uses primary read preference when nearest was intended

  • SERVER-61003 ReadConcernMajorityNotAvailableYet errors from ShardRegistry must be retried

  • SERVER-61105 The sessions migration logic during moveChunk pollutes the logs

  • SERVER-61268 Fixing the release of a recoverable critical section on secondaries

  • SERVER-61416 Indefinitely retry errors in rename coordinator

  • SERVER-61459 ShardingCatalogManager::assignKeyRangeToZone() reads stale version of CollectionType while running locally on config server primary

  • SERVER-61461 update_shard_key_doc_moves_shards.js fails due to spurious refreshes from secondaries

  • SERVER-61628 Do not reschedule range deletion task when numDeleted < numDocsToRemovePerBatch

  • SERVER-61637 Review range deleter batching policy

  • SERVER-61689 ActiveMigrationsRegistry::lock method doesn't properly handle its exceptions

  • SERVER-61759 Unsetting the AllowMigrations flag should abort ongoing migrations

  • SERVER-61816 cancel_coordinate_txn_commit_with_tickets_exhausted.js can hang forever due to race condition between transaction reaper and transaction coordinator

  • SERVER-61945 Resharding collection cloning may fail with NamespaceNotSharded when "nearest" read preference chooses secondary

  • SERVER-61950 ReshardingOplogFetcher waits on network request completing without interruption, potentially preventing shard step-up from ever completing

  • SERVER-61976 [Resharding] Shards can error while refreshing their shard version following step-up, stalling the resharding operation

  • SERVER-62065 Upgrade path from 3.6 to 4.0 can leave chunk entries without history on the shards

  • SERVER-62171 Add logs to output of runConcurrentMoveChunk in sharding_statistics_server_status.js

  • SERVER-62178 Resharding can fail with NamespaceNotSharded if recipient primary fails over before creating temporary resharding collection

  • SERVER-62207 ReshardCollection with small maxTimeMS can crash the shard due to incorrect BSON object lifetime

  • SERVER-62245 MigrationRecovery must not assume that only one migration needs to be recovered

  • SERVER-62296 MoveChunk should recover any unfinished migration before starting a new one

SERVER-59721 Node may become unable to sync from other members after performing rollback to stable timestamp

  • SERVER-57588 Inconsistent query results when an array position is indexed whose value is an array

  • SERVER-59754 Incorrect logging of queryHash/planCacheKey for operations that share the same $lookup shape

  • SERVER-62147 Exhaust query using the OP_QUERY protocol is broken when more than one getMore batch is required

  • SERVER-30846 Run dbCheck as background workload in FSM tests

  • SERVER-55483 Add a new startup parameter that skips verifying the table log settings

  • SERVER-58409 Startup RecordId initialization is flawed with durable history and reconstructing prepared transactions

SERVER-28953 Capture df (disk full) statistics in FTDC

  • SERVER-49748 Initial sync should clone admin.system.version before any other collections

  • SERVER-54468 Enable Feature flag for Minimal support for sharding time-series collections

  • SERVER-56167 Guarantee hang analyzer collects core dumps for sharded clusters, at minimum

  • SERVER-57037 Improve precision of operator counters

  • SERVER-57092 Use real test name for JS runner resmoke suites

  • SERVER-57289 redact should not convert BSONArray into BSONObj

  • SERVER-57312 Pin transitive Python dependencies and use the pinned file for installation in Evergreen

  • SERVER-57772 Failpoints on mongos rewrite state change error codes in writeConcernError

  • SERVER-58035 Remove db.runCommandWithMetadata from mongo shell

  • SERVER-58135 ReplSetTest initiate failing in replica sets with chaining disabled

  • SERVER-59428 Use more robust regex matching in rollback resumable index build fixture

  • SERVER-59779 Call asCluster() before replSetFreeze in ReplSetTest

  • SERVER-59781 multi_statement_transaction.js does not retry transaction on StaleConfig

  • SERVER-60048 CheckReplDBHash should not fail for cases where we expect retryable findAndModify images to be inconsistent after a restart

  • SERVER-60217 [v5.0] enableReconfigRollbackCommittedWritesCheck should be applied on 4.4

  • SERVER-60310 OCSP response validation should not consider statuses of irrelevant certificates

  • SERVER-60334 Pause the WiredTigerSizeStorer during Rollback To Stable

  • SERVER-60392 Fix timing in priority_takeover_two_nodes_equal_priority test.

  • SERVER-60513 Run burn_in_tags compile on -large distro

  • SERVER-60517 Enforce eviction_dirty_target < eviction_dirty_trigger in the fuzzer

  • SERVER-60685 TransactionCoordinator may interrupt locally executing update with non-Interruption error category, leading to server crash

  • SERVER-60788 merge_causes_infinite_loop.js attempts to expose a problem that no longer exists

  • SERVER-60809 Add ability to not idLookup after $search

  • SERVER-60959 Insert to a Time-Series getting error collection ErrorCodes::TimeseriesBucketCleared

  • SERVER-61005 rs.initiate() fails with "Invariant failure" under specific startup options

  • SERVER-61012 Instantiation of TEMPLATE rule sometimes has a command in generated ninja

  • SERVER-61097 SizeStorer can cause deadlocks with cache eviction

  • SERVER-61121 Make TransactionMetricsObserver support TxnNumberAndRetryCounter

  • SERVER-61122 Log TxnNumberAndRetryCounter in metrics and log methods inside TransactionParticipant and TransactionRouter

  • SERVER-61188 When storeImageInSideCollection=true, pre-image noop entries for collection with preImageRecordingEnabledForCollection=true are assigned wrong opTimes

  • SERVER-61194 Prevent time-series bucket OID reuse with coarse granularity

  • SERVER-61201 Creating a view can lead to a deadlock

  • SERVER-61214 Ensure having the latest known entry of the catalog cache when creating config.system.sessions

  • SERVER-61216 The --cache-disable flag results in a python stacktrace

  • SERVER-61275 Destruct the size storer after the session cache has shutdown

  • SERVER-61307 Add context to parsing errors for $setWindowFields' partitionBy expression

  • SERVER-61358 validate cachedir incorrectly re-raising InvalidChecksum

  • SERVER-61427 Unique index builds can cause a loss of availability during commit due to checking many false duplicates

  • SERVER-61479 Increase the number of retries to connect to a replica set following a stepdown

  • SERVER-61532 Opcounters to detect constrain violations need to be exposed.

  • SERVER-61550 Modify auto_workload_path in perf.yml to be relative to cwd

  • SERVER-61590 Presence of system.buckets collection should not assume that the collection is time-series collection.

  • SERVER-61591 Robustify currentop_shell.js test

  • SERVER-61602 timeseries_min_max.js assumes measurements are returned in insertion order

  • SERVER-61650 Disconnect nodes before restarting replication in sync_source_selection_ignores_minvalid_after_rollback.js

  • SERVER-61681 Wait for replSetGetStatus to update in replSetGetStatus_member_wall_times.js

  • SERVER-61690 Adjust stored fields protocol for atlas search

  • SERVER-61738 Revive dbCheck.js and make it deterministic

  • SERVER-61743 The -fno-builtin-memcmp flag shouldn't be applied except on x86_64 platforms

  • SERVER-61748 dbCheck should not hold a strong database lock during batches

  • SERVER-61754 dbCheck should not hold a strong collection lock during batches

  • SERVER-61757 Add a dbCheck command option to customize the batch size

  • SERVER-61791 pin pymongo

  • SERVER-61805 Use port to check primary node in timeseries_retryable_write_downgrade_oplog_rollover.js

  • SERVER-61846 Prevent redact from throwing BSONObjectTooLarge

  • SERVER-61852 dbCheck should tryLock the collection with backoff

  • SERVER-61858 Wait for node to become primary before disconnecting in sync_source_selection_ignores_minvalid_after_rollback.js

  • SERVER-61877 Remove catalog consistency verification from dbCheck

  • SERVER-61883 [v5.0] Read support for compressed time-series buckets

  • SERVER-61910 initiate_takes_stable_checkpoint.js doesn't account for closing connections in rollback

  • SERVER-61931 Allow ClusterManager role to operate against system.buckets.* collections

  • SERVER-61955 Expose dbCheck as a generally available command

  • SERVER-62022 Reduce dbCheck info logging in production, log start and stop

  • SERVER-62023 Improve dbCheck observability

  • SERVER-62037 Fix replica set definition in the system perf yaml file for linux-1-node-15gbwtcache

  • SERVER-62041 Add a maximum batch execution time to dbCheck

  • SERVER-62164 Remove several obsoleted build variants across all stable branches

  • SERVER-62210 Fix dbCheck progress meter handling of dropped and recreated collections

  • SERVER-62212 Support writeConcern for dbCheck

  • SERVER-62226 Disable dbcheck_no_history_on_secondary.js on EFT

  • SERVER-62243 Wait for vector clock document majority-commit without timeout

  • SERVER-62277 Performance regression from dbstats due to occupied disk space calculation

  • SERVER-62336 Tolerate SnapshotTooOld errors in dbCheck testing

  • SERVER-62380 Wait for majority commit point to be advanced on each node before starting rollback test in rollback_set_fcv.js

  • SERVER-62382 Several Amazon Linux 2 tests on the 5.0, 5.1, 5.2 and master waterfalls are not running

  • SERVER-62419 recover_multiple_migrations_on_stepup.js fails when executed in config server stepdown suite

  • SERVER-62423 Fix replsetinitiate_works_with_keyfile_profile_verbose_options.js to work on ephemeralForTest

  • SERVER-62592 Make timeseries_sharding_admin_commands.js clearJumboFlag test more resilient

  • SERVER-62706 dbcheck.js: handle replica sets with mixed debug/release members

  • WT-8395 Inconsistent data after upgrade from 4.4.3 and 4.4.4 to 4.4.8+ and 5.0.2+

  • WT-8534 Allow retrieving checkpoint snapshot for backup restore recovery

  • WT-8576 Enable logging in test checkpoint

  • SERVER-51329 Unexpected non-retryable error when shutting down a mongos server

  • SERVER-55382 Ignore error from retryable write being converted to transaction and that transaction failing in random_moveChunk_update_shard_key.js

  • SERVER-56227 Add user-facing command to set allowMigrations to false for a sharded collection

  • SERVER-57686 We need test coverage that runs resharding in the face of elections

  • SERVER-58343 Re-enable reshard_collection_failover_shutdown_basic.js

  • SERVER-59719 shardsvr{Commit, Abort}ReshardCollection may return unrecoverable error on stepdown, leading to fassert() on config server

  • SERVER-59806 Optimized path of shard collection fails to succeed with a large number of chunks

  • SERVER-60730 shardsvrDropDatabase should always join existing coordinator

  • SERVER-60751 move_chunk_critical_section_non_internal_client_abort.js does not consider config server stepdowns

  • SERVER-60804 Remove shard version checks from cursor_valid_after_shard_stepdown

  • SERVER-60945 Increase the resharding critical section timeout value for resharding_large_number_of_initial_chunks.js

  • SERVER-61027 Port permitMigrations changes

  • SERVER-61066 Make shardsvr DDL commands check primary status after marking opCtx as interruptible

  • SERVER-61289 Make resharding_retryable_writes.js more robust to timing

  • SERVER-61473 Resharding coordinator calls ReshardingMetrics::onCompletion() multiple times on transient errors, leading to config server crash

  • SERVER-61482 Updates to config.reshardingOperations wait for PrimaryOnlyService to be rebuilt while holding oplog slot, stalling replication on config server indefinitely

  • SERVER-61483 Resharding coordinator fails to recover abort decision on step-up, attempts to commit operation as success, leading to data inconsistency

  • SERVER-61607 Accept DuplicateKey as a possible error in resharding_nonblocking_coordinator_rebuild.js

  • SERVER-61633 Resharding's RecipientStateMachine doesn't join thread pool for ReshardingOplogFetcher, leading to server crash at shutdown

  • SERVER-54909 In replSetGetStatus, report last durable and last applied operation wall times for all members

  • SERVER-60946 Race condition in replsetprio1.js when initiating replset with nodes having different priorities

SERVER-59924 Error executing aggregate with $out with "available" read concern on sharded clusters

SERVER-58736 Avoid quadratic behavior in rollback with many collections

  • SERVER-54776 Enable Feature flag for PM-2191

  • SERVER-55535 Performance tests to exercise change streams optimizations

  • SERVER-57131 Fix trivial race in topology_listener_test

  • SERVER-57164 Invariant failure in a $group-by-variable optimization

  • SERVER-57171 Make the killop test more resilient

  • SERVER-57486 Prevent periodic index checks in transactions_stale_shard_version_errors.js test

  • SERVER-58636 Initial syncing node can miss final oplog entry when calculating stopTimestamp against a secondary sync source

  • SERVER-59329 Make sure that withTemporaryOperationContext throw an error if the node is no longer a primary

  • SERVER-59432 Downgrade invariant and add additional tassert for group on system variable optimization

  • SERVER-59654 Add Evergreen task for time-series update fuzzer

  • SERVER-59662 Create a concurrency test with time-series inserts and interrupt generating commands

  • SERVER-59858 Add observability for tasks scheduled on the reactor thread

  • SERVER-59871 startup_recovery_for_restore_restarts.js needs to make sure a checkpoint happens after failpoint

  • SERVER-59879 Adjust maxTimeMS value to allow for slower execution in the parallel test suite

  • SERVER-60393 increase replica_sets_jscore_passthrough time limit to 3hr.

  • SERVER-60424 TenantOplogFetcher times out on recreating aggregation cursor

  • SERVER-60632 Inconsistent error on mongos when renameCollection target already exists

  • SERVER-60670 use a separate branch instead of a specific commit for TPCC

  • SERVER-60671 Remove dagger

  • SERVER-60756 Add additional logging for failed updates in multi_statement_transaction_atomicity_isolation.js

  • SERVER-60762 $setWindowFields partitionBy an array should consistently error

  • SERVER-61021 Documents may be retrieved out of order in timeseries_delete.js

  • SERVER-61039 Sharded time-series listIndexes should report the view's namespace

  • SERVER-61164 Accept error code 48 (Inappropriate authentication) as a valid response for LDAP liveness check

  • SERVER-61178 Use less concurrency in find_cmd_with_indexes_timeseries.js

  • SERVER-61208 Balancer might be running when it shouldn't in transactions_stale_shard_version_errors.js

  • SERVER-61269 Adding log to awaitdata_getmore_cmd.js

  • SERVER-61283 [5.0] Add requires_fcv_50 to timeseries_insert_kill_op.js and timeseries_insert_idle_bucket_expiration.js

  • SERVER-61291 Fix forward compatibility with checkout_idl_files_from_past_releases.py

  • SERVER-61309 Fix time-series bucket lock reacquisition logic

  • SERVER-61360 reduce Debian 9 variants jlink to prevent OOM cases

  • SERVER-61405 Consider removing FCV check from $$SEARCH_META

  • SERVER-61597 Use deterministic order for random_moveChunk_timeseries_inserts.js

  • WT-3445 Add multiple tables to format tester.

  • WT-5008 Migrate Jenkins "wiredtiger-perf-btree" job to Evergreen

  • WT-5010 Migrate Jenkins "wiredtiger-perf-checkpoint" job to Evergreen

  • WT-5011 Migrate Jenkins "wiredtiger-perf-log-consolidated" job to Evergreen

  • WT-5012 Migrate wiredtiger-perf-evict to Evergreen

  • WT-5013 Migrate Jenkins "wiredtiger-perf-stress" job to Evergreen

  • WT-5580 Dump the wtperf command into logs in Evergreen wtperf test

  • WT-6001 Avoid reading the page into cache if it needs to be rewritten

  • WT-6022 NVRAM cache

  • WT-6116 Turn non-timestamp testing back on

  • WT-7694 Fixes to have bucket prefixes properly used in object names.

  • WT-7820 Retrieve the on-disk durable timestamp to compare with newer update timestamp

  • WT-7845 Add an oldest_id for tiered and its metadata.

  • WT-7912 Fix prefix search near optimisation to handle scenarios where the key range is split across pages.

  • WT-8004 Create a read order for the architecture guide

  • WT-8030 Add sanity checks related to eviction trigger setting

  • WT-8046 Keep non persistent configuration settings between wiredtiger_open calls in test/format

  • WT-8065 Update documentation about cursor and prefix_key configuration

  • WT-8076 Modify tiered_abort csuite test to work with cmake

  • WT-8114 Revert allow setting the prepare timestamp smaller than or equal to the latest active read timestamp with roundup prepare config

  • WT-8151 Make durable_start_ts equal to stop_ts if stop_ts is less than durable_start_ts and greater than start_ts

  • WT-8157 Fix format-abort-recovery-stress-test timeout condition

  • WT-8163 Consider more eviction scenarios to give up checkpoint-cleanup

  • WT-8167 Remove unused getters from the cppsuite code

  • WT-8173 Fix row column store node in architecture guide diagram

  • WT-8178 Push JSON output generated from wtperf_run.py to Cedar/Evergreen

  • WT-8179 Push out.json generated from wtperf_run.py to Atlas

  • WT-8188 Use compact progress stats in compact related tests

  • WT-8189 Add useful information for compact analysis to WT verbose messaging

  • WT-8192 Extend the verbose API to support the assignment of verbosity levels per event category

  • WT-8194 Fix ASAN leaks when tcmalloc is enabled

  • WT-8196 Add warning options to the cppsuite files

  • WT-8221 Compare write generation number before performing RTS

  • WT-8224 Fix coverity complains about unused variable

  • WT-8228 Add variable-length column store support to the compact tests

  • WT-8232 Fix hs18 test to use release evict cursor to evict the page

  • WT-8233 Fix data-validation-stress-test-checkpoint ignoring failures

  • WT-8237 Unassign NULL value to config after freeing, it stays unused.

  • WT-8241 Skip value return for largest key

  • WT-8253 Fix disk space issue in checkpoint stress tests

  • WT-8254 Implementation of new WiredTiger internal API to define verbose messages with an associated severity level

  • WT-8255 Create a Python suite test to assert legacy uses of the verbose interface still work as intended

  • WT-8256 Create new tests capturing different verbose configuration scenarios

  • WT-8270 Updating the time window clear obsolete stage of reconciliation to correctly consider global visibility.

  • WT-8271 Capture git branch and commit status in perf test result output

  • WT-8275 Streamline compact stats

  • WT-8280 Temporarily disable prefix assert

  • WT-8281 Fix out of order handling with history store stop timestamp

  • WT-8283 Use the new verbose API in compact files

  • WT-8284 Improve verbose logging for transactions when rollback is required

  • WT-8285 Simplify CMakes use of third party libraries

  • WT-8286 Create stress test for prefix search

  • WT-8291 Call _exit() instead of exit() without an exec

  • WT-8294 Push the results from performance tests to one collection

  • WT-8297 timestamp order check fired on logged table in recovery

  • WT-8298 Switch Evergreen performance tests to use ubuntu2004-large instances

  • WT-8314 Fix the block cache returning blocks for the wrong table

  • WT-8316 format backward compatibility mode fixes

  • WT-8317 Never store overflow keys on internal pages

  • WT-8318 Add format.sh support for a directory of CONFIG files

  • WT-8321 Update timeout for smoke tests to 60 minutes

  • WT-8331 change format to allow quote characters

  • WT-8335 Support compiling both a static and shared WiredTiger library in CMake

  • WT-8336 Disable unsafe-loop-optimizations flag when compiling c++ files

  • WT-8337 format direct I/O test fails to turn off backups

  • WT-8339 Add missing comma to wtperf monitor header

  • WT-8342 Coverity: CID 121074: UNINTENDED_INTEGER_DIVISION in src/support/float.c

  • WT-8345 API to configure cache_max_wait_ms at the session level

  • WT-8346 Migrate Jenkins "wiredtiger-perf-stress" remaining tests to Evergreen

  • WT-8347 Slipup in test_checkpoint modify changes

  • WT-8349 In-memory format runs can create a CONFIG with illegal cache size

  • WT-8350 Fix test/format problems where the wrong type of value was used to turn a configuration value off

  • WT-8354 Historic format builds used in compatibility runs need their previous syntax

  • WT-8355 Coverity analysis defect 121096: Uninitialized pointer read

  • WT-8357 Add more Evergreen expansions into the performance test output

  • WT-8358 Pass ops and args fields to wtperf via command line

  • WT-8359 Separate smoke tests from stress tests in Evergreen

  • WT-8363 Validate stats output by performance tests

  • WT-8364 Fix CMake bug when building cppsuite with TCMalloc

  • WT-8368 Fix verbose message output produced by '__wt_verbose_multi'

  • WT-8394 Revert Validate stats output by performance tests

  • SERVER-40865 The ShardServerCatalogCacheLoader does not serialize read operations with other operations for the same collection

  • SERVER-49897 Insert no-op entries into oplog buffer collections for resharding so resuming is less wasteful

  • SERVER-53335 Queries, updates, and deletes with non-"simple" collations may miss documents when using hashed sharding

  • SERVER-54231 Resharding can leave behind local collection on former primary shard that doesn't own any chunks

  • SERVER-54623 Decrease number of jobs in causal consistency passthrough suites

  • SERVER-55412 Mirrored reads should propagate the shard version field

  • SERVER-55429 Abort migration earlier when receiver is not cleaning overlapping ranges

  • SERVER-55557 Range deletion of aborted migration can fail after a refine shard key

  • SERVER-56985 Complete TODO listed in SERVER-56500

  • SERVER-57217 Don't report remainingOperationTimeEstimatedSecs in currentOp metrics for resharding for donors and coordinators

  • SERVER-57266 Create IDL representations for resharding metrics time intervals.

  • SERVER-57276 Capture max/min percent complete in FTDC metrics as seen by the commit monitor

  • SERVER-57479 Remove resharding_test_util.js

  • SERVER-57654 Call Pipeline::dispose() if Pipeline::getNext() throws in ReshardingCollectionCloner

  • SERVER-57655 Call Pipeline::dispose() if Pipeline::getNext() throws in ReshardingTxnCloner

  • SERVER-57665 Remove the unused disallowWritesForResharding() method

  • SERVER-57675 random_DDL_CRUD_operations.js may attempt to rename to a same destination ns twice

  • SERVER-57686 We need test coverage that runs resharding in the face of elections

  • SERVER-57760 Introduce dedicated OpCounters-like metrics for resharding and use them in ReshardingOplogApplier

  • SERVER-57761 Increment insert opcounter as part of resharding collection cloning

  • SERVER-58082 Fail resharding operation if allowMigrations has already been set to false

  • SERVER-58304 "metrics" field in resharding's donor, recipient, and coordinator documents isn't marked as optional

  • SERVER-58343 Re-enable reshard_collection_failover_shutdown_basic.js

  • SERVER-58407 Resharding components do not retry on FailedToSatisfyReadPreference when targeting remote shard, leading to server crash

  • SERVER-58433 ReshardingCoordinatorService Transaction In bumpCollectionVersionAndChangeMetadataInTxn Possibly Too Large

  • SERVER-58592 Make ReshardingCoordinatorService more robust when stepdowns happen near the end of a resharding operation.

  • SERVER-58871 Set fixed db primary in write_concern_basic.js

  • SERVER-58914 Create ReshardingDonorWriteRouter class with function stubs

  • SERVER-58915 Implement ReshardingDonorWriteRouter functionality along with unit tests

  • SERVER-58960 Measure the overhead from ShardingWriteRouter on the write codepath

  • SERVER-58980 Prevent Resharding Coordinator StepDownStepUpEachTransition test race between stepdown and done

  • SERVER-58990 Resharding always write new collection timestamp

  • SERVER-59023 Resharding can fail with NamespaceNotSharded following a primary failover on a recipient shard

  • SERVER-59160 Disable balancer in test_stacked_migration_cleanup.js

  • SERVER-59208 Allow retryable write in resharding_replicate_updates_as_insert_delete.js to fail with ShardCannotRefreshDueToLocksHeld

  • SERVER-59500 DDL coordinators must not release dist locks on stepdown

  • SERVER-59585 ReshardingOpObserver performs an invalid CollectionShardingRuntime cast on config servers

  • SERVER-59694 Resharding Prohibited Commands Incorrectly Assumes Consistency In Config.Cache.Collections Collection

  • SERVER-59769 Balancer conflicts with chunk migration tests

  • SERVER-59775 ReshardingDonorOplogIterator triggers an fassert() when it continues to run in member state SECONDARY following a stepdown

  • SERVER-59803 Set maxTimeMs for catalog cache refresh aggregation

  • SERVER-59811 ReshardingOplogFetcher can see the postBatchResumeToken move backwards in time when switching sync sources, stalling the resharding operation

  • SERVER-59812 ReshardingMetrics::onStepDown() is called while data replication components are still running, leading to an invariant failure

  • SERVER-59849 Add test to verify behavior of ReshardingOplogFetcher when pre/post image cannot be fetched

  • SERVER-59890 Exclude migration_coordinator_shutdown_in_critical_section.js test from the config stepdown suite

  • SERVER-59903 Do not wipe out renamed tags upon resuming the rename of sharded metadata

  • SERVER-59916 T{1, 2}Starts{First, Second}AndWins In WriteConflictHelpers Does Not Synchronize Committing Of Failed Transaction

  • SERVER-59923 Retry reshardCollection command from background thread in ReshardingTest fixture

  • SERVER-59927 Resharding's RecipientStateMachine::_restoreMetrics() doesn't retry on transient errors, leading to fassert() on stepdown

  • SERVER-59965 Distributed deadlock between renameCollection and multi-shard transaction

  • SERVER-60094 ReshardingOplogApplicationRules does not version all writes

  • SERVER-60142 Shard can migrate on top of orphans after filtering metadata was cleared

  • SERVER-60161 Deadlock between config server stepdown and _configsvrRenameCollectionMetadata command

  • SERVER-60220 ReshardingCoordinator::installCoordinatorDoc should update in memory state before calling logChange

  • SERVER-60266 Retry WriteConcernError exceptions in DDL coordinators

  • SERVER-60291 Resharding Prohibited Commands Does Not Wait For The Recipient To Be Done

  • SERVER-60413 Fix the critical section reason used by the moveChunk command

  • SERVER-60508 Shard server OnReplicationRollback throws when recovering critical section on time-series collection

  • SERVER-60592 DDL participant commands need to ensure they make a write with their txnNumber

  • SERVER-60731 Postpone database critical section release in drop database coordinator

  • SERVER-60737 Remove incorrect chunk timestamp check from ShardServerCatalogCacheLoaderTest

  • SERVER-60774 Resharding may apply through reshardFinalOp without transitioning to strict consistency, stalling write operations on collection being resharded until critical section times out

  • SERVER-60811 Drop database could drop new collections after stepdown

  • SERVER-60858 _configsvrReshardCollection command which joins existing ReshardingCoordinator may miss being interrupted on stepdown

  • SERVER-60859 ReshardingCoordinator waits on _canEnterCritical future without cancellation, potentially preventing config server primary step-up from ever completing

  • SERVER-60916 CPS Restores failed with a snapshot with documents in reshardingOperation

  • SERVER-61026 Invert order of shards receiving drop collection participant command

  • SERVER-61052 Resharding Donor & Recipient's Coordinator Doc Updates Can Time Out Waiting for Replication on Coordinator Doc, Leading to Fatal Assertion

  • SERVER-61066 Make shardsvr DDL commands check primary status after marking opCtx as interruptible

  • SERVER-61108 ReshardingCoordinatorService, Config Collection Deletes Can Time Out Waiting for Replication on Coordinator Doc, Leading to Fatal Assertion

  • SERVER-58988 Avoid sync source selection cycle during primary catchup.

  • SERVER-59170 Exclude max_doc_size.js from tenant_migration_multi_stmt_txn_jscore_passthrough suite

  • SERVER-59646 Check that the difference in ping times is greater than changeSyncSourceThreshold before evaluating sync source in nodes_in_primarys_datacenter_dont_sync_across_datacenters.js

  • SERVER-60153 More INFO level logs during election

  • SERVER-51806 bulk key insertion phase of index build holds IX lock without yielding

  • SERVER-55516 Remove tags for Time-series tests in sharded passthroughs

  • SERVER-57321 $mod match expression incorrectly handles NaN, Infinity and large values

  • SERVER-57376 CollectionImpl and IndexCatalogImpl stats are uninitialized and can be written to the logs

  • SERVER-60586 out_max_time_ms.js does not correctly enable "maxTimeNeverTimeOut" failpoint leading to spurious test failure

  • SERVER-59308 Match After $lookup-$unwind not applied correctly to $lookup results

  • SERVER-59613 $range expression should error if it exceeds memory limit

  • SERVER-59924 Error executing aggregate with $out with "available" read concern on sharded clusters

  • SERVER-58130 Changing time-series collection validator is acknowledged by server without errors

  • SERVER-59057 Do not enforce fast count in validate command for config.transactions collection

  • SERVER-53242 Always log collmod command

  • SERVER-59883 Have mongo shell message about using mongosh respect the --quiet flag

  • SERVER-52310 Enable feature flag for Integration work to support new $search parameters

  • SERVER-53350 Expose methods on ReshardingTest fixture for sending replSetStepUp, SIGTERM, and SIGKILL to shards and config server while resharding is running

  • SERVER-53351 Add resharding fuzzer task with step-ups enabled for shards

  • SERVER-53913 ReshardingDonorService instances to load metrics state upon instantiation

  • SERVER-54206 Create a non-blocking API for the Fetcher class (or create an alternate class)

  • SERVER-54726 Fix typo in 'numScannedAferResume'

  • SERVER-54774 Architecture Guide updates for PM-2191

  • SERVER-54775 Create Feature flag for PM-2191

  • SERVER-55711 Coverity analysis defect 118014: 'state' variable shadowed in checkState()

  • SERVER-56416 mongod --version returns with extraneous log line on M1 laptops

  • SERVER-56602 Track usage of match expressions in serverStatus

  • SERVER-56639 Timestamp index ident drops for startup recovery

  • SERVER-56801 Update placeholder links for the reconfig check in PSA sets

  • SERVER-56813 Have Resharding be [RRFaM] aware

  • SERVER-56887 setIndexCommitQuorum command returns {ok: 1} when run against a mongos on a non-existent index build

  • SERVER-57000 Fix handling of correlated pipeline with facet

  • SERVER-57229 killOp_against_journal_flusher_thread.js must ensure the JournalFlusher doesn't reset the opCtx between finding the opId and running killOp

  • SERVER-57295 Rotate audit log on startup

  • SERVER-57315 Enable shardCollection command for a time series collection

  • SERVER-57350 ShardKeyPattern::parseShardKeyPattern() - NaN representation is being cast to integer

  • SERVER-57437 Implement insert routing for sharded time series collection

  • SERVER-57565 Ensure time series measurements do not update orphan buckets on sharded cluster

  • SERVER-57566 Implement sharding admin commands behaviour for time series collection

  • SERVER-57567 Update sharded passthrough suite to handle time series collections

  • SERVER-57568 Implement query routing behaviour for sharded time series collections

  • SERVER-57570 Disable updating granularity on sharded time-series collection

  • SERVER-57572 Rewrite secondary indexes on mongos for sharded time-series collections

  • SERVER-57573 Implement orphan filtering logic for $sample stage on sharded time-series collections

  • SERVER-57589 Enhance testing for cluster collStats and indexStats commands to ensure top-level 'timeseries' summation works

  • SERVER-57603 timeseries::MinMax::minUpdates/maxUpdates should consider calls to timeseries::MinMax::min/max when determining updates to include

  • SERVER-57605 Expose Decimal128 equality comparison helper to shell

  • SERVER-57697 Measure latency/throughput of ReshardingOplogApplier::_applyBatch

  • SERVER-57700 Measure latency/throughput of resharding::data_copy::fillBatchForInsert in ReshardingCollectionCloner::doOneBatch

  • SERVER-57717 Add time-series stub to update command

  • SERVER-57718 Add time-series stub to delete command

  • SERVER-57733 Determine whether an update/delete's query depends only on a time-series collection's metaField

  • SERVER-57734 Determine whether an update modifies only a time-series collection's metaField

  • SERVER-57735 Translate a single update on a time-series collection's metaField into an update on its buckets collections

  • SERVER-57736 Translate a delete on a time-series collection's metaField into a delete on its buckets collection

  • SERVER-57742 Create a non-specialized version of the OperationLatencyHistogram class

  • SERVER-57780 Improve BlackDuck timeout handling

  • SERVER-57784 TryUntilLoop Does Not Synchronize Destructor and Promise resolution

  • SERVER-58112 Add explicit synchronization to TaskExecutor's exhaust command promises

  • SERVER-58122 Replace searching logs for invariant failure with failpoint usage in resync_majority_member.js

  • SERVER-58139 Avoid leaking state from NetworkInterfaceTest::CancelLocally

  • SERVER-58148 mirrored_reads.js assertion does not consider mirrored read failure

  • SERVER-58166 Resumable index build rollback tests can run out of RamLog space

  • SERVER-58170 Prohibit dropping system.views if timeseries collections are present

  • SERVER-58175 Round time values before routing inserts to sharded timeseries collections

  • SERVER-58183 _applyPrepareTransaction does not ensure prepareConflictBehavior is kIgnoreConflictAcceptWrites on retry attempts

  • SERVER-58203 improve $unionWith stage

  • SERVER-58263 Fix absl map erase loop in TenantMigrationAccessBlockerRegistry

  • SERVER-58331 Fail time-series updates and deletes in multi-document transactions

  • SERVER-58370 StringMap element use-after-free in RollbackImpl

  • SERVER-58385 recovery oplog application updates multikey info on wrong collection

  • SERVER-58386 assign unique collection names to test cases in null_query_semantics.js

  • SERVER-58390 Test time-series metaField-only deletes with collation

  • SERVER-58393 Enable "collation" for time-series metaField-only updates

  • SERVER-58394 Translate multiple ordered updates on a time-series collection's metaField into updates on its buckets collections

  • SERVER-58396 Translate multiple unordered updates on a time-series collection's metaField into updates on its buckets collections

  • SERVER-58406 Enable debug logging when the TestingProctor is enabled

  • SERVER-58412 Changing settings.chainingEnabled in replica set configuration should affect change in sync sources

  • SERVER-58480 Add the necessary parameters to the ContinuousTenantMigration hook to allow for proper transient error retry

  • SERVER-58485 Retry transaction on transient errors in api_params_transaction.js

  • SERVER-58492 Test time-series metaField-only deletes with let

  • SERVER-58493 Test time-series metaField-only deletes with hint

  • SERVER-58519 Fix metaField-only time-series deletes with concurrent collection drops

  • SERVER-58583 Query analysis for mongocryptd does not handle expressive projections in find

  • SERVER-58617 Allow updates on a time-series collection with no metaField

  • SERVER-58721