5.0 Changelog

On this page本页内容

5.0.6 Changelog

Sharding

  • 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

Replication

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

Query

  • 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

Storage

  • 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

Operations

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

Internals

  • 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

5.0.5 Changelog

Sharding

  • 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

Replication

  • 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

Aggregation

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

Storage

SERVER-58736 Avoid quadratic behavior in rollback with many collections

Internals

  • 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

5.0.4 Changelog

Sharding

  • 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

Replication

  • 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

Query

  • 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

Aggregation

  • 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

Storage

  • 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

Operations

  • SERVER-53242 Always log collmod command
  • SERVER-59883 Have mongo shell message about using mongosh respect the --quiet flag

Internals

  • 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 processReplSetInitiate does not set a stableTimestamp or take a stable checkpoint
  • SERVER-58722 assign unique collection names to test cases in wildcard_index_multikey.js
  • SERVER-58739 Complete TODO listed in SERVER-58334
  • SERVER-58774 Clean up timeseries_update_delete_util.h and update references to queryOnlyDependsOnMetaField()
  • SERVER-58777 Inserts and updates disagree on whether an empty subdocument is a level of nesting
  • SERVER-58796 Enable "let" for time-series metaField-only updates
  • SERVER-58797 Enable "hint" for time-series metaField-only updates
  • SERVER-58798 Test "arrayFilters" for time-series metaField-only updates
  • SERVER-58803 Test that time-series metaField-only deletes close in-memory buckets
  • SERVER-58804 Ensure time-series metaField-only updates close in-memory buckets
  • SERVER-58811 Unit test query functions in timeseries_update_delete_util.h
  • SERVER-58861 ephemeralForTest sorted data interface does not work on big endian machines
  • SERVER-58872 Add require_fcv_51 tag for sharded timeseries tests
  • SERVER-58877 Ban spilling to disk in SpillableCache if there is no storage engine available.
  • SERVER-58888 $unionWith explain with mode "executionStats" does not account for stages which are pushed down
  • SERVER-58896 Fix metaField-only time-series updates with concurrent collection drops
  • SERVER-58899 Set curOp namespace to view collection for time-series updates
  • SERVER-58903 Blacklist index_many2.js from tenant migration stepdown/kill/terminate passthrough suites
  • SERVER-58930 mongodb-enterprise-unstable-server conflicts with mongodb-enterprise-unstable-shell
  • SERVER-58967 Set curOp namespace to view collection for time-series deletes
  • SERVER-59024 Unit test update functions in timeseries_update_delete_util.h
  • SERVER-59036 Use a unique bucket collection name in clustered_index_types.js
  • SERVER-59054 Enforce timeouts for generated fuzzer tasks
  • SERVER-59067 Fix TLS Race condition
  • SERVER-59072 Disallow updates on time-series collections where upsert:true
  • SERVER-59074 Do not acquire storage tickets just to set/wait on oplog visibility
  • SERVER-59088 Create Feature flag for Minimal support for sharding time-series collections: update and delete
  • SERVER-59092 Support $jsonSchema operator for time-series deletes
  • SERVER-59094 shardCollection command should ensure that time-series collection is created properly
  • SERVER-59104 Remove usages of findNthChild() in time-series update/delete code
  • SERVER-59108 Resolve race with transaction operation not killed after step down
  • SERVER-59110 Update connection error message in powercycle
  • SERVER-59120 Create unit tests for commitChunksMerge
  • SERVER-59126 drop collection on time-series collection should drop the underlying buckets collection on config server
  • SERVER-59140 Validate shard key pattern for timeseries shardCollection command
  • SERVER-59141 Review RPM spec files for potential errors
  • SERVER-59143 hard fail if "--ninja" tool option is used with ninja module in place
  • SERVER-59150 non_durable_writes_on_primary_can_reach_majority.js does not wait for durable timestamp on secondary to advance
  • SERVER-59154 Add more comprehensive time-series update document test cases
  • SERVER-59159 $min/max window function null semantics are different than their accumulator counterparts
  • SERVER-59164 All write commands on sharded time-series namespace should translate to buckets namespace, on mongos
  • SERVER-59173 Audit error messages for time-series updates and deletes
  • SERVER-59174 Report number of documents updated/deleted for time-series updates/deletes
  • SERVER-59180 Implement update rewrite and routing for sharded time-series collections
  • SERVER-59181 Implement delete rewrite and routing for sharded time-series collections
  • SERVER-59184 Add tests to verify correctness of Time Series index and bucket collection after chunk migration
  • SERVER-59190 IndexAccessMethod can be destructed during index build bulk load yield
  • SERVER-59191 SPIKE: git.get_project fails to clone
  • SERVER-59194 Exclude timeseries_update_concurrent.js from running in parallel with other tests
  • SERVER-59196 Add tests for explain command for sharded timeseries collection
  • SERVER-59214 include query results in oplog_visibility.js assertion message
  • SERVER-59218 Only replace the top-level metaField with "meta" for time-series updates/deletes
  • SERVER-59226 Deadlock when stepping down with a profile session marked as uninterruptible
  • SERVER-59294 Check action type for oidReset
  • SERVER-59298 Generated fuzzer tasks should use timeout_secs not exec_timeout_secs
  • SERVER-59299 Improve $match stage
  • SERVER-59321 Update suffix var to v5.0 in compile expansions
  • SERVER-59409 Race between reconfig replication and stepup can cause RSM to be stuck in reporting ReplicaSetNoPrimary
  • SERVER-59410 Clean up time-series update and delete tests
  • SERVER-59413 Fix possible race in tenant_migration_fetch_committed_transactions_retry.js
  • SERVER-59425 Ninja fails to install archive targets locally
  • SERVER-59445 Increase storage log verbosity in oplog_sampling.js
  • SERVER-59456 Start the LDAPReaper threadpool
  • SERVER-59459 mongodb fails to build with glibc-2.34
  • SERVER-59476 validate_commit_message does not allow wiredtiger imports to be reverted
  • SERVER-59483 tenant_migration_collection_ttl.js must account for race between recipient cloner and donor TTL sweep
  • SERVER-59491 Add "requires_multi_updates" tag to geo_update2.js
  • SERVER-59505 Time-series query on mixed, nested measurements can miss some events
  • SERVER-59515 Fix defaults in MergeAuthzCollection command
  • SERVER-59525 TenantMigrationRecipientAccessBlocker isn't being initialized correctly on recovery
  • SERVER-59591 LockerNoop::isW() always returns true allowing multiple operations think they are holding the global exclusive lock at the same time
  • SERVER-59606 Do not set dynamic timeouts on tasks with tests that have no runtime history
  • SERVER-59635 Mark ConfigSvrMoveChunkCommand as interruptible on stepdown
  • SERVER-59649 multiversion generated suite filenames should be different from normal tasks
  • SERVER-59662 Create a concurrency test with time-series inserts and interrupt generating commands
  • SERVER-59666 Renaming system.buckets collection should be disallowed
  • SERVER-59669 Unprotected variable in the concurrent test TransientSSLParamsStressTestWithManager
  • SERVER-59672 Fix stopping replication in step_down_during_draining3.js
  • SERVER-59676 DocumentSourceFindAndModifyImageLookup can hit invariant when used in a shard
  • SERVER-59693 ReshardingTest fixture must accommodate nodes going into ROLLBACK while attempting to run replSetStepUp
  • SERVER-59701 Error when working with some timezones when using external timezones database
  • SERVER-59720 Correctly handle $rename in time-series metaField-only updates
  • SERVER-59727 TenantMigrationAccessBlockerRegistry::_remove doesn't remove when both mtabs are present
  • SERVER-59765 $dateAdd/$dateSubtract do not detect an overflow for certain 'amount' values
  • SERVER-59778 Robustify timeseries_query.js test
  • SERVER-59796 Wait for replication before stopping replication on secondaries in catchup.js
  • SERVER-59804 Using a separate branch for YCSB in system_perf.yml
  • SERVER-59805 Provide a way to check for and to remove invalid index catalog options
  • SERVER-59843 Complete TODO listed in SERVER-56639
  • SERVER-59865 Update repl arch guide to reflect new implicit default write concern formula
  • SERVER-59866 Stop FCV from waiting for majority when currentCommittedSnapshot is dropped
  • SERVER-59867 Split horizon mappings in ReplSetConfig/MemberConfig should be serialized deterministically
  • SERVER-59868 Fix index build race in durable_history_index_usage.js
  • SERVER-59876 Large delays in returning from libcrypto.so while establishing egress connections
  • SERVER-59885 Wait for replica set to stabilize before validating collections
  • SERVER-59925 Stress test and fix deadlock in expiring idle buckets
  • SERVER-59934 Dropping a View and creating a Collection on same namespace may be replicated out-of-order
  • SERVER-59943 Multiversion setup should not download assets from test branches
  • SERVER-59952 Fix multiversion burnin_tests error during resmoke process
  • SERVER-59970 Fix return value from authenticate command
  • SERVER-60007 Implement command to drop collection if its UUID differs from the expected
  • SERVER-60025 queue document crashes the server due to producing invalid runtime object
  • SERVER-60038 Ban setWindowFields in transaction with read concern snapshot
  • SERVER-60062 Fix duplicate uuid and server description deep copy found in topology description clone
  • SERVER-60096 Add rollbackHangCommonPointBeforeReplCommitPoint failpoint to RVR
  • SERVER-60145 generated task resmoke config files should be based on task names
  • SERVER-60150 Add variant to 5.0 with some feature flags
  • SERVER-60201 Clean up time-series update and delete util functions
  • SERVER-60218 Improve $group stage
  • SERVER-60223 Container hosts should look for evergreen binary at /
  • SERVER-60228 RPM external dependency scanner is deprecated
  • SERVER-60259 set require_multiversion in task generation
  • SERVER-60263 stitch_support library fails to load due to missing static initializers
  • SERVER-60269 Enable ShardedTimeSeriesUpdateDelete feature flag
  • SERVER-60270 Add tags to window functions read concern test
  • SERVER-60283 Disable tests incompatible with the ephemeralForTest storage engine
  • SERVER-60285 Create FSM test for deletes on sharded time-series collections
  • SERVER-60290 Update Windows external auth test distro
  • SERVER-60299 Backport PCRE bugfix for Bugzilla #2613
  • SERVER-60322 Failed index build initialization during rename collection between dbs may not clean itself up from collection metadata
  • SERVER-60326 Windows Server fails to start when X509 certificate has empty subject name
  • SERVER-60340 Don't forward mongo ports through SSH tunnel in powercycle
  • SERVER-60343 Single-phase index builds perform un-timestamped catalog writes on abort
  • SERVER-60348 Add featureFlagTimeseriesUpdatesAndDeletes to 5.0 backport builder
  • SERVER-60406 $searchMeta fails on unsharded collection in sharded cluster when there are no search results
  • SERVER-60418 drop_sharded_timeseries_collection would not support step downs
  • SERVER-60420 The slow 'shardCollection' path performs heavy work under the critical section
  • SERVER-60424 TenantOplogFetcher times out on recreating aggregation cursor
  • SERVER-60430 [v5.0] tenant_migration_recipient_access_blocker_rollback.js holds a failpoint that prevents previous instance from completing
  • SERVER-60450 Add error check for $dateSubtract when negating amount value
  • SERVER-60451 Index builds code can access an invalid BSONObj because the cursor was saved&restored at a lower level
  • SERVER-60452 Fix time-series shard key validation when the collection does not exist
  • SERVER-60456 LDAPBindOptions go out of scope during heavily delayed binds on Windows
  • SERVER-60469 Retryable deletes reserve two optimes for preImage chaining despite not capturing a preImage
  • SERVER-60495 Retry FailedToSatisfyReadPreference in DDL coordinators
  • SERVER-60497 renameCollectionForApplyOps should skip system.buckets rename check
  • SERVER-60511 getPinnedOplog return value should always be std::min compared with the pinned timestamp
  • SERVER-60518 Best effort checks in range deleter can leave orphans
  • SERVER-60523 Standalone fixture incorrectly handles directory creation exceptions
  • SERVER-60544 Replace remaining references to slaveDelay in replication system
  • SERVER-60548 Timeseries insert path segfault
  • SERVER-60550 migration_util function may miss some response errors when submitting remote commands through sendToRecipient()
  • SERVER-60554 Reduce ConnectionAttempts in ssh connection options in powercycle
  • SERVER-60588 $multiply incorrectly throws an error in some cases in the classic engine
  • SERVER-60593 Robustify sample_timeseries.js test
  • SERVER-60606 Race condition during initial sync when index builds start in data cloning phase
  • SERVER-60651 Backport the autoSplitVector logic to v5.0
  • SERVER-60661 [5.0] Add test to ensure that sharded time-series collections work correctly when the feature flag is off
  • SERVER-60739 Change chunk size in timeseries_balancer.js to split chunks sooner
  • SERVER-60740 Robustify timeseries_multiple_mongos.js test
  • SERVER-60762 $setWindowFields partitionBy an array should consistently error
  • SERVER-60766 Add 'does_not_support_transactions' for sharded time-series tests
  • SERVER-60801 Fix logkeeper snapshot location
  • SERVER-60869 Re-add logic to set feature compatibility version on arbiters
  • SERVER-60877 Correct inadvertent copy of MutableOplogEntry on replLogUpdate
  • SERVER-60896 Fast forward audit spooler before triggering filtered event
  • SERVER-60913 Package testing is failing on some platforms
  • SERVER-60948 Insert document in new collection in migration_id_index.js to await successful index build on secondary
  • SERVER-60971 Remove calls to BF suggestion service
  • SERVER-61094 Generating KeyStrings from MultiIndexBlock can result in memory limits not being respected
  • SERVER-61096 ResetDbPath sometimes errors while recreating dbpath on Windows
  • WT-5009 Migrate remaining wiredtiger-perf-lsm tests to Evergreen
  • WT-5270 Create wtperf script for evergreen
  • WT-5743 Rewrite cells when the transaction ids are cleared for VLCS
  • WT-5939 Fix naming conflict resulting in "cannot remove directory" error in test_config06 (OSX only)
  • WT-6077 Add new stats to track compact progress
  • WT-6193 Re-enable VLCS testing in format-test
  • WT-6669 Enable VLCS coverage and checkpoint tests in evergreen
  • WT-6900 Write "schema" subpage for Architecture Guide
  • WT-6903 Write "dhandle/btree" subpage for Architecture Guide
  • WT-6907 Write "snapshots" subpage for Architecture Guide
  • WT-6909 Eviction architecture guide
  • WT-6913 file system and os interface architecture guide
  • WT-7169 Commit ts should not be lesser than the last durable ts in test_timestamp22.py
  • WT-7250 Fix the test to perform explicit eviction instead of relying on low cache size
  • WT-7294 Re-enable VLCS evergreen endianness tests
  • WT-7392 Added evicted flag to dhandle for use by session sweep
  • WT-7494 Add Python test to trigger update restore eviction during recovery
  • WT-7601 Fix typo in operation tracking documentation
  • WT-7695 Dump entire tree when key out-of-order found in __cursor_key_order_check_row
  • WT-7745 Add macro to identify uris for btree objects
  • WT-7757 Skip obsolete leaf pages without having to read them
  • WT-7844 Add tiered_abort stress test for tiered storage.
  • WT-7885 Ensure WiredTiger testing uses tcmalloc where possible
  • WT-7902 Retry the alter command after a system wide checkpoint
  • WT-7914 Update the documentation only when required
  • WT-7942 Release timestamp lock in test/format when all_durable timestamp is not found
  • WT-7949 Change local store cache and bucket directories to be relative to WT_HOME
  • WT-7957 Tiered storage should look in local system for objects
  • WT-7959 Skipped_pages is less than expected_pages_skipped in test_cursor17
  • WT-7980 Create interface to "log:" cursor which switches log files before returning them
  • WT-7987 Create Unit Test to check compact does not rewrite overflow items
  • WT-7989 Compact quits when running at the same time as a system checkpoint
  • WT-7992 Provide API to return the last key in a table regardless of visibility
  • WT-7993 If gathering handles and not in aggressive eviction mode, have eviction sleep to let checkpoint grab a contentious spinlock.
  • WT-8001 Fix Inconsistent API behaviour when setting global oldest and stable timestamps
  • WT-8007 Update script to correctly generate new test for the CPP test suite framework
  • WT-8011 Add format support for randomly choosing RS or VLCS
  • WT-8017 Re-enable VLCS format stress testing in evergreen.
  • WT-8019 VLCS snapshot-isolation search mismatch
  • WT-8022 Verify WT_CURSOR.modify return values in format test program
  • WT-8023 Use global transaction information to assess if a session has active transaction
  • WT-8024 Add link text to cross-references in Arch Guide
  • WT-8026 Run PPC/zSeries/macOS mainline builds less frequently in Evergreen
  • WT-8034 Use the PR branch when docs are compiled in PR testing
  • WT-8035 Handle prefix enabled lexicographical comparisons for string key formats
  • WT-8036 Added connection panic flag in two assert statements in wt_evict_thread_run and _wt_evict_thread_stop.
  • WT-8039 Add a new flag for API check instead of clearing prepared flag which may incorrectly force a roll back
  • WT-8041 Rollback to stable unpacks values repeatedly
  • WT-8042 Create an evergreen job to run test/checkpoint variation
  • WT-8043 Tidy the "ripcip" argument into the visibility code
  • WT-8044 Prefix enabled search near only returns matching keys
  • WT-8048 Remove split_8 timing stress configuration
  • WT-8055 Fix issue when compact quits when running at the same time as a checkpoint
  • WT-8057 Add a test to verify that changing compact is not resulting in data loss
  • WT-8059 Add a check in salvage when no overflow items are found
  • WT-8067 Fix the code that ensures to insert the newest history store value as full update
  • WT-8068 Improve __rollback_row_modify control flow
  • WT-8069 Coverity analysis defect 120706: Redundant test
  • WT-8070 Remove discrepancy between prefix_key and prefix_search
  • WT-8075 Coverity analysis defect 120712: 'Constant' variable guards dead code
  • WT-8077 Mark the page dirty once the prepared updates are resolved
  • WT-8078 Implement tiered storage local retention caching
  • WT-8079 Add breakpoint to verify error macros, clean up API processing
  • WT-8081 Fix tiered hook functions to provide default for config string
  • WT-8086 Create cpp test for prefix search near entries
  • WT-8092 Prefix early exit when keys are present in the insert list
  • WT-8094 Fix use after free in csv extractor
  • WT-8101 Enable diagnostic mode for the CPP tests in evergreen
  • WT-8103 Skip a dhandle if it isn't a btree
  • WT-8104 Fix memory leaks noted by ASAN
  • WT-8108 Use temporary files and rename in local store
  • WT-8112 Skip null check, per coverity
  • WT-8113 Remove dead code, per coverity
  • WT-8115 Define macros only when necessary in cpp files
  • WT-8116 Fix issues related to inheritance in the cpp testing framework
  • WT-8119 Add targeted compact testing to the existing testing framework
  • WT-8121 Create a long running stress test which inserts a large amount of data over a long period
  • WT-8125 Update hs_cleanup cppsuite test to use the new thread_context logic
  • WT-8126 Mark btree as dirty only if not newly created when instantiating a deleted row-store leaf page
  • WT-8146 Stop the tracking component when a CPP test ends
  • WT-8147 Detect invalid syntax in cppsuite configs
  • WT-8148 Fix comment typo in util_verify.c
  • WT-8161 Reduce verbosity of CMake Evergreen smoke
  • WT-8162 Refactor uses of SMOKE arg in 'define_c_test' helper
  • WT-8164 Disable rollback_to_stable10 python test on Windows
  • WT-8168 Fix unused variables in search near cpp tests
  • WT-8171 Implement a C style test in the CPP testing framework
  • WT-8193 Wrong corner case in VLCS rollback-to-stable
  • WT-8199 Make s_all accept Python PEP8 compliant line breaks
  • WT-8203 Fix the layering violation in accessing the page
  • WT-8204 Fix possible race condition in "wt7989_compact_checkpoint" CSuite test
  • WT-8214 Only publish the docs from the WiredTiger develop Evergreen project
  • WT-8225 Fix data race in zstd get context
  • WT-8226 Fix largest_key failed to consider prepared update

