| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
| |
(cherry picked from commit ce39e32d01e3a909948f850360040809ac7c8a8d)
(cherry picked from commit 5089357158122b3c8b2c146210ac15fe9451c21c)
|
|
|
|
|
| |
This reverts commit 90a684ad25a86deff16f80e11e257c6ac6611683, restoring
1d26b77d115eb39f03dffbdbaccf10e696cd4fe3.
|
|
|
|
|
|
| |
cursor killing"
This reverts commit 1d26b77d115eb39f03dffbdbaccf10e696cd4fe3.
|
|
|
|
| |
(cherry picked from commit 795a8ebd80a9f91fc1484cfdc33b6609d0bc4a35)
|
|
|
|
| |
(cherry picked from commit bee7144f59bc8782c3c8e76c45a9f9e0e39cb1e6)
|
|
|
|
|
|
| |
This prevents the primary from running significantly faster than secondaries.
(cherry picked from commit f45b7c8e34743ba89407d90ee3392acb0d2be255)
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|
| |
|
|
|
|
| |
(cherry picked from commit 57232d88b869b0741d95998f8ed09a96b2e7a1bc)
|
|
|
|
| |
(cherry picked from commit 6d8fb7f9912873c6ff34785c55094079cf364126)
|
| |
|
|
|
|
| |
This reverts commit 411802f844fa09bedb4f80d14e76bb94d2e3cae0.
|
|
|
|
| |
(cherry picked from commit 57232d88b869b0741d95998f8ed09a96b2e7a1bc)
|
|
|
|
| |
(cherry picked from commit a853cabd7e65ca545636af6b6c957d1ee1d4b39d)
|
|
|
|
| |
(cherry picked from commit 245ff2fcb2e01f549ae1b0e7aa0716dcdce8765d)
|
|
|
|
| |
(cherry picked from commit 378f8dd985cb3c8d03b384d9671abff92693c7f5)
|
|
|
|
| |
(cherry picked from commit 4f4387d9b98c2da5eb5a4b070a1b28e856f8ecca)
|
|
|
|
|
|
|
|
|
| |
during index build
(cherry picked from commit e590c12532de734da61ceb8324e1fd09de13fd7c)
Conflicts:
src/mongo/db/catalog/index_catalog.h
|
|
|
|
|
|
| |
index options"
This reverts commit 54f2c659779bfde7f7891f624d74c1eb01668b39.
|
|
|
|
| |
(cherry picked from commit aa207c8f93ca264fd292980defca1cff315f2a47)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
(cherry picked from commit 0e523eec39056da5b0dfb3826bbe27b4f376deb6)
|
|
|
|
|
|
| |
sure we use correct versions of docs
(cherry picked from commit d46a5c78c0d046f1975aca2eaa7f055a713c720f)
|
|
|
|
| |
(cherry picked from commit 9134f4c4f376dc60a389b0d7f385802a49867bbe)
|
|
|
|
| |
(cherry picked from commit 476be2a540af944ba49532b5b517d5759e10fc64)
|
|
|
|
|
|
| |
Database::dropCollection.
(cherry picked from commit 5e6ab7e206e72e69603c8ac8a6b77c3e5f4637d3)
|
|
|
|
|
|
| |
This reverts commit dd22b3fdb2cbcc95595b49e95da83b0ff498f95b.
(cherry picked from commit 106385c21ec92a7b98bd3be498b4f2ef02fd21fa)
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
(cherry picked from commit dd22b3fdb2cbcc95595b49e95da83b0ff498f95b)
|
|
|
|
|
|
| |
WriteConflictException
(cherry picked from commit 6741cd5a468657490a346366ba353fdc860445fe)
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
| |
Closes #906
Signed-off-by: Benety Goh <benety@mongodb.com>
|
|
|
|
|
|
| |
Closes #907
Signed-off-by: Benety Goh <benety@mongodb.com>
|
| |
|
| |
|
| |
|
|
|
|
| |
Const-correctness, comments.
|
| |
|
| |
|
| |
|
| |
|
| |
|