summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-28022 Invalidate old IDs for moved system.namespaces recordsMaria van Keulen2017-03-302-0/+10
| | | | | | | | (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-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-23762 validate() should fail when encountering invalid BSONRobert Guo2016-04-211-1/+1
| | | | | (cherry picked from commit ce39e32d01e3a909948f850360040809ac7c8a8d) (cherry picked from commit 5089357158122b3c8b2c146210ac15fe9451c21c)
* SERVER-19128 Clean up interaction of background index builds and cursor killingr3.0.9-rc0Mathias Stearn2016-01-185-15/+26
| | | | | This reverts commit 90a684ad25a86deff16f80e11e257c6ac6611683, restoring 1d26b77d115eb39f03dffbdbaccf10e696cd4fe3.
* Revert "SERVER-19128 Clean up interaction of background index builds and ↵Spencer Jackson2016-01-135-26/+15
| | | | | | cursor killing" This reverts commit 1d26b77d115eb39f03dffbdbaccf10e696cd4fe3.
* SERVER-19128 Clean up interaction of background index builds and cursor killingMathias Stearn2016-01-125-15/+26
| | | | (cherry picked from commit 795a8ebd80a9f91fc1484cfdc33b6609d0bc4a35)
* SERVER-20858 Reject creation of non-capped oplog collections.Max Hirschhorn2016-01-121-0/+1
| | | | (cherry picked from commit bee7144f59bc8782c3c8e76c45a9f9e0e39cb1e6)
* SERVER-21646 limit concurrency of writes to replicated capped collectionsMathias Stearn2015-12-022-7/+20
| | | | | | This prevents the primary from running significantly faster than secondaries. (cherry picked from commit f45b7c8e34743ba89407d90ee3392acb0d2be255)
* SERVER-17895 Remove clearing plan cache after 1000 write opsQingyang Chen2015-08-263-18/+1
| | | | | | | | | | | | (cherry picked from commit 26c5394f79d12ac1c9df7263199e2926ee2e19ff) Conflicts: src/mongo/db/catalog/collection.cpp src/mongo/db/query/plan_cache.cpp src/mongo/db/query/plan_cache.h src/mongo/db/query/plan_cache_test.cpp src/mongo/db/query/query_knobs.cpp src/mongo/db/query/query_knobs.h
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-07-2825-4608/+4422
|
* SERVER-17689: handle wce better in initial syncScott Hernandez2015-07-061-4/+12
| | | | (cherry picked from commit 57232d88b869b0741d95998f8ed09a96b2e7a1bc)
* SERVER-17370 Fix bugs in storage engine-specific index and collection optionsMathias Stearn2015-07-012-14/+4
| | | | (cherry picked from commit 6d8fb7f9912873c6ff34785c55094079cf364126)
* SERVER-17923 prohibit database/collection actions when bg index is runningEric Milkie2015-06-052-30/+0
|
* Revert "SERVER-17689: handle wce better in initial sync"Scott Hernandez2015-06-011-12/+4
| | | | This reverts commit 411802f844fa09bedb4f80d14e76bb94d2e3cae0.
* SERVER-17689: handle wce better in initial syncScott Hernandez2015-06-011-4/+12
| | | | (cherry picked from commit 57232d88b869b0741d95998f8ed09a96b2e7a1bc)
* SERVER-17642 WCE retry loop per document in index buildMathias Stearn2015-03-311-22/+44
| | | | (cherry picked from commit a853cabd7e65ca545636af6b6c957d1ee1d4b39d)
* SERVER-17521: improve createIndex validation of empty nameEliot Horowitz2015-03-091-0/+3
| | | | (cherry picked from commit 245ff2fcb2e01f549ae1b0e7aa0716dcdce8765d)
* SERVER-17487 Use strict unindex operations for in-progress indexesMathias Stearn2015-03-091-0/+5
| | | | (cherry picked from commit 378f8dd985cb3c8d03b384d9671abff92693c7f5)
* SERVER-17481 validate should call into WT_SESSION::verify()Mathias Stearn2015-03-091-0/+8
| | | | (cherry picked from commit 4f4387d9b98c2da5eb5a4b070a1b28e856f8ecca)
* SERVER-17436 Don't try to access collection pointer if it gets deleted ↵Kaloian Manassiev2015-03-042-5/+11
| | | | | | | | | during index build (cherry picked from commit e590c12532de734da61ceb8324e1fd09de13fd7c) Conflicts: src/mongo/db/catalog/index_catalog.h
* Revert "SERVER-17356 Rename 'storageEngine' to 'storage' in collection and ↵Dan Pasette2015-02-255-44/+46
| | | | | | index options" This reverts commit 54f2c659779bfde7f7891f624d74c1eb01668b39.
* SERVER-17356 Rename 'storageEngine' to 'storage' in collection and index optionsMathias Stearn2015-02-245-46/+44
| | | | (cherry picked from commit aa207c8f93ca264fd292980defca1cff315f2a47)
* SERVER-17312 collmod command now handles parsing of all argumentsMathias Stearn2015-02-193-2/+15
| | | | | | | | | | | | | | | | | | For the two currently supported engine-specific options, the collmod command will handle parsing the arguments and tell the CollectionCatalogEntry to update it's flags option. This removes the ability of storage engines to have custom options that can be changed after the collection is created. There were issues related to argument validation and replication of changes (including for initial sync). A correct solution will be designed as SERVER-17320. (cherry picked from commit ae18bbec33db1c4bf57d328505474eb7bba517df) Conflicts: src/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.cpp src/mongo/db/storage/mmap_v1/catalog/namespace_details_rsv1_metadata.cpp src/mongo/db/storage/mmap_v1/catalog/namespace_details_rsv1_metadata.h
* SERVER-17114 capped cursor should die when falling off the back of collectionEric Milkie2015-02-041-0/+1
| | | | (cherry picked from commit 0e523eec39056da5b0dfb3826bbe27b4f376deb6)
* SERVER-17132: Added SnapshotId and Snapshotted and use them in query to make ↵Eliot Horowitz2015-02-042-48/+35
| | | | | | sure we use correct versions of docs (cherry picked from commit d46a5c78c0d046f1975aca2eaa7f055a713c720f)
* SERVER-17030 More WCE handling for index buildsMathias Stearn2015-01-273-26/+0
| | | | (cherry picked from commit 9134f4c4f376dc60a389b0d7f385802a49867bbe)
* SERVER-17030 handle WCE in index buildsEric Milkie2015-01-274-119/+144
| | | | (cherry picked from commit 476be2a540af944ba49532b5b517d5759e10fc64)
* SERVER-17053 Let WriteConflictException (and others) bubble up out of ↵Andy Schwerin2015-01-261-15/+6
| | | | | | Database::dropCollection. (cherry picked from commit 5e6ab7e206e72e69603c8ac8a6b77c3e5f4637d3)
* Revert "SERVER-17030 handle WCE in index builds"Dan Pasette2015-01-263-55/+45
| | | | | | This reverts commit dd22b3fdb2cbcc95595b49e95da83b0ff498f95b. (cherry picked from commit 106385c21ec92a7b98bd3be498b4f2ef02fd21fa)
* SERVER-16893 Disallow creation of v0 indexes with non-mmapv1 storage enginesalabid2015-01-261-0/+8
| | | | | | | | | | Also moved jstests/tool/dumprestore6.js to jstests/mmapv1/dumprestore6.js since this JS test attempts to restore a v0 index Closes #914 Signed-off-by: Benety Goh <benety@mongodb.com> (cherry picked from commit 5f3fa2e77537d1be650af981effa2e66dc86e10d)
* SERVER-17030 handle WCE in index buildsEric Milkie2015-01-263-45/+55
| | | | (cherry picked from commit dd22b3fdb2cbcc95595b49e95da83b0ff498f95b)
* SERVER-17005 skip clearing tmp collection if it fails with ↵Eric Milkie2015-01-231-12/+19
| | | | | | WriteConflictException (cherry picked from commit 6741cd5a468657490a346366ba353fdc860445fe)
* SERVER-16919 Improve WT capped collection age-outMathias Stearn2015-01-222-4/+5
| | | | | | * Provide a start cursor to range truncate() * Don't call capped deletion callback for the oplog * Provide backpressure when inserts get ahead of age-out
* SERVER-16959 send INVALIDATION_MUTATION message prior to an in-place updateDavid Storch2015-01-212-3/+11
|
* SERVER-16923 Create the system.profile collection if under DB X lockKaloian Manassiev2015-01-201-5/+6
|
* SERVER-16676 don't trash indexes for RecordStores that can compact in-placeMathias Stearn2015-01-151-2/+15
|
* SERVER-16672 Disallow NUL bytes in index namesMathias Stearn2015-01-151-8/+13
|
* Better repair for WTMathias Stearn2015-01-154-31/+22
| | | | | | | | | | | | | * Doesn't construct RecordStores or indexes before they've been repaired * No longer need to skip checking index versions. * Updates numRecords and dataSize after the repair. Related issues: SERVER-16817 Skip checking index versions in WT during --repair SERVER-16172 --repair fails before repairing collections in WT A call to flushAllFiles is commented out due to SERVER-16869. Resolving it should uncomment that line.
* SERVER-16431 Simplify DB profile codeKaloian Manassiev2015-01-154-23/+38
|
* SERVER-16797 Remove support for touch command in WiredTiger storage engine.alabid2015-01-151-1/+1
| | | | | | Closes #906 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-15876 Added some collection-level lock checksalabid2015-01-152-0/+18
| | | | | | Closes #907 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-13256 Add usings and qualifications for names from namespace stdAndrew Morrow2015-01-159-0/+35
|
* SERVER-13256 Add std namespace qualifications in headersAndrew Morrow2015-01-152-4/+4
|
* SERVER-13951: Remove now obsolete commentGeert Bosch2015-01-131-4/+0
|
* SERVER-16659 Fix CursorManager/ClientCursorPin cosmetic issuesJason Rassi2015-01-122-9/+17
| | | | Const-correctness, comments.
* SERVER-16659 Collection: rename cursorManager() to getCursorManager()Jason Rassi2015-01-123-6/+6
|
* SERVER-16764 Make ReplicationCoordinator file names match the type namesSpencer T Brody2015-01-123-3/+3
|
* SERVER-16657 Auth check for ops on cursors owned by global cursor mgrJason Rassi2015-01-121-26/+34
|
* SERVER-16657 Remove CursorManager::ns()Jason Rassi2015-01-122-10/+19
|
* SERVER-16772 Only examine indexes on update when necessaryAndrew Morrow2015-01-082-26/+34
|