5.0.3 Changelog

Security

SERVER-57716 Partial certificate chain in PEM causes validation failure in OCSP

Sharding

  • SERVER-27383 Require --replSet with --configsvr
  • SERVER-50937 Make resharding coordinator support recovery
  • SERVER-55824 Make ssl_get_more.js start shards as replicaset
  • SERVER-57487 Update chunks during setFCV 4.4 «--» 5.0 must not block balancing for long periods
  • SERVER-57953 _flushReshardingStateChange attempts to refresh shard version while another refresh already pending, leading to invariant failure
  • SERVER-58081 _flushReshardingStateChange from coordinator races with donor shard acquiring critical section, stalling the resharding operation
  • SERVER-58315 Change jstests to not use standalone nodes as shards nor config server
  • SERVER-58342 Allow specifying of reshardCollection zones to be empty
  • SERVER-58603 ensureTempReshardingCollectionExistsWithIndexes may hit an invariant if collection was previously dropped
  • SERVER-58702 Fix comment in ReshardingDataReplication and update its member declaration order
  • SERVER-58720 DropDatabaseCoordinator must not re-execute destructive logic after removing CSRS metadata
  • SERVER-58781 ReshardingCoordinatorObserver should not fulfill promises if the "donors" or "recipients" fields are empty
  • SERVER-58868 Enable/Remove a commented moveChunk + AllowMigrations test
  • SERVER-58917 Wait until donors/recipients are aware that coordinator has persisted decision before expecting successful collMod, createIndexes, and dropIndexes in resharding_prohibited_commands.js
  • SERVER-58926 ReshardingDonor should not try to set the stop time of the critical section if it the critical section was already released
  • SERVER-59114 ReshardingOplogFetcher stops fetching new oplog entries if remote donor shard responds with Interruption exception
  • SERVER-59292 completion future can be set more than once because of WithAutomaticRetry

