summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-55786 Update PartitionIterator memory usage when documents are releasedNick Zolnierz2021-05-2434-405/+677
| | | | | | | This commit also handles the inflation of Documents as expressions are evaluated due to the internal caching in the Document class. (cherry picked from commit be41c9d532346c873c5b909a18fe92e8885337cb)
* SERVER-56002 SERVER-56023 Store Collection metadata in the Collection and ↵Henrik Edin2021-05-2492-1426/+1789
| | | | | | | | | | | | | reply on the copy-on-write machinery to keep it in sync with the durable catalog. All updates to the metadata needs to happen through the Collection, moved interfaces from the DurableCatalog to the Collection. Removed back pointer to Collection in IndexCatalogEntryImpl, interfaces now correctly take a const or non-const Collection. This should make its iterface const-correct to avoid making bugs where the copy-on-write system for Collections are bypassed. Multikey handle is special as it needs to happen without exclusive access to the Collection. Implemented isolation for the Collection metadata when multikey is changed. It handles multi-doc transactions and is only commited to the Collection instance after the write to the durable catalog successfully commits. listCollections and listIndexes can now safetly read the metadata cache without needing to read from the durable catalog making them safe to do without Collection level locks. (cherry picked from commit 11de948b0c50df7d12de09ae0f01e791fc5d70d7)
* Import wiredtiger: 4f12812afc32494be41c1a1c911c9f986a5bc5e9 from branch ↵Chenhao Qu2021-05-246-24/+21
| | | | | | | | | mongodb-5.0 ref: c28aff6a18..4f12812afc for: 5.0.1 WT-7565 Update invalid backup configurations
* Import wiredtiger: c28aff6a18daedef185f88d908d29d33e3a2adf0 from branch ↵Chenhao Qu2021-05-242-2/+2
| | | | | | | | | mongodb-5.0 ref: 9acb906193..c28aff6a18 for: 5.0.1 WT-7541 Updated evergreen command to parse folder names with undesirable characters
* Import wiredtiger: 9acb906193234331be4978d07bb3ffe710ece6ed from branch ↵Chenhao Qu2021-05-245-24/+80
| | | | | | | | | mongodb-5.0 ref: ff7881f921..9acb906193 for: 5.0.1 WT-7135 Additional checks to detect when writing corrupted metadata
* Import wiredtiger: ff7881f9211c93b80162d6f1e61833195329771d from branch ↵Chenhao Qu2021-05-243-1/+13
| | | | | | | | | mongodb-5.0 ref: 856ebf3805..ff7881f921 for: 5.0.1 WT-7574 disable compact tests for OS/X
* SERVER-56524 Update consumers of expansions.yml to use the copy inRichard Samuels2021-05-212-22/+9
| | | | | | ${workdir} (cherry picked from commit 9d4eba20a38dd354bcf21688cf7b1751c5b090b7)
* SERVER-56739 Rewrite resharding metrics duration component to allow for ↵Blake Oler2021-05-2110-91/+190
| | | | | | resuming from stepup (cherry picked from commit fe0042206cc3ea6a0792a956a876d5793a1c67c2)
* SERVER-56951 Do not call github API in setup multiversionMikhail Shchatko2021-05-212-5/+1
| | | | (cherry picked from commit 620ada835f0d4233e560c863d1e7abdf2f894b5f)
* SERVER-56638 Create explicit command for abort participants in reshardCollectionRandolph Tan2021-05-2115-68/+272
| | | | (cherry picked from commit b7cf7fb4099b72ce64f7ba6904d3701245a7d6b5)
* SERVER-56528 fix debug symbol downloaderRobert Guo2021-05-212-21/+27
|
* SERVER-56976 'setIndexCommitQuorum' command has no effect while the index ↵Gregory Wlodarek2021-05-212-7/+143
| | | | | | build is waiting for the commit quorum to be satisfied (cherry picked from commit a05828b76b27b5198ca2917ba5f979458c084358)
* SERVER-57042 Don't store defaultWriteConcernSource on diskHuayu Ouyang2021-05-214-93/+182
| | | | (cherry picked from commit 50f99d96af30d061ff2a664c49e3953293fb9ffe)
* SERVER-56957 Extend drop_database_sharded.js FSM to perform FCV changes on ↵Jordi Serra Torrens2021-05-212-1/+73
| | | | | | top of it (cherry picked from commit a603516c55a06b1e94a62b4fc693d5fe2ec2c274)
* SERVER-57054 Remove index_stats.js from tenant_migration_jscore_passthroughAlya Berciu2021-05-211-0/+1
| | | | (cherry picked from commit 06a9abcf1aaf7a02bbe4dc1b7e2c830fb19b577f)
* Revert "SERVER-56951 Fix github oath token in setup multiversion"Mikhail Shchatko2021-05-212-4/+4
| | | | This reverts commit cf277bd5000a5dc798e633173532932fe6501851.
* SERVER-57053 Split CanonicalQuery validation on pre- and post-normalizationAnton Korshunov2021-05-214-25/+64
| | | | (cherry picked from commit c1ac689d114e6681587ea24b009d61551653fee0)
* Revert "SERVER-56877 IndexCatalogEntryImpl maintains separate copies of ↵Benety Goh2021-05-215-24/+18
| | | | | | multikey paths for readers and writers" This reverts commit c1c9bafde288414adf94b3f8372189e38b2f8e0f.
* SERVER-57014 Include all index keys in relevant slots for index filterNikita Lapkov2021-05-212-2/+25
| | | | (cherry picked from commit 39c04abc9ec9da43130f64f2158b9b6293bf1d80)
* SERVER-57022 The CollectionShardingRuntime should be updated when there is ↵Sergi Mateo Bellido2021-05-216-11/+439
| | | | | | an update of the metadata format (cherry picked from commit 6edab4953a0186e0d062d444682f9f4135a0a4b8)
* Revert "SERVER-56779 Include forgotten file change on the v5.0 branch"Kaloian Manassiev2021-05-211-5/+10
| | | | This reverts commit 529d12c821733d0e66ed535a18b53b917f56df4f.
* Import wiredtiger: 856ebf380516351f394256d4640d34d9ef7916ff from branch ↵Luke Chen2021-05-212-3/+36
| | | | | | | | | mongodb-5.0 ref: cb8077e2b6..856ebf3805 for: 5.0.0 WT-7452 Improve logging when recovery (and RTS) is taking a long time
* Import wiredtiger: cb8077e2b6d4c1d60ef71305e36f28c4866693b6 from branch ↵Luke Chen2021-05-2121-149/+174
| | | | | | | | | mongodb-5.0 ref: 02da3990fb..cb8077e2b6 for: 5.0.0 WT-7549 clean up block manager identifiers to use object id naming
* Import wiredtiger: 02da3990fb1d9da925ff5ba5e0ba7042b48f5c46 from branch ↵Luke Chen2021-05-212-3/+7
| | | | | | | | | mongodb-5.0 ref: 29fc5e8cfe..02da3990fb for: 5.0.0 WT-7566 Resolve write after free for dead dhandle
* SERVER-56779 Include forgotten file change on the v5.0 branchKaloian Manassiev2021-05-211-10/+5
|
* SERVER-56488 Change the default read concern to always be localSamy Lanka2021-05-2159-208/+792
| | | | (cherry picked from commit 7f901206919def001d0128a2907601a1ff2143b7)
* SERVER-47855 Change default value for minSnapshotHistoryWindowInSecondsMonica Ng2021-05-201-1/+1
| | | | (cherry picked from commit 6a1c644c1166906797f7728e16962cd90d5e14a7)
* SERVER-56877 IndexCatalogEntryImpl maintains separate copies of multikey ↵Benety Goh2021-05-205-18/+24
| | | | | | paths for readers and writers (cherry picked from commit bc095d5cef314bab9fd583c3908eb1cfecb49dd9)
* SERVER-56924: Make resharding_abort_command.js test case wait for ↵Jamie Anderson2021-05-201-0/+4
| | | | | | reshardingFields.recipientShards to exist (cherry picked from commit c5c6a45a79c88305c37d7b435163940fffed2cc5)
* SERVER-56877 rename IndexCatalogEntryImpl::_indexMultikeyPaths to ↵Benety Goh2021-05-202-15/+16
| | | | | | _indexMultikeyPathsForRead (cherry picked from commit 262036ae4b0219c229ff38c644a1e10487e7a586)
* SERVER-56877 add js test for validating multikey compound index after restartingBenety Goh2021-05-201-0/+78
| | | | | | | | | | | | | 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-05-201-0/+128
| | | | | | | | | | | | | | 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-05-201-0/+71
| | | | | | | | | | | | 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-56131 Add early return when all candidate plans have exited early (SBE)Ian Boros2021-05-201-1/+7
|
* SERVER-57077 require FCV 5.0 for tests asserting on query plan shapeKyle Suarez2021-05-207-1/+23
| | | | (cherry picked from commit b9d0f29acb548cf05cf194a78d5d0516b5ae34fc)
* SERVER-56816: Remove resharding RecipientStateEnum::kRenamingJamie Anderson2021-05-204-11/+4
| | | | (cherry picked from commit fcb032a181402606d3c5ae62b2d8d458ca5bdeb2)
* SERVER-57024 Fix SpillableCache writes to disk across getMore requestsTed Tuckman2021-05-202-12/+43
|
* SERVER-54202 Remove startup warning encouraging eMRC=false for PSA architecture.Wenbin Zhu2021-05-201-17/+0
| | | | (cherry picked from commit 13c42031f1ef95d4444de5646ea33082e310b877)
* SERVER-55343 Include temp collections for tenant migration DBHash check.Wenbin Zhu2021-05-201-6/+0
| | | | (cherry picked from commit 532a6a8ae7b8e7ab5939e900759c00794862963d)
* SERVER-56528 hang analyzer should always run when supplied a pidRichard Samuels2021-05-204-18/+19
| | | | (cherry picked from commit b2802257c7cd2cf253847d67da5ddcc780a5b85f)
* SERVER-56724 change tassert to uassert in $integral window functionRuslan Abdulkhalikov2021-05-202-1/+27
|
* SERVER-56979: Ban tenant_migration_concurrent_migrations_recipient.js from ↵Lingzhi Deng2021-05-202-3/+8
| | | | | | Amazon Linux build variants (cherry picked from commit 41f385f670f32f06db0bd571a4d6e70de3f01751)
* SERVER-55684: Remove resharding's RecipientStateEnum::kSteadyState stateJamie Anderson2021-05-2010-101/+41
| | | | (cherry picked from commit bddc8a826383210f0a5d480ba1bb7c3f5e8c7799)
* SERVER-56008 Ensure abortThread is joined before shardingTest is shut down ↵Blake Oler2021-05-201-2/+1
| | | | | | in resharding_abort_command.js (cherry picked from commit f7e43413cdaf50488983e008f891e4a34c89b878)
* SERVER-57038 Fix stack-use-after-scope of TransactionParticipant in ↵Gregory Noma2021-05-201-2/+2
| | | | | | write_ops_exec::performAtomicTimeseriesWrites (cherry picked from commit fdb2110862484c887faac3e03d53927fdc0ad216)
* SERVER-56771: Change resharding_disallow_writes.js and ↵Jamie Anderson2021-05-202-14/+14
| | | | | | resharding_disallow_drop.js tests to allow ExceededTimeLimitError instead of specifying a maxTimeMS error. (cherry picked from commit f99bf23e8e6d88e4ff6800eb24b200fc382e7753)
* SERVER-55781 Add shard version check to create indexes pathMarcos Jose Grillo Ramirez2021-05-203-3/+83
| | | | (cherry picked from commit 7feb0ddaae387ea1720a2bee53f1e57a756dd359)
* SERVER-56916 Enable powercycle tasks on the mainlineMikhail Shchatko2021-05-208-78/+84
| | | | (cherry picked from commit a3f6fd6950ce452ab72fb83d5de7c3a3fb7bd322)
* SERVER-57023 Add retriable error categories into ddl coordinator retry logicMarcos Jose Grillo Ramirez2021-05-202-5/+8
| | | | (cherry picked from commit 29213e17853c07afe83084504a07fc28695dae9c)
* Import wiredtiger: 29fc5e8cfe0666fc26efc00813fbac586f603dc8 from branch ↵Luke Chen2021-05-204-4/+62
| | | | | | | | | mongodb-5.0 ref: 3971a04fee..29fc5e8cfe for: 5.0.0 WT-7469 Fix potential hot backup read lock never unlocked