summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-43322 Add tunable oplog stone sizes and track truncation speedsMaria van Keulen2019-10-108-9/+166
| | | | | | | | | | | (cherry picked from commit 294a8f68615710b47936d5ee42439d01538ac746) SERVER-43322 Disallow oplog_sampling.js on inMemory storage enigne (cherry picked from commit b35dd89515473c97a87b3c06897e8a7ab51c93cc) This backport was not a straightforward cherry-pick due to SERVER-40168 existing in master and not v4.2.
* SERVER-25025 Make startup faster with many WT collectionsLouis Williams2019-10-0911-79/+169
| | | | | | | | | | | | | | This makes two major improvements: (1) WiredTiger "metadata:create" cursors are very expensive; only use these when absolutely necessary, and use standard "metadata:" cursors everywhere else. This lowers startup calls to "metadata:create" from 3 to 1 per table. (2) No longer open a cursor for every WiredTiger collection at startup. Instead, lazily open cursors to initialize RecordIDs for inserts. (cherry picked from commit ba9670e4c6d3aa62db20501317457af99049570c)
* Import tools: 976b41822808521389218141029f3cf786cdefc9 from branch v4.2David Golden2019-10-0834-400/+480
| | | | | | | ref: 22a650479a..976b418228 for: 4.2.1 TOOLS-2383 Restore no socket timeout behavior
* SERVER-43174 Make migration destination threads killableRandolph Tan2019-10-084-5/+17
| | | | (cherry picked from commit c4467548514ff07721f4de215b3b74d1111ee9d1)
* SERVER-43751 Recompute compressor manager message parametersAdam Cooper2019-10-072-0/+24
| | | | (cherry picked from commit 1411cf602a21e45a5ef42b6869c480eb420976ee)
* SERVER-42744 Fix transation history iterator to not return ↵Louis Williams2019-10-071-1/+1
| | | | | | potentially-dangling BSON (cherry picked from commit 9da0de4279f88cf0113957434606abaa430f3227)
* SERVER-42866 Trigger a logical session cache refresh on all shards in the ↵Alex Taskov2019-10-071-0/+9
| | | | | | ShardedCluster test fixture before running test (cherry picked from commit 108425fdd063a0c7dae50b2d48d3dadea35a0557)
* SERVER-42783 Migrations should wait for majority replication of cloned docs ↵Janna Golden2019-10-072-8/+14
| | | | | | when there are no xfer mods (cherry picked from commit 2fb73bcd2515cd8d566fecc5b23ee9f6970b1716)
* SERVER-42751 Take CSRLock when observing transaction commit for migrationAlex Taskov2019-10-071-1/+6
| | | | (cherry picked from commit cd96f9b455f63945b4ea8b772529284d8721284a)
* SERVER-43699 $mod should not overflow for large negative valuesBernard Gorman2019-10-074-4/+33
| | | | (cherry picked from commit 21d8699ed6c517b45e1613e20231cd8eba894985)
* SERVER-43202 propagate errors from interrupts during yieldingIan Boros2019-10-049-65/+105
|
* SERVER-39763 transactions_target_at_point_in_time.js should disable expiring ↵Esha Maharishi2019-10-031-4/+7
| | | | | | old chunk history (cherry picked from commit 688368b4440c18bd048f122d8a729c26e9ad4a6e)
* SERVER-43243 Restore repairDatabase ActionTypeSpencer Jackson2019-10-021-0/+1
| | | | (cherry picked from commit 166425bf4c9c2b302e72e1ca7a7f2109e605cbbe)
* SERVER-42946 Prevent FCV upgrade/downgrade when in standalone mode with a ↵Jason Chan2019-10-021-0/+21
| | | | non-empty config.transactions table.
* Import wiredtiger: 18d13b8f6bc8d345952f16a7f3c63608e405fd77 from branch ↵Luke Chen2019-10-0217-219/+402
| | | | | | | | | | | | | | | | mongodb-4.2 ref: c600bde203..18d13b8f6b for: 4.2.1 WT-5068 WT_CURSOR.random unnecessarily returns duplicate records WT-5097 Coverity - Fix two minor issues in random_abort/main.c WT-5104 Add readonly flag to wt utility WT-5105 Bypass test_wt2535_insert_race for valgrind WT-5108 Remove unneeded no-op line and comment WT-5113 Create basic test format config to be added to PR testing WT-5131 Fix Evergreen configuration file to use working directory WT-5132 Fix buffer overflow caused by fscanf range check
* SERVER-43350 $lookup with no local default or user-specified collation ↵Bernard Gorman2019-10-022-3/+19
| | | | | | should explicitly set the simple collation on the foreign expression context (cherry picked from commit d6133a3a5464fac202f512b0310dfeb200c126f9)
* SERVER-42484 Ensure we are inside a WriteUnitOfWork when writing index keys ↵William Schultz2019-10-011-3/+14
| | | | | | during initial sync collection cloning (cherry picked from commit c41af3e315a115b04a53706837d36a729d174fc3)
* SERVER-43582 Do not auth ReplicaSet MonitorSara Golemon2019-10-012-1/+7
| | | | | (cherry picked from commit b5b3517afcab6efd034db87715dcefc5557b1099) (cherry picked from commit ab6d34c3001706e95439883b4c4b7f93c17feda0)
* SERVER-41506 Added tracking for metrics around a nodes calling an electionXuerui Fa2019-10-0111-169/+232
| | | | (cherry picked from commit 87c9601a762048ea93559b13c3b6043b4017b024)
* SERVER-41505 Track average number of catchup ops in serverStatusXuerui Fa2019-09-304-41/+80
| | | | (cherry picked from commit c1e1e12913fdcee54c059e023e8e7ecd36f7cb17)
* SERVER-41457 Unify the different ways the TransactionParticipant offers for ↵Matthew Russotto2019-09-3012-304/+173
| | | | | | aborting a transaction (cherry picked from commit f661267bf981e3b315d7e942057ab0ac9dc90bef)
* SERVER-43330 Remove ReplicationStateTransitionLockGuard move constructorLingzhi Deng2019-09-283-8/+3
| | | | (cherry picked from commit e4139a8394fb7d35503a0b559fc90723f7ab9de7)
* SERVER-36315 Don't keep trying to unlock distlocks after CSRS stepdownKevin Pulo2019-09-261-1/+4
| | | | (cherry picked from commit 3197ace779d6e0f023bff9e39bd80e17e3c4790d)
* SERVER-43093 Temporarily change back fixed executor to have unlimited threadsRandolph Tan2019-09-261-10/+9
| | | | (cherry picked from commit a944732ce9a31d68b54c9617c307dd868e3343ec)
* SERVER-41508 Track the time the new term oplog entry was majority committed ↵Samyukta Lanka2019-09-2613-11/+91
| | | | | | | | | | in replSetStatus on primaries (cherry picked from commit 6d3a44af67e206e1d61cfd904ef62c0ba015805a) SERVER-43398 Fix race in replSetGetStatus_new_term_oplog_entry_fields.js (cherry picked from commit 5f0fa89444bf7bdffee8f9107f803d6a00970dc8)
* SERVER-39613 Remove kCommittingWithPrepare and kCommittingWithoutPrepare ↵Siyuan Zhou2019-09-254-103/+13
| | | | | | from TransactionState (cherry picked from commit dd2de577670e9461c31ca9e6fe5c9713b4401181)
* SERVER-42767 Improve logging in ReplSetTest.stopSetWilliam Schultz2019-09-251-1/+28
| | | | (cherry picked from commit db9ca6771bbd20086fd5b824ccb4dee1a29a0e39)
* SERVER-7681 Report majority number in ReplSetGetStatusSamyukta Lanka2019-09-252-0/+48
| | | | | | | | (cherry picked from commit 4b985d5460a2ddb889942f3b4ede04d7051b3921) SERVER-7681 Report write majority in ReplSetGetStatus (cherry picked from commit f92cc6fbdd660015f746ea3f59abfd4fb5485071)
* SERVER-42613 getHashes should default to liveSlaves, not _slaves in ↵Matthew Russotto2019-09-251-3/+3
| | | | | | replsettest.js (cherry picked from commit 81d2b80554331f1ca428138823d27cbf2a293c52)
* SERVER-43039 db.collection.bulkWrite doesn't support hint with replaceOneJames Wahlin2019-09-251-0/+8
| | | | (cherry picked from commit b90eb45382cacc033a4258d0d28ce64acd307caa)
* SERVER-40466 Unify checks for being in a multi-document transactionSamyukta Lanka2019-09-2430-148/+150
| | | | | | | | | | | | (cherry picked from commit 77967c90b1a521108c052af235ce7de9742aa95e) SERVER-42755 recover_prepared_txn_with_multikey_write.js should verify absence of prepare conflicts on catalog after restart. (cherry picked from commit eaf81228328738b685532c7eb10f833362434061) SERVER-42750 Set opCtx->inMultiDocumentTransaction() in transaction recovery. (cherry picked from commit 16c17677704a4f979381d593106a0c356088fd30)
* SERVER-42478: Relax create collection in oplog application to take a DB_IX lock.Daniel Gottlieb2019-09-247-19/+51
| | | | (cherry picked from commit 8357a1d76883e8a20c014c58c6b1feabffb91742)
* SERVER-43372 Add ReplicationCoordinatorNoOpA. Jesse Jiryu Davis2019-09-243-0/+734
|
* SERVER-39614 replace inActiveOrKilledMultiDocumentTransaction with ↵Pavithra Vetriselvan2019-09-243-16/+7
| | | | | | inMultiDocumentTransaction (cherry picked from commit 53bdef48cc8a14c23afc2223c9a8826a0f587ac7)
* Revert "SERVER-42790 SERVER-42930 ConnectionPool controller updates must ↵Pavithra Vetriselvan2019-09-233-114/+58
| | | | | | batch across hosts" This reverts commit e9f5360ba5fba5598e2556816a9d7d818ab586c7.
* SERVER-41956 Add integration and unit tests for killing commit and abort ↵William Schultz2019-09-202-0/+91
| | | | | | transaction commands on a prepared transaction (cherry picked from commit 9927c83ac62350700247a30e99c2bda3cdc62d7d)
* SERVER-42790 SERVER-42930 ConnectionPool controller updates must batch ↵Ben Caimano2019-09-193-58/+114
| | | | across hosts
* SERVER-42837 Allow waitInFindBeforeBatch FailPoint to take data.nss parameterBen Caimano2019-09-179-18/+43
|
* SERVER-42915: Do not require a resync when repair encounters orphaned ↵Daniel Gottlieb2019-09-167-36/+121
| | | | | | collection objects. (cherry picked from commit f4e387fa1b7e369ce067650bdda9c8676683b929)
* SERVER-43005 : getKeyVault.createKey() should return the created data keyShreyas Kalyan2019-09-161-2/+4
| | | | (cherry picked from commit a605bfb8b3ecdff282508263b119f1fcfd13f27e)
* SERVER-41918 CollectionBulkLoader does not anticipate exceptions from ↵Mihai Andrei2019-09-131-128/+157
| | | | MultiIndexBlock (cherry picked from commit 6dc4461c0db2954da0a43d3934bb6c97ac02fd8e)
* SERVER-43081 Validate should report when an index's 'multikeyPaths' are set ↵Evgeni Dobranov2019-09-132-0/+690
| | | | but the 'multikey' flag is false
* SERVER-39708 Optimize Btree multikey updatesMaria van Keulen2019-09-135-2/+56
| | | | (cherry picked from commit bfac8d909877600c395dccc575effbfbae76a82a)
* SERVER-37772 Backport RHEL8 to v4.2John Chen2019-09-131-1/+1
|
* SERVER-37690 Return 0 from countDocuments for empty collectionA. Jesse Jiryu Davis2019-09-131-1/+4
|
* SERVER-40258 Relax locking requirements for sharding metadata refresh on shardsRandolph Tan2019-09-1313-51/+55
| | | | (cherry picked from commit 0d07bf5e7a72a5bce3f7d7d681a71d7ecfe7eb8c)
* SERVER-40258 Rename CSRLock::lock to CSRLock::lockSharedRandolph Tan2019-09-1312-19/+20
| | | | (cherry picked from commit d6834482ef9bbca8fd81e82483dedde965de9574)
* SERVER-42559 Make the WaitWithOpTimeEarlierThanLowestQueued test run more ↵Randolph Tan2019-09-131-0/+19
| | | | | | | | predictably by making the test thread wait for the WaitForMajorityService thread pick up the 1st request before proceeding (cherry picked from commit 2f815dbeb37750d5fcde13469322657780077e62)
* SERVER-41758 Verify that at least 1 shard exists after hard-reload in ↵Bernard Gorman2019-09-132-12/+21
| | | | | | aggregation routing path (cherry picked from commit 1fa4766c621bd4cfd74319094469eff3a5de3b79)
* SERVER-10456 do not use sparse indexes as shard key indexesKevin Pulo2019-09-131-1/+1
| | | | (cherry picked from commit 0e6b9119f4d3a0fae681ed28220bc55ed1469f81)