Replication

  • SERVER-58133 Use split replication tasks because they are timing out because of "majority" implicit default write concern
  • SERVER-58987 Fix read_only_test.js to avoid start point beyond end point during replication recovery.
  • SERVER-59083 catchup_takeover_with_higher_config.js needs to be excluded from multiversion suite for last-continuous
  • SERVER-59131 Wrap rawMongoProgramOutput search in an assert.soon in implicit_default_write_concern_upgrade_shards.js
  • SERVER-59212 Make sure node stepped down before waiting for catchup takeover in catchup_takeover_with_higher_config.js
  • SERVER-59478 Move serverStatus command before taking RSTL in catchup_takeover_with_higher_config.js

Query

  • SERVER-54791 Excessive file descriptor usage during index build with external sort
  • SERVER-57448 fix ExpressionParams::parseTwoDParams() to handle int values in key patterns that are out of bounds
  • SERVER-57667 Improve processing speed for resharding's collection cloning pipeline

Storage

SERVER-58744 applyOps on capped collections can violate the multi-timestamp constraint

Build and Packaging

WT-7830 Migrate the python setup scripts to use cmake

Internals

  • SERVER-52007 Create feature flag for Integration work to support new $search parameters
  • SERVER-53001 Complete TODO listed in SERVER-47323
  • SERVER-53437 Architecture Guide updates for Change the Default Write Concern to Majority
  • SERVER-54735 Executor shutdown can cause AsyncTry-until to set its result with ErrorCodes::BrokenPromise
  • SERVER-55589 replSetMaintenance command does not take the RSTL
  • SERVER-55664 Support clustered _id indexes in ephemeralForTest
  • SERVER-55760 Cancelation tests for AsyncTry are racy
  • SERVER-55966 AsyncTry no longer handles exceptions from until() lambda, leading to process crash
  • SERVER-56235 Evaluate index types that are dependent on a collection not being clustered, rather that it not being time-series
  • SERVER-56492 Normalize time-series metadata with array type
  • SERVER-56580 Promote build-tools=next to stable
  • SERVER-56763 Validate collection epoch when not holding a DB lock for $merge
  • SERVER-56800 Fail addShard if CWWC disagrees with existing CWWC on cluster
  • SERVER-56844 Fassert shard server on startup if DWCF=w:1 and no CWWC set
  • SERVER-56845 Fail addShard if DWCF=w:1 and no CWWC is set
  • SERVER-56846 Fail reconfig for shard server if it would change DWCF and CWWC is not set
  • SERVER-57086 Do not set inherited maxTimeMSOpOnly deadline on hello command in v4.4
  • SERVER-57140 Fix up perl relics from migrated shell scripts
  • SERVER-57262 Allow nodes to vote for candidates with higher config
  • SERVER-57279 Update the FCV constant in the logkeeper snapshot workload
  • SERVER-57360 Log additional debug info for the "invariant (_requests.empty());" in ~LockerImpl
  • SERVER-57387 create_view_does_not_take_database_X.js should check its insert
  • SERVER-57435 Exclude views_coll_stats.js from causally_consistent test suites
  • SERVER-57465 remove_newly_added_field_after_finishing_initial_sync.js does not wait until the new configuration has been replicated
  • SERVER-57520 Make set_audit_config.js test start shard as replicaset
  • SERVER-57575 Investigate create_view_does_not_take_database_X.js failures on Windows
  • SERVER-57585 oplog_visibility.js prints null 'next' timestamp for missing oplog entry
  • SERVER-57599 DocumentSourceBucketAuto returning eof when disposed
  • SERVER-57615 Reset CWWC to w:majority for tests that don't create/stop the replica set
  • SERVER-57616 Wait for secondary to load signing keys in disable_cluster_time_gossiping_in_unreadable_state.js
  • SERVER-57617 Have the OplogFetcher in Tenant Migrations do an aggregation query instead of a find
  • SERVER-57630 Enable SSL_OP_NO_RENEGOTIATION on Ubuntu 18.04 when running against OpenSSL 1.1.1
  • SERVER-57651 Prevent integer overflow in Query Planner parsing of hint parameter
  • SERVER-57657 disable_cluster_time_gossiping_in_unreadable_state.js shouldn't modify a response's $clusterTime
  • SERVER-57700 Measure latency/throughput of resharding::data_copy::fillBatchForInsert in ReshardingCollectionCloner::doOneBatch
  • SERVER-57737 The index builds code path can throw WCEs and invalidate an active cursor by calling abandonSnapshot without calling save/restore cursor.
  • SERVER-57740 ShardingTest use X509 also with preferTLS mode
  • SERVER-58051 Mongod.exe does not release file handles on rotated logs on windows 10
  • SERVER-58060 Add new aggregation stage to downconvert RRFaM images to oplog entries
  • SERVER-58068 Multi updates interrupted by a tenant migration should wait for the migration to complete
  • SERVER-58119 single_node_set_new_hostname.js needs to call replSetReconfig with an assert.soonNoExcept
  • SERVER-58152 Create Feature flag for Remove Faulty Mongos From Cluster Topology
  • SERVER-58160 Increase egress timeout in cluster_x509_roate.js
  • SERVER-58184 Checkpoint thread causes assertions when raced with recovering prepared transactions on startup
  • SERVER-58264 Only run cron jobs in Evergreen on the master branch
  • SERVER-58293 mongocryptd does not include server API fields in explain command response
  • SERVER-58353 Fix disabled Replication tests failing in multiversion suites due to changing latest release to 5.1
  • SERVER-58392 Unpin durable history on rollback to refetch
  • SERVER-58399 Duplicate errInfo field in write errors when operation fails document validation
  • SERVER-58402 Increase timeout of shutdown command in shutdown_primary.js
  • SERVER-58420 Gracefully handle the demotion of data-types in umask
  • SERVER-58432 Include dochub link in log line 5578800 when warning about deprecation/removal of old op codes
  • SERVER-58438 Tenant migration retryable write prefetching pipeline could be very slow under load
  • SERVER-58464 Invariant failure during time-series insert with concurrent shutdown
  • SERVER-58565 Adjust timeout for replica_sets_jscore_passthrough
  • SERVER-58581 Add SEARCH_META variable that populates from mongot
  • SERVER-58582 Create $documents stage and implement collectionless unionWith
  • SERVER-58588 Implement $searchMeta stage
  • SERVER-58594 ReplicationCoordinatorImpl::handleHeartbeatResponse_forTest doesn't use _mutex when reading _rsConfig
  • SERVER-58620 New recipient primary can complete migration before donor renames collection in tenant_migration_resume_collection_cloner_after_rename.js
  • SERVER-58626 Mark capped_max1 as tenant_migration_incompatible.
  • SERVER-58637 Temporarily disable null_query_semantics.js from multiversion passthroughs
  • SERVER-58669 createIndexes, dropIndexes, and collMod may still fail with ReshardCollectionInProgress after resharding operation completes
  • SERVER-58676 Ban pipelines that set SEARCH_META variable in sharded collections
  • SERVER-58682 check_todos.py should be no-oping in the waterfall
  • SERVER-58698 [Linux Repeated Execution builder] disable concurrency_replication_multi_stmt_txn
  • SERVER-58740 Reserve multiple oplog slots when writing retryable findAndModify with storeFindAndModifyImagesInSideCollection=true
  • SERVER-58806 Use replica_sets_jscore_passthrough_gen task on Enterprise MacOS
  • SERVER-58812 tenant_migration_timeseries_retryable_write_oplog_cloning.js should get donorDoc before being garbage collected
  • SERVER-58815 Have internal findAndModifyImageLookup set the synthetic oplog entry to timestamp of findAndModify - 1
  • SERVER-58823 The refineShardKey command should mark its operation context as interruptible at step down/step up
  • SERVER-58855 Improve/Fix the Race Condition in out_max_time_ms.js
  • SERVER-58857 Change stream accidentally filters out rename event from reshardCollection [5.0 Only]
  • SERVER-58886 Allow 'vars' result to be returned from a sharded search query but fail on SEARCH_META access
  • SERVER-58898 Prevent writing to "local" db from waiting for writeConcern
  • SERVER-58904 Escaped or single-quoted DESTDIR causes malformed .ninja and resmoke.ini
  • SERVER-58919 sharding_jscore_passthrough_wire_ops_gen needs to be marked as a generated task.
  • SERVER-58948 idl_tool: support generated idls
  • SERVER-58973 Fix failure deprecated_wire_ops_mongos.js with v5.0 windows debug build
  • SERVER-58984 awaitable_hello_fcv_change.js doesn't account for window between awaitable hello requests due to reconfig
  • SERVER-59000 Enforce dependencies for generated tasks
  • SERVER-59025 Increase storage log verbosity in oplog_slow_sampling_logging.js
  • SERVER-59040 add operations_longer_than_stepdown_interval tag to background_unique_indexes.js
  • SERVER-59044 Handle empty time series collection for $sample in the TrialStage
  • SERVER-59056 [5.0] Fix primary check in timeseries_retryable_write_downgrade.js
  • SERVER-59071 Using $sample can trigger invariant when connecting directly to shards
  • SERVER-59091 Avoid fetching namespace from durable catalog for every key inserted in index build
  • SERVER-59093 Temporarily disable the failing jstest suite for ephemeralForTest on evergreen
  • SERVER-59101 remove unnecessary LIBDEPS edge from pipeline library
  • SERVER-59117 xcode next builders hit dyld 512 library limit
  • SERVER-59121 ssh connection failure during check_disk command in powercycle should cause ssh failure exit
  • SERVER-59135 Make mongocryptd targets in MSIs depend on libsasl2
  • SERVER-59158 Support running checkFCV() shell helper with mongos connection
  • SERVER-59188 Coverity analysis defect 120391: Uninitialized scalar field
  • SERVER-59197 Delete fam image entries when the corresponding session documents are deleted
  • SERVER-59203 Don't rely on mocks to test generating tasks for build variants
  • SERVER-59204 unowned filter BSONObj stored in PlanCache entry debugInfo
  • SERVER-59217 convert spaces to tabs for package files
  • SERVER-59236 Add function to legacy shell to recursively copy directories
  • SERVER-59242 update to snmp 5.9.1
  • SERVER-59291 Consider adding 'enableSearchMeta' query knob
  • SERVER-59324 Remove feature flag performance variant from sys-perf on 5.0.
  • SERVER-59353 Have shell strip featureFlagRetryableFindAndModify when launching mongod version <= 4.4
  • SERVER-59362 Setup Fault Manager State Machine
  • SERVER-59404 Avoid powercycle_smoke_skip_compile reaching task timeout
  • SERVER-59431 [v5.0] disable parallel task in EFT builder
  • SERVER-59516 Create opCtx outside of lock in oplog fetcher
  • SERVER-59573 Add setParameter which can be used to restore inactive cursor timeout in sessions
  • SERVER-59640 [5.0] Add coverage for geoSearch command in views_all_commands.js test
  • WT-6755 Documentation: populate developer glossary
  • WT-6910 Write "history store" subpage for Architecture Guide
  • WT-6911 Write "block manager" subpage for Architecture Guide
  • WT-6915 Write "log files" subpage for Architecture Guide
  • WT-7006 Write Connection subpage for Architecture Guide
  • WT-7007 Backup architecture guide page
  • WT-7198 Fix test_backup15 failure with backup mismatch
  • WT-7352 Fix test_hs01 conflict between concurrent operations in cursor modify
  • WT-7363 Add support for dumping history store output in hex format
  • WT-7521 Remove excess ckplist invalidations
  • WT-7592 Remove log_flush("sync=background") support
  • WT-7599 Update the CONFIG file based on the release that is about to run for compatibility tests
  • WT-7663 Change local store extension to allow only readonly FS operations
  • WT-7673 Investigate and fix manydbs test failure on Windows
  • WT-7718 Rename 'build_cmake'
  • WT-7838 Ability for ordered timestamp assertion to do more than a log message
  • WT-7842 Remove explicit ulimit -n call in many-collection-test
  • WT-7860 Improve code coverage reporting
  • WT-7866 Update cache_hs_insert limits in cppsuite-hs-cleanup-stress
  • WT-7876 Update rollback to stable test to use correct boolean values and update statistic checking logic
  • WT-7880 Fix history store record issue when the update following the prepared update is in history store
  • WT-7891 Remove doc typos
  • WT-7893 Remove ignored message from wiredtiger_open in test_encrypt08
  • WT-7895 Fix arch-data-file.dox documentation build failure
  • WT-7897 Enable verbose logging for test_backup15 to aid debugging
  • WT-7900 Fix insertion of new records in test format for column-store
  • WT-7901 test suite cleanup
  • WT-7905 Fix incorrect builtin behaviour for builds in CMake
  • WT-7907 Add dependencies to swig module definition in CMake build
  • WT-7908 Make variable-length column store work again with the static tests
  • WT-7909 Create a new method to check for running user transactions before starting rollback-to-stable operation
  • WT-7918 Support setting a prepare timestamp at current read timestamp
  • WT-7928 VLCS checkpoint and additional test suite improvements
  • WT-7931 Evicting modifies using the evict cursor in test_multiple_older_readers_with_multiple_mixed_mode() to ensure that eviction happens.
  • WT-7934 Upload perf results from many-collection test to Altas
  • WT-7935 Add arm64 implementation of rdtsc equivalent instruction
  • WT-7936 Update the format.sh script to run recovery tests
  • WT-7937 Fix s_docs to use sh, not bash syntax
  • WT-7938 Fix rollback-to-stable memory leak on error
  • WT-7940 Update mongod path for many-coll test
  • WT-7941 Add an Evergreen task to test abort/recovery using test/format
  • WT-7943 Do not assert timestamps when rolling back a prepared transactions
  • WT-7945 Move rollback handling to the operation layer in the cppsuite.
  • WT-7947 Allow CMake to take in a specific Python version
  • WT-7952 Minor docs build fixes
  • WT-7953 Teach s_string to not look inside getopt option lists.
  • WT-7955 Copy format.sh and CONFIG.stress to the test/format build directory with CMake
  • WT-7956 RTS to skip deleted or stable RLE cells
  • WT-7961 Sometimes lag oldest timestamp in timestamp_abort.
  • WT-7964 Fix rollback to stable incorrectly not rolling back updates at snap_max
  • WT-7965 Update connection base write generation number at the end of recovery checkpoint
  • WT-7968 In timestamp_abort skip setting timestamps when all_durable moves backwards
  • WT-7970 Set the stable timestamp before starting the checkpointer and clock threads
  • WT-7974 More column-store fixes and tests
  • WT-7984 Fix a bug that could cause a checkpoint to omit a page of data
  • WT-7994 Add docs compile task to PR testing
  • WT-7995 Fix the global visibility that it cannot go beyond checkpoint visibility
  • WT-7996 More column-store C testing
  • WT-7998 Minor fixes on Cache subpage of Architecture Guide
  • WT-7999 Fix the assert to handle an update in the middle with max stop timestamp
  • WT-8005 Fix a prepare commit bug that could leave the history store entry unresolved
  • WT-8006 sync/checkpoint cleanup code isn't appropriate for VLCS

