summaryrefslogtreecommitdiff
path: root/src/mongo
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-28022 Invalidate old IDs for moved system.namespaces recordsMaria van Keulen2017-03-305-24/+55
| | | | | | | | (cherry picked from commit b21ff4b1a89bf90a3cceee6961c75f8d10c733e6) Conflicts: src/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.cpp src/mongo/db/storage/mmap_v1/mmap_v1_database_catalog_entry.h
* SERVER-27996 Invalidate stale system.namespaces record IDsMaria van Keulen2017-03-301-1/+20
| | | | (cherry picked from commit c8afd7bba3aec74e49ce3467cce386f1d3f9b92f)
* SERVER-27930 Invalidate old index record IDs after renaming collectionsMaria van Keulen2017-03-301-0/+9
| | | | | | | (cherry picked from commit 08996a3fa199dd04f428c663e78239c07339e7e5) Conflicts: jstests/core/list_indexes_invalidation.js
* SERVER-27164 do not upgrade dblock for replication, to avoid deadlockEric Milkie2017-02-151-3/+9
| | | | (cherry picked from commit e876419bebadd6468c402e85e1fcf6eff5a374d4)
* SERVER-27493 do not enforce oplog visibility hack for reverse cursorsEric Milkie2017-02-062-8/+24
|
* SERVER-27358 Convert socket timeout to milliseconds to use in connectsamantharitter2016-12-121-1/+1
| | | | (not cherry-picked)
* SERVER-27240 Replace ConnectBG with pollJason Carey2016-12-081-56/+110
| | | | | | | | | | | | It's unsafe to close a socket from another thread. Also, after returning EINTR, the connect call converts to an async call. And on non-linux systems that requires a fallback to poll/select to handle errors. Because of that, let's just do the connect without the background thread at all, starting off with poll. (cherry picked from commit a1baabeee5694aa8c4ffa1827233684d6c7fcc49)
* SERVER-23510 Fix index_retry and index_no_retry to not be timing basedVincent Do2016-11-071-58/+77
| | | | | | | | | | | | | | | | | | | (cherry picked from commit a97efaa18399fa43bb2a66be204c9f433e71f50b) Additional changes on top of a97efaa18399fa43bb2a66be204c9f433e71f50b: - Included the changes from ff285b342fd98416a458a070f05e62c274028c89 to fix invalid write concerns. - Fixed the tests to get the pid using serverStatus(). - Worked around MongoRunner.EXIT_TEST not being defined. - Removed checks that the parallel shell exited with a non-zero return code. - Limited the scope of a WriteUnitOfWork to avoid an invariant failure.
* SERVER-25075 Limit BSONObj buffer size used by 2dsphere index.Siyuan Zhou2016-09-081-2/+2
|
* SERVER-18739 finish post member state update action before signalling ↵Eric Milkie2016-08-041-2/+2
| | | | finished follower mode
* SERVER-24761 Abort entire query plan when a catalog operation occurs.Max Hirschhorn2016-07-158-5/+23
| | | | | | | | Plan execution cannot proceed if the collection or a candidate index was dropped during a yield. This prevents the subplanner from trying to build plan stages when the collection and indexes no longer exist. (cherry picked from commit a7e0e028e73c0b4f543c1ded1f4af0673630617a)
* SERVER-18580 Make OIDTests::FromDate deterministic.Andy Schwerin2016-06-201-6/+6
|
* SERVER-23277 Update LDR branch range checkMark Benvenuto2016-05-261-1/+4
| | | | (cherry picked from commit 5f619d882f9291684c500408ee54967f93d2da49)
* SERVER-23919 fix call to userCreateNSEric Milkie2016-05-191-2/+2
|
* SERVER-23919 gather all collection names at the start of initial syncEric Milkie2016-05-196-119/+206
|
* SERVER-24116 fix KeyString's parsing of strings with leading nullRobert Guo2016-05-162-1/+9
| | | | (cherry picked from commit 6a0904bd38a2deb2de127865943d57ca7cfa6927)
* SERVER-23807 index build must X-lock collectionKyle Suarez2016-04-292-2/+13
| | | | | Index builds must lock the collection with an X lock, rather than an IX lock, to prevent a race with concurrent updates.
* SERVER-7005 reject embedded null bytes in $regexDavid Storch2016-04-222-87/+53
| | | | | | | (cherry picked from commit 33471d4424dd81e5310b27867ecb3647c60cf7a4) Conflicts: jstests/core/regex.js
* SERVER-7005 reject embedded null bytes in $renameDavid Storch2016-04-222-0/+32
| | | | (cherry picked from commit 75f24a26015566ce5458887de1431d2458ff7fd3)
* SERVER-23762 validate() should fail when encountering invalid BSONRobert Guo2016-04-211-1/+1
| | | | | (cherry picked from commit ce39e32d01e3a909948f850360040809ac7c8a8d) (cherry picked from commit 5089357158122b3c8b2c146210ac15fe9451c21c)
* SERVER-23425 Port 3.2 sharding move chunk unit testsKaloian Manassiev2016-03-311-2/+15
|
* SERVER-23425 Correctly track inserts and deletes to migrating chunks.Andy Schwerin2016-03-311-3/+3
|
* SERVER-23283 RangeDeleter does not log cursor ids correctly in deleteNow()Randolph Tan2016-03-281-7/+7
| | | | (cherry picked from commit 26603490725d969247044de4f36f487972264023)
* SERVER-22535 Fix MigrateFromStatus::storeCurrentLocs() to not dereference ↵r3.0.10Tess Avitabile2016-03-071-1/+6
| | | | invalid memory
* SERVER-22793 always clear buffered WorkingSetIDs on saveStateDavid Storch2016-02-265-18/+19
| | | | | This ensures that the set of WorkingSetIDs does not grow without bound.
* SERVER-18671 SecondaryPreferred can end up using unversioned connectionsRandolph Tan2016-02-226-47/+73
| | | | (cherry picked from commit 1d611a8c7ee346929a4186f524c21007ef7a279d)
* SERVER-22535 Migration source manager checks for PlanExecutor errors during ↵Tess Avitabile2016-02-221-2/+12
| | | | | | initial index scan for documents to clone Custom backport from f5a9081a412ada3fc8a472b267f932f76b345126
* SERVER-19800 DataSizeChange forces an int into a boolMartin Bligh2016-02-212-4/+4
| | | | | | Fix for SERVER-22634: data size change for oplog deletes can overflow 32-bit int (cherry picked from commit 2a11d0957b397e2c9bcb4230da9d764b50aaac3b)
* SERVER-22569 Change findParentEqualityElement() to return by value.Max Hirschhorn2016-02-203-10/+9
| | | | | | | | MSVC 2013 doesn't support thread-safe initialization of function-local static-duration objects, so it's possible to return a reference to 'eooElement' prior to the value being fully initialized. (cherry picked from commit 4f1cc51f3e21e4ff76c68e86ecae4e5d138de0aa)
* Revert "SERVER-21388 validate captrunc argument"Robert Guo2016-02-051-6/+0
| | | | This reverts commit f2a67700a3cfd9e401feb4a17931ea3209f10e4b.
* SERVER-22261 Ensure LSNFile only contains sequence numbers flushed to data filesMathias Stearn2016-02-0210-76/+139
| | | | (cherry picked from commit 0386400f728588140ccd9c896f7b87370d9bc866)
* SERVER-22292: make wait-for-pid operation more robust on windowsSam Kleinman2016-01-291-4/+9
| | | | (cherry picked from commit bc065bab600d637b42c78f0622994fbd060aea01)
* SERVER-21388 validate captrunc argumentRobert Guo2016-01-281-0/+6
|
* Revert "SERVER-17527 add startup warning when server is started with web ↵Robert Guo2016-01-266-34/+9
| | | | | | interface and auth" This reverts commit a01f882735e7655cfb1572ec8c6710f296caf4be.
* SERVER-17527 add startup warning when server is started with web interface ↵Robert Guo2016-01-266-9/+34
| | | | | | and auth (cherry picked from commit 7a615393f4ce1fee83767ab161cdbc6a6ed1fdef)
* SERVER-21776 Diagnostic logic for reads/writes should use correct log componentr3.0.9Jason Rassi2016-01-202-3/+3
| | | | (cherry picked from commit f210ee304a3b6eeb85a67305e6a97a32e1df3c81)
* SERVER-19128 Clean up interaction of background index builds and cursor killingr3.0.9-rc0Mathias Stearn2016-01-187-15/+40
| | | | | This reverts commit 90a684ad25a86deff16f80e11e257c6ac6611683, restoring 1d26b77d115eb39f03dffbdbaccf10e696cd4fe3.
* SERVER-22191 Don't register CurOp on Client until done with constructionMathias Stearn2016-01-181-2/+5
|
* SERVER-22160 Make statics for background.cpp immortalMathias Stearn2016-01-181-3/+5
| | | | | | | This resolves static-initialization-order-fiasco problems with cursor_manager.cpp. (cherry picked from commit d9e0595751bb1decc6c0de0a24d1cb4d09443451)
* SERVER-22114 fix code formatRandolph Tan2016-01-161-0/+1
|
* SERVER-22114 Avoid doing unnecessary repeated calls to DBConfig::_loadRandolph Tan2016-01-152-13/+31
| | | | | | | | (cherry picked from commit 0f85256eefa78b1b74b9e6ae0d1c646853f6f22f) Conflicts: src/mongo/s/config.cpp src/mongo/s/config.h
* SERVER-22114 Remove unnecessary refresh in ChunkManagerTargeter::refreshNowRandolph Tan2016-01-159-106/+56
| | | | | | | | | | | | | | | | In addition, limit the lifetime of ChunkManager instances so it can free references to ChunkManager earlier. (cherry picked from commit 65f2da2c49c2b22d2b80e6562b9b61f242cb9a18) Conflicts: src/mongo/s/chunk_manager_targeter.cpp src/mongo/s/chunk_manager_targeter.h src/mongo/s/cluster_write.cpp src/mongo/s/cluster_write.h src/mongo/s/commands/cluster_write_cmd.cpp src/mongo/s/write_ops/batch_write_exec.cpp src/mongo/s/write_ops/batch_write_exec.h src/mongo/s/write_ops/batch_write_exec_test.cpp
* SERVER-22109 applyOps should validate database name in index spec when ↵Benety Goh2016-01-141-0/+4
| | | | | | creating indexes (cherry picked from commit 3fa4cdc79b04639061f0d13b68b60c3e3e5102b6)
* Revert "SERVER-19128 Clean up interaction of background index builds and ↵Spencer Jackson2016-01-137-40/+15
| | | | | | cursor killing" This reverts commit 1d26b77d115eb39f03dffbdbaccf10e696cd4fe3.
* SERVER-7656 Execute aggregation command on targeted shard if first stage is ↵Charlie Swanson2016-01-133-15/+58
| | | | an exact match on shard key
* SERVER-20358 prevent creation of users containing NULL charactersrahuldhodapkar2016-01-131-0/+3
| | | | (cherry picked from commit 6a46a7c34222329972b6c6b0fae70bc6cd72c2fa)
* SERVER-19128 Clean up interaction of background index builds and cursor killingMathias Stearn2016-01-127-15/+40
| | | | (cherry picked from commit 795a8ebd80a9f91fc1484cfdc33b6609d0bc4a35)
* SERVER-19128 add debugging outputEric Milkie2016-01-121-0/+3
| | | | (cherry picked from commit 7494d0c5a65d3e7128aa8a8857ce78dd7aea1ee6)
* SERVER-20858 Reject creation of non-capped oplog collections.Max Hirschhorn2016-01-121-0/+1
| | | | (cherry picked from commit bee7144f59bc8782c3c8e76c45a9f9e0e39cb1e6)
* SERVER-22109 validate index spec namespace in applyOperation_inlockBenety Goh2016-01-121-0/+15
| | | | (cherry picked from commit 51f0cfa865fe090a5208d5bff47faa5fbe6a92c1)