summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Import wiredtiger: 9893156289e444466848ae5d2b5ada7a4e0d6c0d from branch ↵r4.4.9-rc1r4.4.9Luke Chen2021-09-1513-685/+1051
| | | | | | | | | | | mongodb-4.4 ref: 7f9d2bd3ee..9893156289 for: 4.4.9 WT-7853 Validate the update chain before we attempt to insert it into the history store WT-7973 Skip deleting updates in the history store if all the records in the history store are obsolete WT-8045 Align eviction behaviour for handling of out of order timestamps
* Import wiredtiger: 7f9d2bd3eefbb725301d6075db7ce48c3b33e159 from branch ↵Luke Chen2021-09-1333-223/+997
| | | | | | | | | | | | | mongodb-4.4 ref: 823abc9cb3..7f9d2bd3ee for: 4.4.9 WT-7630 Fix a history store entry remove with checkpoint reserved transaction-id WT-7958 Include recovery in test/checkpoint WT-8032 Add fail points in reconciliation for history store inserts. WT-8047 Add mixed mode delete operations to test checkpoint WT-8056 Fix a bug in RTS that incorrectly restores an update from HS lead to the key removal
* SERVER-59743 Set SEARCH_META in $unionWith subpipelineTed Tuckman2021-09-021-0/+10
| | | | | (cherry-picked from commit 2b0d538db8c0c9b9d7992d4489ba7171c721dfb7) (cherry-picked from commit a7a458ee9a78a3834c7a7f081dcd8bc73f2d0f21)
* Import wiredtiger: 823abc9cb3d952b59276381a6181f5b1a0749cc9 from branch ↵r4.4.9-rc0Luke Chen2021-08-3026-140/+555
| | | | | | | | | | | | | | mongodb-4.4 ref: b85c4b8a97..823abc9cb3 for: 4.4.9 WT-7968 In timestamp_abort skip setting timestamps when all_durable moves backwards WT-7994 Add docs compile task to PR testing WT-7996 More column-store C testing 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
* SERVER-59573 Add query_knobs dep to cluster_cursor_manager libJames Wahlin2021-08-281-0/+1
|
* SERVER-59573 Fix cursor_timeout.js FCV tagJames Wahlin2021-08-281-1/+1
|
* SERVER-59573 Add setParameter which can be used to restore inactive cursor ↵James Wahlin2021-08-275-4/+210
| | | | | | | timeout in sessions (cherry picked from commit f40810c7c8706754b647992fbde1dc2745616b7c) (cherry picked from commit a04b6e222795b0389539bd1ea95b86937fb71244)
* SERVER-59478 Move serverStatus command before taking RSTL in ↵Wenbin Zhu2021-08-261-2/+5
| | | | | | catchup_takeover_with_higher_config.js. (cherry picked from commit d9747e5fbfc820ca6ea9167d4361d83cd2f507c6)
* SERVER-59469 Add missing space in burn_in_tags list of variantsJason Chan2021-08-261-2/+2
|
* Import wiredtiger: b85c4b8a97b80cd0eb5e71843fdd12c0b905c5a7 from branch ↵Luke Chen2021-08-2641-364/+1448
| | | | | | | | | | | | | | | | | | | | | | | | mongodb-4.4 ref: 27d10c3362..b85c4b8a97 for: 4.4.9 WT-6908 Write "cache" subpage for Architecture Guide WT-6911 Write "block manager" subpage for Architecture Guide WT-7005 Write "session" subpage for Architecture Guide WT-7006 Write Connection subpage for Architecture Guide WT-7905 Fix incorrect builtin behaviour for builds in CMake WT-7909 Create a new method to check for running user transactions before starting rollback-to-stable operation WT-7917 Add evergreen validation to s_all WT-7931 Evicting modifies using the evict cursor in test_multiple_older_readers_with_multiple_mixed_mode() to ensure that eviction happens. WT-7941 Add an Evergreen task to test abort/recovery using test/format 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-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-7995 Fix the global visibility that it cannot go beyond checkpoint visibility WT-7998 Minor fixes on Cache subpage of Architecture Guide
* SERVER-57752 Archive data files for terminate_during_shutdown_checkpoint.jsGregory Wlodarek2021-08-201-0/+2
| | | | | (cherry picked from commit 8e18be404a23c90055e42658550b5b366e1422f5) (cherry picked from commit 8c11a9d7c59a156619ba387be14eb584f979442a)
* SERVER-57752 Test terminating mongod during a clean shutdown checkpointGregory Wlodarek2021-08-201-0/+207
| | | | | (cherry picked from commit ce2ab3f91a1c7fc0876418b5f928638b9ac45231) (cherry picked from commit c1b3e69482ec97c310bf6817994319d3ec678fe3)
* SERVER-58184 Move getOldestActiveTimestamp after prepare reconstructionPavi Vetriselvan2021-08-201-4/+11
| | | | (cherry picked from commit 841cff317bf34a320f9b8be24cdf27faf4393cbb)
* Import wiredtiger: 27d10c3362673e12fb53b9c4be22cbb9fd46c72c from branch ↵Luke Chen2021-08-20116-805/+1331
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | mongodb-4.4 ref: 03eb45ea7f..27d10c3362 for: 4.4.9 WT-6915 Write "log files" subpage for Architecture Guide WT-7363 Add support for dumping history store output in hex format WT-7663 Change local store extension to allow only readonly FS operations WT-7718 Rename 'build_cmake' WT-7866 Update cache_hs_insert limits in cppsuite-hs-cleanup-stress WT-7880 Fix history store record issue when the update following the prepared update is in history store WT-7891 Remove doc typos WT-7907 Add dependencies to swig module definition in CMake build WT-7918 Support setting a prepare timestamp at current read timestamp WT-7928 VLCS checkpoint and additional test suite improvements WT-7934 Upload perf results from many-collection test to Altas WT-7936 Update the format.sh script to run recovery tests WT-7940 Update mongod path for many-coll test 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.
* SERVER-59330: bugfix: StreamableReplicaSetMonitor constructor should ↵Andrew Shuvalov2021-08-193-2/+46
| | | | bootstrap SdamConfiguration with RS name
* Revert "SERVER-59191 Use expansions in modules"vrachev2021-08-192-22/+22
| | | | This reverts commit 3825ab7a0302edf0717dd9222df50ac8f86609b8.
* SERVER-59414 Fix lintMikhail Shchatko2021-08-191-2/+2
|
* SERVER-59414 Retry curator setup in powercycleMikhail Shchatko2021-08-193-34/+48
|
* SERVER-59135 Make mongocryptd targets in MSIs depend on libsasl2Mark Benvenuto2021-08-181-0/+1
| | | | (cherry picked from commit b7ea2cf24aacb0ac13b6dbae95990b5900a08fe7)
* SERVER-59262 Remove burn_in_tests tasks from ↵Jason Chan2021-08-181-18/+3
| | | | storeFindAndModifyImagesInSideCollection build variants
* SERVER-58813 Robustify jstests/multiversion/hashed_index_bad_keys_cleanup.jsMihai Andrei2021-08-171-12/+34
|
* SERVER-58169: Log timestamps info on hitting invariants around stable ↵Lingzhi Deng2021-08-171-6/+18
| | | | timestamp calculation
* SERVER-57716: use common CA file for OCSP where clusterCA is presentsergey.galtsev2021-08-164-21/+87
|
* SERVER-58582 Create $documents stage and implement collectionless unionWith ↵Ted Tuckman2021-08-1611-28/+420
| | | | | | | | | (cherry-picked from commit 0d2789815060cf2d7ac511cf6a1be966243b5e84) (cherry-picked from commit dcb0c2f2001fc17be51c38db1319197973758a8c) SERVER-59188 Fix coverity issue in DocumentSourceUnwind (cherry-picked from commit bb6e1f9f7ae13210b99a84cfef08eeb0d2d0a86a) (cherry-picked from commit e1112c5fa3509664d6997dea3f314e067ba1e82a)
* SERVER-58051 close the original log when rotating to newsergey.galtsev2021-08-161-0/+2
|
* SERVER-55589 setMaintenanceMode should take RSTL in X modeVishnu Kaushik2021-08-1217-135/+63
|
* SERVER-59191 Use expansions in modulesvrachev2021-08-122-22/+22
|
* SERVER-56877 track uncommitted changes to multikey paths with a counterBenety Goh2021-08-125-23/+49
| | | | | | | | | | This change applies the technique in commit 3566db153ea61fb10d3ef11ea917fc7bc93eac4d for the isMultikey boolean flags to the reader and writer multikey paths. This commit is designed to support pre-5.0 backports and will be superseded by a new patch that uses the Collection metadata introduced in 5.0. (cherry picked from commit 5d8ac7127e207e0ef1aeaa90dcc62cda6896b71e)
* SERVER-58581 Add SEARCH_META variableTed Tuckman2021-08-1213-16/+204
| | | | | | | | | | (cherry-picked from commit 0f554217d6476d804f9ed1051722447fec017fb4) (cherry-picked from commit 9fdcc4cc39cfde80bce740555632eb34f65102aa) SERVER-58886 Ban SEARCH_META on sharded collections on variable access (cherry-picked from commit 4ce48b4608b0b3e0528b4faba0d1dc0075f71c32) (cherry-picked from commit 04c2c34467babc19d3b175fd0c98cab112c49f16)
* SERVER-59212 Make sure node stepped down before waiting for catchup takeover ↵Wenbin Zhu2021-08-111-7/+9
| | | | | | in catchup_takeover_with_higher_config.js (cherry picked from commit 0698d8274f591725f3ddf0f8dcdf4c0d5f130770)
* SERVER-57262 Relax vote constraint to allow voting for candidates with newer ↵Wenbin Zhu2021-08-115-15/+151
| | | | | | config. (cherry picked from commit e7937256045a2a182c583c7aacaf168e02cf0d06)
* SERVER-44316 Remove incorrect log message in initial_syncer.cppCarolyn Duan2021-08-111-5/+3
| | | | (cherry picked from commit f1370eb80c66f1439bc2ea135a2bf25e80eda1ed)
* SERVER-57630 Support SSL_OP_NO_REGNEGOTIATION if it's available at runtimeSara Golemon2021-08-111-2/+13
| | | | (cherry picked from commit 2d974e867061b13526750f1ff66a9fb577a96354)
* SERVER-58594 ReplicationCoordinatorImpl::handleHeartbeatResponse_forTest ↵Vishnu Kaushik2021-08-111-4/+6
| | | | doesn't use _mutex when reading _rsConfig
* SERVER-57268 add multikey query to validate_multikey_restart.jsBenety Goh2021-08-111-0/+24
| | | | (cherry picked from commit 31d6b135b5839e8b42d0b2ac3831f91ed9cd102f)
* SERVER-57178 add js test for verifying in-memory paths for compound multikey ↵Benety Goh2021-08-111-0/+53
| | | | | | | | | | | index This test updates multikey paths for multiple indexed fields in a compound index using different documents inserted within the same storage transaction, before running a full validation to ensure the in-memory paths are correctly updated to provided the necessary coverage for queries. (cherry picked from commit de1fa178269c8cc55ad2012a786074c1d32109a9)
* Import wiredtiger: 03eb45ea7fd94d6f241f8668a58d0119c39bbf52 from branch ↵Luke Chen2021-08-11249-3667/+5529
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mongodb-4.4 ref: 2b73914cd8..03eb45ea7f for: 4.4.9 WT-6755 Documentation: populate developer glossary WT-6902 Metadata subpage for Architecture Guide WT-6905 Write row-store and column-store subpage for Architecture Guide WT-6910 Write "history store" subpage for Architecture Guide WT-6914 Write "database files" 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-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-7607 Add the possibility to use an existing database for many-coll-test WT-7673 Investigate and fix manydbs test failure on Windows WT-7703 Fix timeout in test_checkpoint_snapshot04 WT-7732 Add a timeout configuration for flush_tier WT-7758 Force evict a page when the update chain is too long 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-7817 Make tiered storage address cookies backward compatible WT-7830 Migrate the python setup scripts to use 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-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-7876 Update rollback to stable test to use correct boolean values and update statistic checking logic WT-7882 Fix discrepancy for wiredtiger.in on mongodb-4.4 branch 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 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-7898 Upload many-coll-test artifacts WT-7900 Fix insertion of new records in test format for column-store WT-7901 test suite cleanup WT-7908 Make variable-length column store work again with the static tests WT-7935 Add arm64 implementation of rdtsc equivalent instruction WT-7937 Fix s_docs to use sh, not bash syntax WT-7938 Fix rollback-to-stable memory leak on error
* SERVER-59197: Delete findAndModify image entries when their corresponding ↵Daniel Gottlieb2021-08-103-15/+60
| | | | | | session is deleted. (cherry picked from commit 7bd6ae3c4b69df592e48779d3c1ed26c61780522)
* SERVER-57360 Log additional debug info for invariant(_requests.empty()) in ↵Dianna Hohensee2021-08-104-1/+46
| | | | | | ~LockerImpl (cherry picked from commit a260a07648a984acaa54ab8cb1d18b37434d1b97)
* SERVER-56877 rename IndexCatalogEntryImpl::_indexMultikeyPaths to ↵Benety Goh2021-08-102-13/+14
| | | | | | _indexMultikeyPathsForRead (cherry picked from commit 262036ae4b0219c229ff38c644a1e10487e7a586)
* SERVER-53069 Disable death tests on address and memory sanitizer variantsBen Caimano2021-08-101-1/+4
| | | | (cherry picked from commit 96ca7befeae1f59908957ddb350b7d0aef902783)
* SERVER-56877 add js test for validating multikey compound index after restartingBenety Goh2021-08-101-0/+79
| | | | | | | | | | | | | This test checks that the multikey paths for a compound index remain consistent despite some failed writes. The test uses a compound index with two indexed fields that are updated separately by different write operations. A hashed index provides an easy way to fail a write operation due to a constraint on field values in a hashed index. This initial version of the test characterizes a defect in multikey tracking that shows up as validation errors after the server restarts. (cherry picked from commit 54f015ab1bc386b61c8011d5d8e3267bb4e181bf)
* SERVER-56877 add js test for validating multikey index after restarting a ↵Benety Goh2021-08-101-0/+129
| | | | | | | | | | | | | | re-elected node This test checks that a full validation runs successfully on a collection with a multikey index (for a geo 2dsphere index) after some interrupted writes (due to a stepdown). On restarting, we validate the collection to ensure that the multikey information loaded from the durable catalog is consistent with the geo documents in the collection. This initial version of the test characterizes a defect in multikey state tracking that shows up as validation errors upon server restart. (cherry picked from commit 393465e9fe428e693c259223c85299f8e7aac1fc)
* SERVER-56877 add js test for validating multikey index after restartingBenety Goh2021-08-101-0/+72
| | | | | | | | | | | | This test checks that the multikey state of an index is updated correctly in the durable catalog despite some earlier writes failing due to a hashed index constraint. Upon restarting, we perform a full validation to ensure that the multikey information in the catalog is consistent with the contents of the collection. This initial version of the test characterizes an defect in tracking the multikey information that leads to validation errors after the server restarts. (cherry picked from commit aefb1ac44425c13e8803ff72a3c7fcb194ee599c)
* SERVER-58280 initial sync aborts index builds before applying collModBenety Goh2021-08-102-0/+3
| | | | | | | | This fixes initial sync issues during oplog application when indexes are being hidden/unhidden - these index operations are encoded as collMod commands. (cherry picked from commit 8922a0ea148c2d883ce724190e0d20a2e2bfd253)
* SERVER-58280 add base test for handling collMod during initial sync on ↵Benety Goh2021-08-091-0/+97
| | | | | | | | collections with index builds The initial version of this test is identical to initial_sync_aborts_two_phase_index_builds.js. (cherry picked from commit 7dc0e9f922fc025f8b6e6b7962398b9bd41f9570)
* SERVER-58402: Increase timeout of shutdown command in shutdown_primary.jsXueruiFa2021-08-091-1/+1
| | | | (cherry picked from commit 4fa10a1f27f97fada17bd4bc1da4ad72b1d2e64f)
* SERVER-55581: Return ScopedDbConnection to connection pool in cluster ↵Tyler Seip2021-08-091-0/+1
| | | | | | aggregation planner (cherry picked from commit 663e90bbe862969572246b7b442845ed83a2472d)
* SERVER-58587 Improve performance of $setIsSubset by replacing std::set with ↵Rui Liu2021-08-062-6/+109
| | | | | | an unordered set (cherry picked from commit f0defdba5d5839e4cbfd3b0fa69fb8369419ded4)
* SERVER-56580 Promote build-tools=nexts to stableAndrew Morrow2021-08-056-2430/+64
|