5.0.2 Changelog

Security

SERVER-57727 Race conditions in x509_invalid.js

Sharding

  • SERVER-47372 config.cache collections can remain even after collection has been dropped
  • SERVER-48651 Avoid lock timeout errors in refine_collection_shard_key_basic.js
  • SERVER-50521 Write reshardBegin no-op oplog entry after temporary resharding collection is created
  • SERVER-54948 Calling shardCollection after enableSharding from a different MongoS is not causally consistent
  • SERVER-55574 Migration distlock acquisition fails to catch status
  • SERVER-56647 Make dropDatabase resilient to network partitions
  • SERVER-56648 Make dropCollection resilient to network partitions
  • SERVER-56649 Make renameCollection resilient to network partitions
  • SERVER-56650 Make createCollection resilient to network partitions
  • SERVER-57204 Extend the _configsvrSetAllowMigrations command to take the collection uuid to make it idempotent
  • SERVER-57380 Improve "InvalidOptions: read concern level snapshot is only valid in a transaction" message during cluster incompatibility
  • SERVER-57488 Create command to remove tags matching a ns from config.tags that can be run as retryable write
  • SERVER-57496 Proactively evict cached entries after drop database/collection
  • SERVER-57559 Implement LSID cache for DDL coordinators
  • SERVER-57759 Run movePrimary command before sharding the source collection in the ReshardingTest fixture
  • SERVER-57850 Increase timeout when waiting for migration on authCommands.js
  • SERVER-57870 Drop database sharded FSM doesn't guarantee that operations will be completed
  • SERVER-57944 Targeter is not being clean completely after failed refresh on batch write executor
  • SERVER-58021 mongos should retry write upon getting ShardCannotRefreshDueToLocksHeld error from shard
  • SERVER-58048 Resharding's initial split points for hashed shard keys don't match the sampled values
  • SERVER-58089 Coverity analysis defect 120194: Uninitialized pointer field
  • SERVER-58115 Outdated information can remain in the catalog cache after a collection is renamed
  • SERVER-58143 shardsvrDropCollectionParticipant should be killable on stepdown
  • SERVER-58167 Use scoped database critical section during dropDatabase
  • SERVER-58266 Stop forcing database version refreshes in chunk manager targeter
  • SERVER-58271 Stop forcing collection version refreshes in chunk manager targeter
  • SERVER-58273 Solve deadlock caused by uninterruptible lock guard in drop db participant command
  • SERVER-58321 Check recipient document existence instead of donor twice in resharding abort command
  • SERVER-58364 ShardServerCatalogCacheLoader::waitForCollectionFlush should be interruptible
  • SERVER-58465 Fix the cleanup of the Routing Info in the rename operation
  • SERVER-58535 _shardsvrRenameCollection should be interrupted on stepdown
  • SERVER-58589 Remove ShardingFullDDLSupportTimestampedVersion feature flag
  • SERVER-58624 Change the resharding critical section timeout value for reshard_collection_basic.js
  • SERVER-58649 Do not assume that the collection is always sharded in ShardServerProcessInterface::checkRoutingInfoEpochOrThrow method
  • SERVER-58747 The ShardServerCatalogCacheLoader doesn't interrupt ongoing operations on step up
  • SERVER-58749 Drop database coordinator must acquire collection distributed lock
  • SERVER-58775 Mark ConfigsvrSetAllowMigrationsCommand's opCtx as killable on stepdown

