summaryrefslogtreecommitdiff
path: root/src/mongo/db/index
Commit message (Collapse)AuthorAgeFilesLines
* BACKPORT-7936 Error message when creating a mixed hashed/not hashed index ↵Dan Larkin-York2021-03-011-1/+1
| | | | should state the problem
* Revert "SERVER-50073 Error message when creating a mixed hashed/not hashed ↵Dan Larkin-York2021-02-111-1/+1
| | | | | | index should state the problem" This reverts commit b73f99b8a8514504cb91ed0060e155f8be689b45.
* SERVER-50073 Error message when creating a mixed hashed/not hashed index ↵Dan Larkin-York2021-02-111-1/+1
| | | | should state the problem
* SERVER-32903 Ambiguous field name error should be ignored during initial syncRyan Timmons2020-04-021-0/+2
| | | | | | create mode 100644 jstests/replsets/initial_sync_ambiguous_index.js (cherry picked from commit 3423ca586b88566857f3fcdfeca1c6fdee7a0911)
* SERVER-42565 Agg and find commands sort missing fields differentlyJustin Seyster2019-12-181-0/+35
| | | | | | | | Note that this backport combines the additional testing from 53d3aae5 with a one-line fix from 0b80f48b. (cherry picked from commit 53d3aae5f8e998e6a6625c9e99da8616640d3ba6) (cherry picked from commit ae8ddcdb9a15d59aa2dcbea0e95cf6c5e170f9da)
* SERVER-44571 Documents involved in SERVER-44050 corruption scenario cannot ↵Arun Banala2019-11-2017-32/+150
| | | | | | | be updated or deleted after upgrade (cherry picked from commit 35c6778143fc55eb9617ab4a54e616ba1e537ad5) (cherry picked from commit 6dd33f3f725d8df801603b8f1dcbd7b13a85f1ce)
* SERVER-44050 Arrays are not correctly rejected during key generation for ↵Arun Banala2019-10-291-8/+12
| | | | | | | 'hashed' indexes (cherry picked from commit 888f7e6fc10ccb999be203b8cbad4dbe19d0a5d2) (cherry picked from commit ffda4b8dd699251f487596ff008133830a5ec392)
* SERVER-41075 Remove `mongo/repl/replication_coordinator.h` from op-context ↵ADAM David Alan Martin2019-05-292-0/+36
| | | | | | | | visible inclusion. A few forward-decl headers were created also. (cherry picked from commit a472b61ae5ed22a35651298fccad61843993bc49)
* SERVER-17010 each Sorter instance spills to a single file rather than a new ↵Dianna Hohensee2019-02-251-0/+14
| | | | | | file per spill to disk (cherry picked from commit 2be7f2677a40a863f336d2964f456c9d87ddc838)
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-1934-653/+721
|
* SERVER-34263 Use WT specific data format version for new unique idxr3.7.6Sulabh Mahajan2018-04-243-22/+3
|
* SERVER-33607 Use kV2Unique version for new Unique indexes onlySulabh Mahajan2018-03-122-3/+12
|
* SERVER-32300 Explainable.aggregate should not modify options argument.“Dandan2018-03-051-1/+1
| | | | | Closes #1219 Signed-off-by: Charlie Swanson <charlie.swanson@mongodb.com>
* SERVER-32859 Improve error message when sorting parallel arrays“Dandan2018-03-041-1/+1
| | | | | | Closes #1218 Signed-off-by: Charlie Swanson <charlie.swanson@mongodb.com>
* SERVER-32638 Rename interruptable to interruptibleLouis Williams2018-03-011-1/+1
|
* SERVER-33418: Set multikey at index commit time.Daniel Gottlieb2018-02-212-50/+24
|
* SERVER-33275 Remove `platform/unordered_`* headersADAM David Alan Martin2018-02-141-2/+2
| | | | | | These headers date from before C++11 support and the `::mongo::stdx::` namespace. They can be removed and uses of the names therein can be changed to `::mongo::stdx::unordered_`* forms.
* SERVER-30911: Timestamp index build start and completion.Daniel Gottlieb2018-02-133-2/+24
|
* SERVER-28975 Fix typosLouis Williams2018-02-081-1/+1
|
* SERVER-29876 Check if partial filter applies when unindexing documentsLouis Williams2018-02-082-4/+24
|
* SERVER-32756 Enable selection of V2 format unique indexnehakhatri52018-02-073-1/+9
| | | | | | | | | | | A new unique index format would get added in MongoDB4.0 to overcome the anonmaly of duplicate keys in unique index on secondary instances. Enabled selection of new V2 format unique index via a gating variable. The IndexDescriptor::IndexVersion now has a new flag kV2Unique. The version in an IndexDescriptor object can be either kV2 or kV2Unique. A version value kV2Unique means a V2 format unique index would be created. In this commit all of the V2 format unique index implemetation is a copy of V1(unique index) format. It would change in future commits.
* SERVER-29908 Move sharding_task_executor under mongo/sKaloian Manassiev2018-02-022-1/+2
|
* SERVER-32206 timestamp catalog change to declare index multikeyJudah Schvimer2018-02-022-0/+18
|
* SERVER-30815 Refactor libraries to reduce cyclesAndrew Morrow2018-01-101-10/+21
| | | | | | | | | | | | | | | | | | | | | | | - Merge db/s/split_vector and db/s/split_chunk into db/s/sharding, since they were directly mutually cyclic with it. - Split db/index/index_access_method out of db/index/index_access_methods, so that libquery_exec can use the abstract class without needing to know about the detailed implementations - Combine db/clientcursor, db/query/{query,internal_plans}, db/exec/exec, parts of db/write_ops, and db/pipeline/serveronly_pipeline, into a new db/libquery_exec library. - Split a new library s/grid out of s/coreshard, and fold the parts of s/client/sharding_client into s/grid that were cyclic with coreshard, solving this cycle. - Adds/removes a few stray LIBDEPS here or there as needed to make the above transformations work. After making this transformation, we will be left with one important cycle: the new db/libquery_exec is still cyclic with db/s/sharding
* SERVER-31760 Add index support for InternalExprEqMatchExpression.David Storch2017-12-291-0/+11
|
* SERVER-32479 Make all library names uniqueAndrew Morrow2017-12-291-1/+1
|
* SERVER-32315 Remove IndexObserverGeert Bosch2017-12-141-21/+0
|
* SERVER-31418 Delete dead key gen code.David Storch2017-10-098-294/+6
|
* SERVER-30580 Eliminate UserException and MsgAssertionException typesMathias Stearn2017-08-163-12/+12
| | | | All users were converted to just use AssertionException.
* SERVER-30580 Eliminate DBException::getCode() in favor of code()Mathias Stearn2017-08-162-2/+2
|
* SERVER-30353 Create an index observer to notify us of changes made to index ↵Gregory Wlodarek2017-08-0912-10/+63
| | | | and document keys
* SERVER-30189 Reduce calls to allocator for large $in expressionsTess Avitabile2017-08-091-2/+3
|
* SERVER-29491 Only full validate should verifyTableGregory Wlodarek2017-07-252-7/+4
|
* SERVER-19402 Change agg array sort semantics to match find.David Storch2017-07-214-2/+497
|
* SERVER-29814 Move BSONObj::MatchType/BSONElement::getGtLtOp() to matcherJames Wahlin2017-07-211-0/+1
|
* SERVER-29544 Remove deprecated macro calls.Ian Kuehne2017-07-031-3/+2
|
* SERVER-29350 Bump featureCompatibilityVersion to 3.6Tess Avitabile2017-06-091-31/+1
|
* SERVER-29469 Delete OperationContextImpl classMathias Stearn2017-06-071-4/+5
|
* SERVER-29104 move vectors into getKeysImplWithArrayKyle Suarez2017-05-081-1/+2
| | | | | Moving rather than copying is a significant performance win for the non-array case.
* SERVER-25694 Eliminate race in PlanExecutor cleanup.Charlie Swanson2017-04-131-8/+7
| | | | | | | | | | | Ensures that a collection lock is held in at least MODE_IS while deregistering a PlanExecutor from the cursor manager. Introduces new PlanExecutor::dispose() and ClientCursor::dispose() methods that must be called before destruction of those classes, and ensures they are called before destruction. These calls will thread an OperationContext all the way through to DocumentSource::dispose() for each stage in a Pipeline, which will give DocumentSourceCursor a chance to acquire locks and deregister its PlanExecutor if necessary.
* SERVER-28600 Slice `catalog/collection` cycles.ADAM David Alan Martin2017-04-071-0/+1
| | | | | | | | | | | | | | The `Collection` class is a big part of the circular dependencies into `catalog`. A simple vtable slice is insufficient -- it was also necessary to alter the constructors of some of the other types, to allow them to properly self-initialize. The `Collection` class's header also exposed a few static and free functions that needed slicing as well. These slices were done using local `stdx::function` objects in the `collection.cpp` TU and creating registration functions to facilitate dependency injection.
* SERVER-28528 Remove some unnecessary cycle marksADAM David Alan Martin2017-03-301-5/+0
| | | | | There were some superfluous cycle markings which can be easily resolved, now that some parts of the dependency graph are fixed.
* SERVER-28025 Sever `index_access_method`'s catalog dependency.ADAM David Alan Martin2017-03-282-1/+2
| | | | | Slice this dependency by inserting an `IndexCatalogEntry` proxy class with a pure vtable, and exposing an inline version of `Collection::docFor`.
* SERVER-28281 Rotate deps, moving catalog to top.ADAM David Alan Martin2017-03-161-1/+5
| | | | | | Rotation of the dependency graph's "slices" to move db/catalog/catalog to being fully resolved. This will facilitate breaking dependencies into this library.
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-075-84/+85
| | | | | | This commit is an automated rename of all whole word instances of txn, _txn, and txnPtr to opCtx, _opCtx, and opCtxPtr, respectively in all .cpp and .h files in src/mongo.
* SERVER-27914 Verify canAcceptWritesForDatabase() is called while the caller ↵Matthew Russotto2017-03-061-1/+1
| | | | | | holds the global lock This reverts commit 3e5314c3f2be49666ca5d7aa766c934ba7d6cbe9.
* Revert "SERVER-26965 Use RAII type for turning off replicated writes."Matthew Russotto2017-03-061-1/+1
| | | | This reverts commit befb3ab22daa1f6e0db54af4caa426cfca1b7cd2.
* SERVER-26965 Use RAII type for turning off replicated writes.Matthew Russotto2017-03-061-1/+1
|
* SERVER-28071 add missing FTS indexing error codes to replication whitelistDavid Storch2017-02-231-0/+2
|
* SERVER-5580 track paths containing empty or single-element arrays as multikeyDavid Storch2017-01-275-67/+196
| | | | | This is required in order for the planner to enforce correct covering behavior.