summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-34113 Remove all support for snapshot reads outside multi-document ↵Xiangyu Yao2018-07-1019-255/+71
| | | | | | transactions (cherry picked from commit 1871507cdbdd492abee785076203467d20e0e716)
* SERVER-34160 Exit shell cleanly on SIGHUPJonathan Reams2018-07-101-0/+3
| | | | (cherry picked from commit 43695048b2359962549dc11ce7d075375b7fb3cf)
* SERVER-34789: Using resume token from 'invalidate' notification for ↵Nick Zolnierz2018-07-109-108/+321
| | | | | | 'resumeAfter' should error (cherry picked from commit bbe67b5bdd596f4720b19f9f4c8c38cfadb9c1dd)
* SERVER-27264 Allow disabling no client certificate warningAdam Cooper2018-07-105-12/+40
| | | | (cherry picked from commit 14eb0afce97b372d0dc4d2a4c41a00318a36b0e2)
* SERVER-35929 restart view resolution if catalog is invalidatedKyle Suarez2018-07-103-33/+164
| | | | (cherry picked from commit e86d684515abe1c4dbf79dbb71741b5db0317039)
* SERVER-33651 Confirm FULL synchronous mode and F_FULLFSYNC with MobileSulabh Mahajan2018-07-101-11/+66
| | | | (cherry picked from commit 6c5046b53e8b400062b72bb556b427eff09df546)
* SERVER-33697 Provide sanity check on the number of cached sessionsCheahuychou Mao2018-07-0910-26/+52
| | | | (cherry picked from commit ffbaee1a4dcb47a307986cb696807fe979f4a39d)
* SERVER-34129 Don't hold database or collection locks during oplog truncationXiangyu Yao2018-07-091-20/+32
| | | | (cherry picked from commit 9008da291dd91dae2ecf0529e1fa8a31329389c5)
* SERVER-34758 Fix to prevent deadlock between initial sync and ↵Suganthi Mani2018-07-091-4/+12
| | | | | | replSetGetStatus cmd when called along with initialSync:1. (cherry picked from commit 3c6d6969752ad4322594dab171ca7dd26b854bc8)
* SERVER-34713 Change WT size storer to just buffer writes, not cacheGeert Bosch2018-07-067-266/+202
| | | | | | | (cherry picked from commit c7451c0e11c2a782e9c0dabe16cbad744e4c451a) Conflicts: src/mongo/db/storage/wiredtiger/wiredtiger_record_store.cpp
* SERVER-35200 Speed up steady state oplog fetching failure detectionWilliam Schultz2018-07-0612-31/+213
| | | | | | | | | | | | | This patch attempts to improve how quickly a secondary node in steady state replication detects that its current sync source has failed or become partitioned and tries to select a new sync souce. The speed of this process can significantly impact how long it takes for a new primary to begin committing majority writes after a previous primary has failed or become partitioned from the replica set. This patch improves on the old behavior by reducing the number of fetcher restarts to 1, and also reducing the oplog 'find' request timeout used on a restart. (cherry picked from commit 2c6614c3bd716fb9ccaad1f7c68e9eb490ed1df6)
* Revert "SERVER-35200 Speed up steady state oplog fetching failure detection"William Schultz2018-07-0612-213/+31
| | | | This reverts commit 52c94c89cf0a8aceb87a2fd80055838d91540ff9.
* SERVER-35200 Speed up steady state oplog fetching failure detectionWilliam Schultz2018-07-0612-31/+213
| | | | | | | | | | | | | This patch attempts to improve how quickly a secondary node in steady state replication detects that its current sync source has failed or become partitioned and tries to select a new sync souce. The speed of this process can significantly impact how long it takes for a new primary to begin committing majority writes after a previous primary has failed or become partitioned from the replica set. This patch improves on the old behavior by reducing the number of fetcher restarts to 1, and also reducing the oplog 'find' request timeout used on a restart. (cherry picked from commit 2c6614c3bd716fb9ccaad1f7c68e9eb490ed1df6)
* SERVER-35851: Check whether the array passed to $in is sorted before calling ↵Nick Zolnierz2018-07-061-7/+15
| | | | | | std::sort (cherry picked from commit a4dfe1ce6b04fceff0794d842b791951990d187c)
* SERVER-32509 Report error for unsupported startup-options with Mobile SESulabh Mahajan2018-07-063-0/+20
| | | | (cherry picked from commit 1899ec4b7b692e1a0aaf0086194f22f893a6cb55)
* SERVER-34579 Do NOT populate indexDetails for mobile SESulabh Mahajan2018-07-052-14/+1
| | | | (cherry picked from commit 92ba01fe2c62ba716f9d0b05f23e2a2403539811)
* SERVER-35398 Remove Mobile SE's capped collection codeSulabh Mahajan2018-07-052-214/+18
| | | | (cherry picked from commit 21140044355319702fee9cb00f8fcc5eefcafbca)
* SERVER-32997 Implement instance level locking for mobile SESulabh Mahajan2018-07-0512-42/+183
| | | | (cherry picked from commit cc8aab5249ccdec471e33bda087faecb53a6d9bf)
* SERVER-33605 Mobile SE:Disable capped collections and related testingSulabh Mahajan2018-07-0413-8/+147
| | | | (cherry picked from commit e361973f0e994d7c5da603cb6436fd96f7180127)
* SERVER-35571 checkReplicaSet should propagate liveSlaves to checkOplogsTess Avitabile2018-07-031-5/+5
| | | | (cherry picked from commit e7f212b876f8dc3e0b9aa740d55d97b781deb263)
* SERVER-35488 ReplSetTest.waitForState() should ensure node has finished ↵Tess Avitabile2018-07-031-7/+29
| | | | | | closing connections (cherry picked from commit b1dc7108c14d3103c4650db4584515408a4dd0c4)
* SERVER-34810 do not kill new sessions in logical session cacheMisha Tyulenev2018-07-031-1/+12
| | | | (cherry picked from commit 57d7938c49da06122d4d43054ff89e1881d0209f)
* Revert "SERVER-34789: Using resume token from 'invalidate' notification for ↵Nick Zolnierz2018-07-0310-378/+100
| | | | | | 'resumeAfter' should error" This reverts commit f51b8af597b12d89065cb3bcae6d393d632ef088.
* SERVER-35627 Repair should recreate missing collection data files with the ↵Louis Williams2018-07-034-31/+60
| | | | | | | | | existing metadata. (cherry picked from commit c41426385e88d1b8cd08b5fa39f445e184f86dc1) Conflicts: src/mongo/db/storage/wiredtiger/wiredtiger_util.h
* SERVER-35563 Refactor register/remove UUID to _inlock functions to avoid ↵Ben Judd2018-07-032-39/+34
| | | | | | race conditions (cherry picked from commit 26b3b97ad24d8592e2f93e79f2dc18a8b76d3b3d)
* SERVER-34789: Using resume token from 'invalidate' notification for ↵Nick Zolnierz2018-07-0210-112/+408
| | | | | | 'resumeAfter' should error (cherry picked from commit bbe67b5bdd596f4720b19f9f4c8c38cfadb9c1dd)
* SERVER-35029: Add change stream notification for database dropNick Zolnierz2018-07-026-158/+289
| | | | (cherry picked from commit 77f43172584a0302df127174b9b0bd2259730772)
* SERVER-35028: Add change stream notifications for collection drop and renameNick Zolnierz2018-07-024-71/+179
| | | | (cherry picked from commit 620d5006e06453c9b7c54bdf6b2f4c191553bbe1)
* SERVER-35550 Fix uassert codeJonathan Reams2018-07-021-1/+1
| | | | (cherry picked from commit e7a4ca676c2f214f09c2bd64e76a16f2b851b1d1)
* SERVER-35550 Connect back to server from bridge in client threadJonathan Reams2018-07-021-35/+38
| | | | (cherry picked from commit c11dd5e6ff3f70200d1cfd6a5e3dc6966beac3b2)
* SERVER-35908 Shutdown the service entry point before embedded in mongoed to ↵Henrik Edin2018-07-021-1/+9
| | | | | | make sure there's no clients left. (cherry picked from commit bed5e03f5462243ca3159d94172aca9adac3294a)
* SERVER-35317: Preserve minVisible values when refreshing the catalog.Daniel Gottlieb2018-07-025-8/+44
| | | | | | | | | | | Restarting the catalog throws away the "minVisibleSnapshot" info on all collections. This is typically safe for rollback, the value is reinstantiated when replication recovery rolls forward from the stable timestamp. However, it's possible to read behind the stable timestamp. Currently only test commands can do so, but the future may formally expose this case particularly for sharded cluster snapshot reads. (cherry picked from commit b3a542545c7367f96d57cab5e89dc389748c0e2c)
* SERVER-35101 Strip trailing and leading whitespace from bind_ip arguments ↵Adam Cooper2018-07-028-24/+23
| | | | | | and change to std::vector internally
* SERVER-35691 Make all code paths returning StaleConfig error go through the ↵Kaloian Manassiev2018-07-0154-562/+377
| | | | | | | | | StaleConfigInfo serializer (cherry picked from commit d49d27ec475a0c2054c2b5bb2a6b8391b0c30d10) (cherry picked from commit 5dabb36c0b930f03f8da5cc1b572f3edcf4cff58) (cherry picked from commit c2a1af025f133c366569448323f1acad3db6f8f7) (cherry picked from commit e7a75ec01e4e3683cc6b83e3bbc0f4c4b05168dc)
* SERVER-35600 Add support for targeting watchosAndrew Morrow2018-06-296-3/+119
| | | | (cherry picked from commit 9e1dd9db4bf614c785f51b23f73facc45fd75302)
* SERVER-35789 check for index catalog isready mismatch for multi-doc txnsEric Milkie2018-06-291-0/+11
| | | | (cherry picked from commit 00e7bb4f5e46be31f371964186a31ac613a13a1c)
* Import tools: 9cc29456ab8dce096cf20a6d133079fa7790c6dd from branch v4.0David Golden2018-06-297-17/+107
| | | | | | | | ref: ca53f295f4..9cc29456ab for: 4.0.1 TOOLS-2058 mongoreplay does not show OP_MSG commands TOOLS-2062 Support zlib compression in mongoreplay
* SERVER-34933 tests for PCRE verbs and Unicode optionsKyle Suarez2018-06-291-0/+18
| | | | (cherry picked from commit a2ee109e64923e0e569fa8adb0dbc67488a77983)
* Revert "SERVER-30986 Prevent invalid regex in RegexMatchExpressions"Kyle Suarez2018-06-293-10/+11
| | | | | | | | | | | | | | There exist PCRE regexes whose error strings are nonempty but can still be used for matching. This restores the functionality of the (*UCP) option for SERVER-34933. This reverts commit 1531b7b7280dd37d5f7ffd49171a65305ad442ba. Conflicts: src/mongo/db/matcher/expression_leaf.cpp src/mongo/db/matcher/expression_leaf.h src/mongo/db/matcher/expression_leaf_test.cpp (cherry picked from commit e9a6f62b3053733354cabb6d9488d0d4dcc6c424)
* SERVER-35361 Ensure collection is locked when deleting filemd5's PlanExecutorCharlie Swanson2018-06-292-3/+34
| | | | (cherry picked from commit ab1f620bc37d174b43a11f40fb30c3b4b31584d1)
* SERVER-32088: ChangeStream resumeAfter does not work on sharded collections ↵Nick Zolnierz2018-06-2910-87/+212
| | | | | | if not all shards have chunks for the collection (cherry picked from commit a76082905d63ac8aaaae25e5c76812e6edf9bc07)
* SERVER-35693 Pre-sort $in elements to avoid O(n^2) boost::flat_set() complexity.David Storch2018-06-292-0/+16
| | | | (cherry picked from commit a6eae4759b792f86284006d475b00559fe96953c)
* SERVER-35188 Rename ServiceLiason* types to ServiceLiaison*Jack Mulrow2018-06-2817-96/+96
| | | | (cherry picked from commit 359a685c7139f7767875519f185517306a1e37e8)
* SERVER-35834 Fix compile of test on windows.ADAM David Alan Martin2018-06-281-9/+26
| | | | | | | | Microsoft's compiler has trouble with non-enclosed try-blocks, even when not function-level try blocks. Also silenced some type-mismatch warnings on high warning levels. (cherry picked from commit c467afb7b0c2c3c8f1f12ddcff01400466a53fed)
* SERVER-34563 Handle DNS names correctly in SRV record processing.ADAM David Alan Martin2018-06-286-81/+865
| | | | | | | | The current implementation of DNS name processing uses raw string processing. This change alters the mechanism to use a proper DNS name type which parses the hostname for proper processing. (cherry picked from commit 181c43bd006666b07441bb3be61b7324ef7dcc80)
* SERVER-35745 _getNextSessionMods doesn't include oplogReplay flag to query ↵Randolph Tan2018-06-281-3/+8
| | | | | | new oplog created during migration (cherry picked from commit 4e8b282809ba28eb2da14435a91981a3821343e1)
* SERVER-35609 Create initial chunk on primaryShardjannaerin2018-06-281-2/+7
| | | | (cherry picked from commit c842fb1f6479a6e7299f2bac51dd787393366dd6)
* SERVER-35711 Remove unused anonymous function getPersistedMaxDbVersion() ↵Esha Maharishi2018-06-281-24/+0
| | | | | | from shard server catalog cache loader (cherry picked from commit cfd7b89c89e715309eff5adca28b38893fe6a984)
* SERVER-35698 Uncap usersInfo output past 101 resultsr4.0.0-rc7Spencer Jackson2018-06-203-15/+32
| | | | (cherry picked from commit 4132ecabfdc1de9b1fcc2df3188c089ad9c22e27)
* SERVER-35665 Update license on all artifactsRamon Fernandez2018-06-202-6/+15
| | | | | | | | | | License for Community artifacts is in the LICENSE-Community.txt file. License for Enterprise artifacts is in the LICENSE-Enterprise.txt file. This change also updates deb/rpm/msi packages. (cherry picked from commit c6b10c46cce635574297577f75f57b792b508893) (cherry picked from commit 7ace2d779a7ab654e6ce55806fd38bc0f30c7417) (cherry picked from commit 33da2a4c54d275c02f2c73db32c4e9afb7e3f9c5)