Replication

  • SERVER-37904 Allow a node to override the cluster chaining (enabled/disabled) setting
  • SERVER-58258 Wait for initial sync to clear state before asserting 'replSetGetStatus' reply has no 'initialSync' field
  • SERVER-58625 Add multi_update tag to geo_update1.js to exclude from certain passthrough suites

Query

  • SERVER-54078 [SBE] Improve perf of the bestbuy_agg_merge_wordcount benchmark suite
  • SERVER-58127 Fix benchRun() memory leak for parsing benchRun() args under exception
  • SERVER-58372 Robustify deprecated_wire_ops_mongos.js

Storage

  • SERVER-50287 drop_index.js fails when run in passthrough suite with stepdown
  • SERVER-56019 timeseries_index.js hangs in burn_in_tests burn_in:replica_sets_initsync_jscore_passthrough subtask
  • SERVER-56877 insert operations may fail to set index to multikey after aborted multikey catalog update

Operations

SERVER-58510 Fix 'use after free' issue in getExecutorForSimpleDistinct() function

Build and Packaging

  • SERVER-54729 MongoDB Enterprise Debian/Ubuntu packages should depend on libsasl2-modules and libsasl2-modules-gssapi-mit
  • SERVER-55446 Stand up an Apple Silicon compile-only builder on the Xcode 12 enabled hosts.

