summaryrefslogtreecommitdiff
path: root/src/mongo/db
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-35382 _isSelf requiresAuth falseBilly Donahue2018-06-051-3/+6
| | | | (cherry picked from commit a54afcecfd5b802904c3224de9e35348621bd2dc)
* SERVER-34653 don't parse if early auth-checks can reject.Billy Donahue2018-06-0510-61/+144
| | | | (cherry picked from commit 85dc8dd191cbfcddd94a0ac0216f07c7be616cd6)
* SERVER-33954 Modified getCollectionRoutingInfoWithRefresh to refresh twice ↵Matthew Saltz2018-06-055-11/+27
| | | | | | if the first refresh is not performed by its own thread (cherry picked from commit b93fe0e61bf7e8bc96da2edeb66afa1b915b0b77)
* SERVER-35231: Invalid decimal continuation can trigger a dassert when ↵Nick Zolnierz2018-06-052-0/+19
| | | | | | decoding a KeyString (cherry picked from commit 6865427f4a129fed40d7cba730b3cdb33b82d254)
* SERVER-35366 OplogApplier only returns empty batch when buffer is emptyJudah Schvimer2018-06-053-5/+16
| | | | (cherry picked from commit 9d000b9eced82065afaa4a64c227930da0d70206)
* SERVER-35181 Corrected function signatures for CpuProfilerCommandBen Caimano2018-06-051-2/+2
| | | | | Note that this also adds a RHEL 7.0 variant specifically for Dagger and gperftools
* SERVER-35057 Notify oplog waiters after advancing the lastApplied timestampXiangyu Yao2018-06-041-0/+3
| | | | (cherry picked from commit c257b9a2e8b53fd58a8a4a9d79972a80f9d1e00f)
* SERVER-34705: Whole-DB or whole-cluster change streams may not provide a ↵Nick Zolnierz2018-06-042-7/+213
| | | | | | total ordering if resumed after a drop (cherry picked from commit 55f4dbf94a1cce9d8642af9bba9ac4cc77627293)
* SERVER-35318 improve free monitoring op observer perfEric Milkie2018-06-041-19/+25
| | | | (cherry picked from commit 13dfc0893e81926f7b54aae9a697f06ed78ee8dc)
* SERVER-35321 Make renameCollection uninterruptibleLouis Williams2018-05-311-0/+4
| | | | (cherry picked from commit 3b293072e869d4e01de658cf17c6b09afc081d0b)
* SERVER-22563 amend uassert codeVesselina Ratcheva2018-05-311-1/+1
|
* SERVER-35115 Decouple DBDirectClient from networking clientsMathias Stearn2018-05-316-13/+13
| | | | (cherry picked from commit 8d9dfb75298b9a182bb3fcb01e0140b03da37a59)
* SERVER-35083 Add writeConcernError option to failCommand failpointMathias Stearn2018-05-311-22/+29
| | | | | | | | | It replaces the waitForWriteConcern logic with just adding the supplied writeConcernError to the reply. Since it happens where we would be waiting for write concern, it is only done for commands that support writeConcern and happens *after* the command finishes (regardless of success or failure). (cherry picked from commit 8fcb4e1bbc38f2c87ff6b63bf305e2695218f103)
* SERVER-35004 Add functionality to only fail specific commands in failCommand ↵Samy Lanka2018-05-311-5/+19
| | | | | | failpoint (cherry picked from commit 85101a7e36d99ed4ceb0baf9d70e8481b25e35dd)
* SERVER-35268: Reduce recovery logging and add a buffer to resmoke's I/O pipes.Daniel Gottlieb2018-05-312-6/+8
| | | | (cherry picked from commit 01ccb6ea650ec7f5a569f64bd22146f078bdc4e7)
* SERVER-33327 Don't update lastWriteDate field in ↵Blake Oler2018-05-312-3/+27
| | | | | | Session::onMigrateCompletedOnPrimary (cherry picked from commit 52b37851285c2b5394f0a89edd0c117a8144812c)
* SERVER-22653 Retry establishing remote cursor during rollbackVesselina Ratcheva2018-05-304-2/+106
| | | | (cherry picked from commit 2b80b2eaa262a83d5a177bede9631c3a62682760)
* SERVER-33889 Remove more commands from embeddedAndrew Morrow2018-05-301-1/+1
| | | | (cherry picked from commit d0dfed56a03499e06bdad46c311250f4b987578a)
* SERVER-35286: Pass the oplog NamespaceString when getting the collection.Daniel Gottlieb2018-05-301-1/+1
| | | | (cherry picked from commit 3b152ee018a4c88588371ef5f8eb978f7fb8a192)
* SERVER-35022 Check if Free Monitoring is enabled during transition to primarySara Golemon2018-05-304-11/+25
| | | | (cherry picked from commit 774af67d1d2115d9a89a45643b42e931bec9aa82)
* SERVER-34348 Add causally consistent core_txns passthroughTess Avitabile2018-05-301-1/+9
| | | | (cherry picked from commit 16d96f4ef0a11543b2035e58867840a410afdff1)
* SERVER-34348 Speculative transactions should not wait for afterClusterTime ↵Tess Avitabile2018-05-302-17/+22
| | | | | | to be majority committed (cherry picked from commit d98cdcb350d4b17a0f4c57f31535388bff351cbf)
* SERVER-35070: Timestamp index completions individually.Daniel Gottlieb2018-05-295-12/+20
| | | | (cherry picked from commit 39694ed5ee47848c3e51f8b739e9ccad8ca54c69)
* SERVER-35253 Fix dbHash cmd to acquire IX locks inside multi-stmt txn.Max Hirschhorn2018-05-291-9/+14
| | | | | (cherry picked from commit 52976ef70f1fa991c9b30ba5e0e45fb8e2a1a1d8) (cherry picked from commit 1b3963a81c6cf68519b9ef5e798cf997483cc7b3)
* SERVER-35257 Forbid count command in transactionsJudah Schvimer2018-05-291-1/+5
| | | | (cherry picked from commit 75702981138cad992ccf4a61bbe35f9de9a2870f)
* SERVER-34790 ensure proper locks are held when doing reads or writes, via ↵Eric Milkie2018-05-297-10/+43
| | | | | | debug checks (cherry picked from commit ec2b67ac05f7aaa05b990e18cd7c23109a2e6eb7)
* SERVER-34919 do not retry vector insert on write conflict exception, for ↵Eric Milkie2018-05-291-3/+9
| | | | | | read concern snapshot (cherry picked from commit 3312ff09502ceb92d93f65f92d4e823df993a927)
* SERVER-34779 Add hook for checking dbhash while a test is running.Max Hirschhorn2018-05-263-4/+25
| | | | | | | Enables the CheckReplDBHashInBackground hook in the replica_sets_jscore_passthrough.yml test suite. (cherry picked from commit 25f72cf5f1d0d894680ef855f646e27f234ce6a3)
* SERVER-33639 Protect against distlock acquisition timeout at createDatabase timejannaerin2018-05-251-2/+2
| | | | (cherry picked from commit c1cc37fa0958963427000ec1ac2368efe2ea8177)
* SERVER-34341 parseCollModUUIDAndNss should uassert the input UUID is in the ↵Xiangyu Yao2018-05-241-12/+7
| | | | | | catalog (cherry picked from commit e573d7f2f908f3fbe96716851cd1b1e3d65fe7c9)
* SERVER-34102 Fix to prevent race between _handleTimePassing (stepdown ↵Suganthi Mani2018-05-246-2/+71
| | | | | | timeout) and _startElectSelfIfEligibleV1 (election timeout) for pv1 single node replica set case. (cherry picked from commit 678947e0836ccf6ebb0e9397e56ada985541bf14)
* SERVER-34944 Create a shim-override mechanism.ADAM David Alan Martin2018-05-242-2/+10
| | | | | | | | | Modules for MongoDB need to be able to indicate their own overrides of shimmed funcitons. These overrides must be able to access the underlying registered shim. Further, the overrides must be installed in the correct position in the initializer dependency graph. (cherry picked from commit 1de64a4eb0a3655df083bc2160e5720d66f3c6fe)
* SERVER-34999 Deprecate clone and copydb commandsMaria van Keulen2018-05-242-2/+18
| | | | (cherry picked from commit 95d7b799371c782cd3ef3b6dd29ecaa8a668b65a)
* SERVER-34893 Make the config server determine the control chunk on migration ↵Randolph Tan2018-05-244-26/+65
| | | | | | commit (cherry picked from commit 58fb5cb7a948fc05175b757ce5b0098e77af9ce1)
* SERVER-35177 Do not send 4.0-format option to shards when FCV is 3.6Charlie Swanson2018-05-241-6/+0
|
* Revert "SERVER-34944 Create a shim-override mechanism."Louis Williams2018-05-242-10/+2
| | | | This reverts commit 56c53c382daef891ac0951464e5e23ccdd5c0263.
* SERVER-34944 Create a shim-override mechanism.ADAM David Alan Martin2018-05-232-2/+10
| | | | | | | | | Modules for MongoDB need to be able to indicate their own overrides of shimmed funcitons. These overrides must be able to access the underlying registered shim. Further, the overrides must be installed in the correct position in the initializer dependency graph. (cherry picked from commit bad5afd612e8fc917fb035d8333cffd7d68a37cc)
* SERVER-34731 Fixes race condition in read_concern_snapshot_yielding.jsSuganthi Mani2018-05-231-1/+10
| | | | (cherry picked from commit 084e69ab140c37b010146a3acdb3da7e4977d9ea)
* SERVER-33736 timestamp index updates from vector insertsEric Milkie2018-05-234-8/+16
| | | | (cherry picked from commit 2ac08ad44e8218de90228ae948cd3abc6f4d99eb)
* SERVER-34661 Return early when the vote request response has an error.Suganthi Mani2018-05-232-2/+42
| | | | | | Fixed by making VoteRequester::Algorithm::processResponseto to check ok field in the vote response message. (cherry picked from commit e4e2162c489c1faa569463f51058ebc09368a5f9)
* SERVER-35019 Correct interruptibility in MultiIndexBlock destructorLouis Williams2018-05-232-8/+6
| | | | (cherry picked from commit a825912c936483216baa1dc5d9f34eaac4730647)
* SERVER-33934 Protect against distlock acquisition timeout at ↵jannaerin2018-05-232-0/+11
| | | | | | createCollection time (cherry picked from commit e382ac37427c519e5d39b909f96b45c2a32d072a)
* SERVER-33639 Protect against distlock acquisition timeout at createDatabase timejannaerin2018-05-235-0/+171
| | | | (cherry picked from commit 8ba9e8eb48d948c082ff5cb85dc059322f5ea5cb)
* SERVER-33538 Fix UUID inconsistencies in mapReduce on a sharded output ↵jannaerin2018-05-232-19/+7
| | | | | | collection (cherry picked from commit b69e6725325aaaae4fcca7563bf6428837ab7767)
* SERVER-35127: Do not timestamp any collection drops committed by dropDatabase.Daniel Gottlieb2018-05-231-77/+4
| | | | (cherry picked from commit 7730b27795b642ac772411cfba25f165ddb265e7)
* SERVER-34776 dropDatabase should respect user provided writeConcernLouis Williams2018-05-232-14/+31
| | | | (cherry picked from commit 416d82de9360f821c431b24f591cb3a0c777835f)
* SERVER-33198 Add complete two-phase locking testing to lock_state_test.cppDianna Hohensee2018-05-223-64/+86
| | | | (cherry picked from commit adad00367e75e7c71a781e4610321f7be5d98aa6)
* SERVER-34894 Embedded authorization componentsADAM David Alan Martin2018-05-227-129/+238
| | | | | | | | | To facilitate using the mongodb code as an in-process embeddable library, we have created a dummy auth layer which can stand in for the real auth system in these contexts. Several link edges needed to be retargetted, and some tests needed to be relaxed. (cherry picked from commit ac1ceb8cb4994e235abe9a364c3dd7a2bfa84a62)
* SERVER-35113 Allow single voting primaries to advance stable timestamp even ↵r4.0.0-rc0Judah Schvimer2018-05-212-0/+16
| | | | when last applied does not advance
* SERVER-34726 Lock acquisitions for profiling in transaction have 0 second ↵Tess Avitabile2018-05-185-2/+26
| | | | timeout