summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-59927 Add retry to _restoreMetrics()r5.1.0-rc1Brett Nawrocki2021-10-186-213/+348
| | | | | | | | | | | | | | | | | | | | | | RecipientStateMachine::_restoreMetrics() performs a number of read operations to calculate the number of documents it cloned, oplog entries it fetched, and oplog entries it applied at the beginning of starting to run again. These read operations may be interrupted if the primary steps down shortly after having been stepped up, which eventually leads to an fassert(). Therefore, perform _restoreMetrics() in a resharding::WithAutomaticRetry() block so any transient errors can be automatically retried and synchronized with the stepdown token being canceled. Furthermore, refactor RecipientStateMachine to use new RetryingCancelableOperationContextFactory to ensure that all usages of CancelableOperationContextFactory occur within a resharding::WithAutomaticRetry() block. Additionally, add a test case that will cover the _restoreMetrics() read operations being interrupted. (cherry picked from commit b9e2784da82fef8e45b95b88e4ac1443649a5b0c)
* SERVER-60263 switch dynamic-sdk link-model to use whole-archive for initializersDaniel Moody2021-10-181-1/+1
| | | | (cherry picked from commit 8aef619d2368bb802aa5f109bffbbb916c0aa357)
* SERVER-60723 Fix a bug with how sbe::bson::convertFrom() computes the size ↵Drew Paroski2021-10-181-14/+4
| | | | | | of a BinData (cherry picked from commit e77eda3f09dcd2be820b1f1eec7ce8ac6c0cf477)
* SERVER-59654 Add Evergreen task for time-series update fuzzerGregory Noma2021-10-181-0/+16
| | | | (cherry picked from commit 8e530000b5d48f4d105039f822168d2e949ca956)
* SERVER-60769 Fix the adding of python links after fetching venvMikhail Shchatko2021-10-181-0/+3
| | | | (cherry picked from commit 77ee92d37be79b990fcf73c3b14659bffb0ff4fa)
* SERVER-60420 Release the critical section early in the shard collection slow ↵Marcos José Grillo Ramirez2021-10-182-7/+22
| | | | | | path (cherry picked from commit e7c0fc2c3eac5d5fd35b29fcc7d1d5d52946c293)
* Import wiredtiger: 74a07bf78520fb1e3ed08b341c2c36b795e567a1 from branch ↵Luke Chen2021-10-182-2/+7
| | | | | | | | | mongodb-5.1 ref: 51a5c5ff5b..74a07bf785 for: 5.1.0-rc1 WT-5939 Fix naming conflict resulting in "cannot remove directory" error in test_config06 (OSX only)
* Import wiredtiger: 51a5c5ff5b0ceea341f70a386fff5a9f68d2edac from branch ↵Luke Chen2021-10-186-30/+56
| | | | | | | | | mongodb-5.1 ref: e930e8d0cd..51a5c5ff5b for: 5.1.0-rc1 WT-8226 fix largest_key failed to consider prepared update
* Import wiredtiger: e930e8d0cd4c3330783e711253eae2923b1e2e3f from branch ↵Luke Chen2021-10-1820-48/+149
| | | | | | | | | mongodb-5.1 ref: a1f8165720..e930e8d0cd for: 5.1.0-rc1 WT-8116 Fix issues related to inheritance in the cpp testing framework
* Import wiredtiger: a1f8165720c8fc8dfacb90e4d9e398ccca9edd29 from branch ↵Luke Chen2021-10-188-325/+401
| | | | | | | | | mongodb-5.1 ref: cc95b23b14..a1f8165720 for: 5.1.0-rc1 WT-6077 Add new stats to track compact progress
* Import wiredtiger: cc95b23b1494b2cab4a40b254cfebc1d428e5503 from branch ↵Luke Chen2021-10-182-1/+18
| | | | | | | | | mongodb-5.1 ref: e271f9d668..cc95b23b14 for: 5.1.0-rc1 WT-8147 Detect invalid syntax in cppsuite configs
* Import wiredtiger: e271f9d668abe181367adcba829eace0c74d8b07 from branch ↵Luke Chen2021-10-182-6/+11
| | | | | | | | | mongodb-5.1 ref: 35f8c7123e..e271f9d668 for: 5.1.0-rc1 WT-5743 Rewrite cells when the transaction ids are cleared for VLCS
* Import wiredtiger: 35f8c7123eb1e1c06360153eff955ec5aeaa9a16 from branch ↵Luke Chen2021-10-183-26/+13
| | | | | | | | | mongodb-5.1 ref: da59cbb3f0..35f8c7123e for: 5.1.0-rc1 WT-8203 Fix the layering violation in accessing the page
* Import wiredtiger: da59cbb3f0e55bb1b2422dc9d17f15f2fb1cf145 from branch ↵Luke Chen2021-10-182-1/+6
| | | | | | | | | mongodb-5.1 ref: 510fca9751..da59cbb3f0 for: 5.1.0-rc1 WT-8225 Fix data race in zstd get context
* Import wiredtiger: 510fca97517c9946b3f74a784ffcdb630ba51fbc from branch ↵Luke Chen2021-10-185-56/+239
| | | | | | | | | mongodb-5.1 ref: 3ccb938991..510fca9751 for: 5.1.0-rc1 WT-7885 Ensure WiredTiger testing uses tcmalloc where possible
* Import wiredtiger: 3ccb93899164f2d492c13ca9bcf4d1bb257e43b0 from branch ↵Luke Chen2021-10-188-486/+631
| | | | | | | | | mongodb-5.1 ref: ebae8de6ec..3ccb938991 for: 5.1.0-rc1 WT-8067 Fix the code that ensures to insert the newest history store value as full update
* Import wiredtiger: ebae8de6ec50d4adefd96e053e579d184f2e0927 from branch ↵Luke Chen2021-10-182-3/+10
| | | | | | | | | mongodb-5.1 ref: 874f9a4cb6..ebae8de6ec for: 5.1.0-rc1 WT-8214 Only publish the docs from the WiredTiger develop Evergreen project
* SERVER-60528 Fix how SBE performs comparisons between 64-bit integers and ↵Drew Paroski2021-10-163-4/+121
| | | | | | doubles (cherry picked from commit 1b994ff8d7ea7b6761aa516fa66b518e4b034095)
* SERVER-59409 backport BACKPORT-10657: Fix race between reconfig replication ↵Andrew Shuvalov2021-10-1517-166/+400
| | | | and stepup part 4
* SERVER-59409 backport part 3, make the ElectionIdSetVersionPair comparisons tidyAndrew Shuvalov2021-10-155-81/+112
|
* SERVER-60497 renameCollectionForApplyOps should skip system.buckets rename checkGregory Wlodarek2021-10-151-5/+4
| | | | (cherry picked from commit fba7e40847260c1cff61adbd331be308ee140766)
* SERVER-60744 Increase replSetStepDown timeout in ↵Huayu Ouyang2021-10-151-1/+1
| | | | | | reconfig_waits_for_oplog_commitment_condition.js (cherry picked from commit 9fb720fe0cee19a7d66d28a7793c5a178d4b9b06)
* SERVER-60720 update 5.1 manpagesJon Streets2021-10-1515-12362/+11232
|
* SERVER-60469 Fix bug where two optimes for being reserved for retryable ↵Jason Chan2021-10-151-1/+4
| | | | | | deletes despite not capturing a preImage (cherry picked from commit 3953546c3cb0afa6dcafbc02f9c732d26a3166ec)
* SERVER-60596 replace optional::get() with optional::value()Davis Haupt2021-10-151-5/+5
|
* SERVER-60472 Do not run initial_sync_replicate_drop_mid_secondary_batch.js ↵Vesselina Ratcheva2021-10-151-1/+1
| | | | | | on ephemeralForTest (cherry picked from commit 278a50aef934e0268c261fe72238584cbde7eebb)
* SERVER-59923 Retry on another error code in ReshardingTest fixture.Max Hirschhorn2021-10-142-22/+28
| | | | | | | | | | | | | Changes the ReshardingTest fixture to additionally retry the reshardCollection command on FailedToSatisfyReadPreference error responses from mongos when elections are enabled. Also removes the shouldSetMinVisibleToOldestOnStartup constructor parameter to the ReshardingTest fixture now that the setMinVisibleForAllCollectionsToOldestOnStartup failpoint has been backported to the earlier branches. (cherry picked from commit 257cf738d1d0fa3ec73446133dae8f6b5510b2c4)
* SERVER-60662 Address bug spotted by RepositionLastSplitPointsTestPierlauro Sciarelli2021-10-143-11/+15
|
* SERVER-60468 Check that replication is not shutting down before using ↵Huayu Ouyang2021-10-141-18/+18
| | | | | | _initialSyncer in _initialSyncerCompletionFunction (cherry picked from commit 15d08a80ed120a756cc0d1f75e4b81c220243302)
* SERVER-60193 Robustify find_flip_sbe_enabled.jsJennifer Peshansky2021-10-141-69/+50
| | | | (cherry picked from commit c5f902b4d98e75a6bbb92b9ec52913a95209644d)
* SERVER-58466 Minor optimization on the CatalogCacheSergi Mateo Bellido2021-10-1310-43/+58
| | | | (cherry picked from commit 5a6bcdf77dc1769e2542cb16957fb69073306d03)
* SERVER-60413 Fix the critical section reason used by moveChunkSergi Mateo Bellido2021-10-131-2/+2
| | | | (cherry picked from commit 628aa5d9fe2624d40bb1b0a041521806e7d03d86)
* SERVER-60508 Make recoverRecoverableCriticalSections not attempt to release ↵Jordi Serra Torrens2021-10-131-4/+12
| | | | | | critSec for views (cherry picked from commit 34f32547b19c4bd62538273b093aa31fc26d71ea)
* SERVER-59923 Retry reshardCollection command in ReshardingTest fixture.Max Hirschhorn2021-10-134-6/+129
| | | | | | | | | Also adds a setMinVisibleForAllCollectionsToOldestOnStartup failpoint to enable resharding tests to read from the cloneTimestamp after server restarts without needing to wait for the creation timestamp of the source sharded collection to advance past the oldest_timestamp. (cherry picked from commit 0bde7934c623efd194747f65b2e711e188b7c108)
* SERVER-60548 Check for `kUnset` in `MinMax::_appendUpdates`Gregory Noma2021-10-122-1/+24
| | | | (cherry picked from commit 2caf04aea31915ca82238559b57a4a2c170072c3)
* SERVER-60389 [SBE] Rewrite engine specific assertions to be multiversion ↵Mihai Andrei2021-10-1211-102/+228
| | | | | | compatible Co-authored-by Mickey. J Winters <mickey.winters@mongodb.com>
* SERVER-60081 Make ChunkVersion::IGNORED not consider the migration critical ↵Kaloian Manassiev2021-10-121-13/+12
| | | | | | section (cherry picked from commit a83b0c692c886a595b27358fc5eb585547e0297a)
* SERVER-60570 Ban change_stream_update_lookup_read_concern.js run ↵Ruoxin Xu2021-10-121-7/+12
| | | | | | withreplicaSetMonitorProtocol=sdam (cherry picked from commit 90c29c1fa0105367dc12695898c22f0c2e4e8997)
* SERVER-59613 $range expression should error if it exceeds memory limitMickey. J Winters2021-10-116-22/+60
| | | | (cherry picked from commit 348a869208b3be1ca9e04f0f998c7ff7e8586873)
* SERVER-60495 Retry FailedToSatisfyReadPreference in DDL coordinatorsPierlauro Sciarelli2021-10-111-0/+1
|
* SERVER-54231 Resharding must not leave stale collection catalog entriesPierlauro Sciarelli2021-10-112-7/+41
|
* SERVER-60583 Disable $multiply in SBEJennifer Peshansky2021-10-111-2/+6
|
* SERVER-60220 Swap order of logChange and in-memory state updateLuis Osta2021-10-111-5/+5
|
* Import wiredtiger: 874f9a4cb6cb4190c62e31082e8c3975daae086e from branch ↵Luke Chen2021-10-118-629/+485
| | | | | | | | | | mongodb-master ref: d69545e62a..874f9a4cb6 for: 5.1.0-rc1 Reverted ticket(s): WT-8067 Fix the code that ensures to insert the newest history store value as full update
* Import wiredtiger: d69545e62add04dd501d28f2cd07fb1621f64d19 from branch ↵Luke Chen2021-10-118-485/+629
| | | | | | | | | mongodb-master ref: f36572fd07..d69545e62a for: 5.1.0-rc1 WT-8067 Fix the code that ensures to insert the newest history store value as full update
* Import wiredtiger: f36572fd070d0906b5cd2bc5f0db1fa1686abb50 from branch ↵Luke Chen2021-10-112-16/+42
| | | | | | | | | mongodb-master ref: 55805bc66b..f36572fd07 for: 5.1.0-rc1 WT-8026 Run PPC/zSeries/macOS mainline builds less frequently in Evergreen
* Import wiredtiger: 55805bc66bc3ffc53bd5d391b89ad0b2a950e8a5 from branch ↵Luke Chen2021-10-114-20/+63
| | | | | | | | | mongodb-master ref: b63d81a2da..55805bc66b for: 5.1.0-rc1 WT-7250 Fix the test to perform explicit eviction instead of relying on low cache size
* SERVER-60523 Standalone fixture incorrectly handles directory creation ↵Richard Samuels2021-10-091-5/+1
| | | | | | exceptions (cherry picked from commit d5010cf9e5b712f96c1a2c6539e303687b202f8a)
* SERVER-60526 Bump twisted to ==21.2.0Richard Samuels2021-10-091-1/+1
| | | | (cherry picked from commit 5e90cc7c629acaace108487a066349cc52c9c8db)
* SERVER-60482 tenant_split_commands is missing dep on auth libraryMatt Broadstone2021-10-081-0/+1
|