Internals

  • SERVER-56446 Can't use ReplSetTest.restart() in _auth suites with waitForConnect: false
  • SERVER-56568 Disable vptr UBSAN checks in dynamic builds and remove LIBDEPS_TYPEINFO
  • SERVER-56620 Nodes should explicitly clear arbiter durableOpTimeAndWalltime
  • SERVER-56625 validate cachedir race condition when cleaning bad cachefile
  • SERVER-56980 Robustify jstests/core/query_hash_stability.js
  • SERVER-57002 Refactor Evergreen task creation to support building multiple tasks
  • SERVER-57003 Generate all tasks for a build variant in a single task
  • SERVER-57064 Log create index and dropIndex(es) on mongos
  • SERVER-57176 The 'validateFeaturesAsPrimary' flag should be set to false while a node is in recovery phase
  • SERVER-57268 add multikey query to validate_multikey_restart.js
  • SERVER-57302 Generate implicit multiversion tests uses invalid name
  • SERVER-57327 evergreen ninja builders fail to copy install file
  • SERVER-57396 Enable visibility support by default on platforms where it is applicable
  • SERVER-57425 Avoid killing opCtx while holding the SessionCatalog mutex
  • SERVER-57450 Newly added tests do not show up in generated dynamic resmoke suites
  • SERVER-57474 profile_operation_metrics.js not resilient to query yielding
  • SERVER-57521 FCV change unconditionally closes outgoing connections that have not finished their hello handshake
  • SERVER-57576 validate_cache_dir should print the stacktrace
  • SERVER-57580 Simplify multiversion handling in evergreen.yml and task generation
  • SERVER-57642 Invariant Failure on src/mongo/db/query/plan_yield_policy.cpp 75 | Aborting
  • SERVER-57650 Make MigrationChunkClonerSource interruptible when waiting response to recipient commands
  • SERVER-57676 Wait for a checkpoint before releasing the "hangOplogCapMaintainerThread" in oplog_rollover.js
  • SERVER-57729 Cannot drop time-series collection if buckets collection does not exist
  • SERVER-57742 Create a non-specialized version of the OperationLatencyHistogram class
  • SERVER-57750 use a more distinct read command in quiesce_mode.js so that internal ops don't set off the failpoint
  • SERVER-57756 Race between concurrent stepdowns and applying transaction oplog entry
  • SERVER-57771 SBE explain does not report correct trial period statistics for a winning sort plan in "allPlansExecution" section
  • SERVER-57790 Minimise the impact of FCV upgrade/downgrade between 4.4 and 5.0 with large routing tables
  • SERVER-57798 Direct user to MongoDB Compass download page when failing to install MongoDB Compass due to a connection issue using ./install_compass
  • SERVER-57837 Adding TSBS to system_perf.yml
  • SERVER-57869 Shell getShardDistribution helper does not accumulate chunk counts on 5.0.0-rc1
  • SERVER-57926 Adjust log level from the evergreen scons splunk task
  • SERVER-57928 create_collection.js should use a dedicated database name and avoid dropping the test database
  • SERVER-57951 Incorrect data files archived by hook_test_archival.py
  • SERVER-57983 Integer overflow for $range in Classic Engine
  • SERVER-58020 cache-dir: prevent same buildsig with different content race condition
  • SERVER-58022 tenant_migration_resume_oplog_application.js should account for resumeTokens being part of an application batch
  • SERVER-58086 Investigate why debug symbols are not marked for download in some tasks
  • SERVER-58087 Reduce overhead of activated generated tasks
  • SERVER-58159 Extend relaxation of index ident reconciliation invariant for single-phase index builds
  • SERVER-58169 Log timestamps info on hitting invariants around stable timestamp calculation
  • SERVER-58187 Improve Connection Reaper and MongoLDAP performance
  • SERVER-58191 [Migrate Protocol] Allow delete_during_migrate.js to tolerate chunk migration failures due to timeout in catchup phase in slow variants.
  • SERVER-58197 Pass ranges by reference when constructing a Sorter from existing ranges
  • SERVER-58202 mark several tests as requires_sharding
  • SERVER-58208 Allow top-level $graphLookup stages to run in parallel on shards
  • SERVER-58249 findAndModify_flip_location.js should account for racey upserts when run in multiversion suites against 4.4 binaries
  • SERVER-58250 Inefficient usage of memory tracking map for $group and $setWindowFields
  • SERVER-58280 initial sync hangs on hiding dropped index when index builds are active
  • SERVER-58283 Add a new versioning file to set MONGO_VERSION and MONGO_GIT_HASH
  • SERVER-58332 pipeline MemoryUsageTracker: change StringMap to unordered_map for pointer stability
  • SERVER-58335 Remove SBE build variants from the 5.0 branch
  • SERVER-58357 [ephemeralForTest] TemporaryKVRecordStore fails to register commit handler in WCE loop
  • SERVER-58395 Resharding metrics should set donorState/RecipientState to kUnused if they are not initialized for currentOp report.
  • SERVER-58400 Generated timeouts need to take repeated execution into account
  • SERVER-58480 Add the necessary parameters to the ContinuousTenantMigration hook to allow for proper transient error retry
  • SERVER-58515 [ephemeralForTest] disable parallel task in EFT builder
  • SERVER-58532 Take when a build is ASAN into account when calculating timeouts
  • SERVER-58576 Improve tests for task generation
  • SERVER-58651 Kill ssh tunnel process in exit handler in powercycle
  • SERVER-58662 Disable tsbs on variants with older versions of mongodb
  • SERVER-58707 Move bench_test*.js tests out of parallel test job
  • SERVER-58734 Add evergreen task for new change stream fuzzer
  • SERVER-58746 Build failure on macOS 10.12; mongodb 5.0.0 requires macOS 10.13+?
  • SERVER-58794 _configsvrCreateDatabase and _flushDatabaseCacheUpdates should accept any API version parameters
  • SERVER-58816 errors_on_committed_transaction.js incompatible with multiversion tests in v5.0
  • SERVER-58936 Unique index constraints may not be enforced
  • WT-6280 Fail eviction if out of order handling races with checkpoint
  • WT-6729 Quiesce eviction prior running rollback to stable's active transaction check
  • WT-6782 test_prepare_hs02 WT_ROLLBACK failure: conflict between concurrent operations
  • WT-6902 Metadata subpage for Architecture Guide
  • WT-6914 Write "database files" subpage for Architecture Guide
  • WT-7279 Allow multiple terminate calls for storage source extension
  • WT-7343 Write a script that executes many-collection-test.py
  • WT-7473 Resolve "TODO: tiered" comments in code
  • WT-7507 Update salvage for a history store and timestamp world
  • WT-7520 Add start and stop values to automatic flag generation code
  • WT-7524 Refactor functions to obtain checkpoint list; Clear delete on skipping checkpoints
  • WT-7539 Add a configuration option that allows the user to specify debug modes.
  • WT-7543 Pass in the correct test name when constructing the default config path
  • WT-7553 Loosen the restrictions around evicting fast-truncate pages to avoid cache-stuck failures
  • WT-7556 Fix test_rollback_to_stable10 failure cache_hs_ondisk is 0
  • WT-7603 Sort statistics to fix JSON output
  • WT-7605 Drop support for million-collection-test
  • WT-7609 Report on time taken to start and shutdown the database in many-coll-test
  • WT-7616 Create a pass or fail test based on many collection workgen workload
  • WT-7619 Add a new optimization to skip pages in cursor traversal when all entries on the page are deleted
  • WT-7626 We only ensure update restore eviction happened in test debug mode09
  • WT-7628 Return an error message when supplied invalid command line args in the test framework
  • WT-7629 Run clang format on .cxx files in the codebase.
  • WT-7632 Fix invalid argument in test_rollback_to_stable14
  • WT-7640 Fix test_backup02 failure where checkpoint tables differ due to checkpoint cursor not supported
  • WT-7660 Rename poc_test to base_test in the cpp test framework and add insert_operation logic
  • WT-7667 Fix workgen JSON output
  • WT-7668 Overload the update method for the hs_cleanup test
  • WT-7670 Modify test tag format and tag additional python tests
  • WT-7676 Reformat wtperf backup to only read in files instead of wt_copy_and_sync
  • WT-7679 Create an evergreen test for many-dhandle-stress
  • WT-7683 Add python test hook to call flush_tier() during connection.close()
  • WT-7687 Stop tiered manager thread before internal thread
  • WT-7689 Fix double free in __curhs_insert
  • WT-7690 Fix coverity error when enum is compared against 0 (incr_backup:table_changes)
  • WT-7692 fix make check test failure on osx10 14 cmake
  • WT-7696 Fix coverity error - Unused variable in _rollback_to_stable_btree_apply_all
  • WT-7698 Decrease max_latency value in many dhandles scenario for workgen
  • WT-7703 Fix timeout in test_checkpoint_snapshot04
  • WT-7705 Add an assert to ensure that there are no updates on the new disk image in update restore
  • WT-7707 Simplify insert splits to use the splitting WT_REFs key
  • WT-7708 Add an assert to ensure the durable timestamp is larger than stable timestamp at the end of prepared commit
  • WT-7715 Fix uninitialized bool in txn_ckpt.c
  • WT-7717 Change macros in local_store.c to use WT namespace
  • WT-7719 Change default value of ENABLE_STRICT to "OFF" (CMake Usability Improvements)
  • WT-7720 Update POSIX CMAKE doxygen documentation (CMake Usability Improvements)
  • WT-7723 Delete the updates in the history store if they are rolled back or is the first stable update on the update chain
  • WT-7724 Fix race when running concurrent checkpoint and flush_tier
  • WT-7725 Add missing brackets around parameter in macro definition
  • WT-7726 Separating out the validation portion from the database model
  • WT-7727 Fix null pointer passed to memcpy() during 'format' test.
  • WT-7729 Fix to write out correct tiered information on checkpoint
  • WT-7730 Shifting the oldest and stable timestamps to match the commit timestamp format
  • WT-7732 Add a timeout configuration for flush_tier
  • WT-7739 Switch back to using MacOS 10.14 for Evergreen compile task
  • WT-7741 Fix misaligned address in crc32-x86.c
  • WT-7742 Fix misaligned address in wt3184_dup_index_collator/main.c
  • WT-7743 Fix integer overflow within wt2999_join_extractor csuite test
  • WT-7744 Fix null pointer within wt3338_partial_update csuite
  • WT-7746 Improve directory syncing with CMake helper 'create_test_executable'
  • WT-7748 Fix CMake library probes for libraries not on the default linker path
  • WT-7749 Assorted fixes for (and from) building and testing on NetBSD
  • WT-7751 Add an assert to ensure we never select an update that has been written to the history store for data store
  • WT-7752 Update packing code according to documentation
  • WT-7754 Fix race when updating block manager file handle
  • WT-7755 YSCB: Add a native implementation of YCSB to WTPERF.
  • WT-7756 RTS to clear the HS flag of an update following tombstone
  • WT-7758 Force evict a page when the update chain is too long
  • WT-7761 Improve debug_print to include timestamp, thread_id and reorder args in cppsuite.
  • WT-7762 Create stressful configs for the two tests add them to evergreen.
  • WT-7763 Coverity issues found in the stress testing framework
  • WT-7765 Fix signed integer overflow in intpack-test3
  • WT-7766 Fix null pointer passed to memset in test_wt3338_partial_update
  • WT-7767 Code cleanup for curhs_remove and __txn_fixup_prepared_update
  • WT-7770 Fix issue linking TCMalloc in CMake
  • WT-7776 Add a hard limit on the number of modify updates before we instantiate a complete update
  • WT-7778 Fix null dereferencing, and return of incorrect allocation size
  • WT-7780 Guarantee log message sequencing in the test framework.
  • WT-7781 Avoid skipping python tests for 3rd party ext libraries in CMake builds
  • WT-7782 Separate implementation from headers in cppsuite test framework
  • WT-7784 Enable RTS to use checkpoint snapshot on timestamp tables
  • WT-7787 Don't read pages for checkpoint cleanup when the cache is in aggressive mode
  • WT-7789 Change tiered python tests to fail without extension library
  • WT-7795 Fix CppSuite failure "expected ) before PRIxMAX"
  • WT-7796 Scan the tracking table and delete parts of it that are obsolete.
  • WT-7797 Disable postrun stats in CppSuite testing
  • WT-7799 Do not report failure of wiredtiger_open in python tests to output
  • WT-7802 Remove data store same transaction update squash logic
  • WT-7804 Fix test_hs24 committing mixed mode update from the wrong value
  • WT-7807 Remove unused arg in backup_config
  • WT-7811 Fix test_hs24 not commiting from 0 timestamp
  • WT-7813 Stop inserting to history store if we see a prepared update
  • WT-7815 Properly initialize prev_upd_ts for ordered timestamp assertion
  • WT-7817 Make tiered storage address cookies backward compatible
  • WT-7825 Fix test_hs24 key order
  • WT-7831 Clear transaction ids from previous run when repack the cell
  • WT-7832 Add an encryptor extension that uses the libsodium cryptography library.
  • WT-7836 Fixing a number of small issues in the cppsuite test framework
  • WT-7837 Clear updates structure in wt_hs_insert_updates to avoid firing assert
  • WT-7841 add "only unencrypted" checksum configuration, switch checksum default to "on"
  • WT-7843 Add missing macros to define PRIxMAX
  • WT-7846 Disable test_tiered08
  • WT-7851 Fix illegal checksum configuration in compatibility-test-for-newer-releases
  • WT-7852 Don't release eviction server lock when evicting pages
  • WT-7856 Enable flush test with open cursor in test_tiered04
  • WT-7864 Add support to run.py for running lists/ranges of scenarios in a test
  • WT-7865 Disable timeout assert while waiting for eviction to quiesce prior to RTS and test
  • WT-7870 Fix measurement of cyclomatic code complexity
  • WT-7871 Remove comment that is no longer true
  • WT-7874 Remove two other stale comments
  • WT-7883 Remove incorrect wt_free statement
  • WT-7889 Find/replace existing uses of WT with WiredTiger in reference guide
  • WT-7890 Fix CMake syntax error in config_lib

5.0.1 Changelog

Replication

SERVER-58398 Tenant migration hung indefinitely

Internals

  • SERVER-58142 TenantOplogBatcher should transition to complete when the next batch callback is called with error status
  • SERVER-58171 Changing time-series granularity does not update view definition
  • SERVER-58489 Collection creation stuck in an infinite writeConflictRetry loop when having a duplicate name as a view
  • SERVER-58546 Add log message to applyOps to preview which oplog entries will be applied
←  Downgrade 5.0 Sharded Cluster to 4.4Release Notes for MongoDB 4.4 →