summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-14633 rename prepareToYield() and recoverFromYield() to saveState() ↵David Storch2014-07-2972-225/+221
| | | | | | and restoreState() Also renames PlanExecutor::getStages() to PlanExecutor::getRootStage()
* SERVER-9482 add flag to enable activation of FIPS mode (off by default)Eric Milkie2014-07-292-5/+10
|
* SERVER-14623 fixed shell function ObjectId.fromDate for dates before ↵Jim OLeary2014-07-292-3/+15
| | | | | | | | | | | | | 1978-07-04T21:24:15Z ObjectId.fromDate is not correct for all dates There is an under-run for dates less than 1978-07-04T21:24:15Z ('Math.pow(2,28) - 1' seconds) Added extra test for upper date limit. Closes #725 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-13681 Revert "SERVER-7378 Prevent WRITETODATAFILES and ↵Matt Kangas2014-07-292-10/+0
| | | | | | FlushViewOfFile from running at the same time" This reverts commit 5352345eda2ffa24a72af1d5bbaccaa32bcb1006
* SERVER-14135 Fix else-statements to conform to style guideSpencer T Brody2014-07-291-5/+10
|
* SERVER-14442 Implement functions to build replSetUpdatePosition commands in ↵Spencer T Brody2014-07-294-7/+216
| | | | the ReplicationCoordinatorImpl
* SERVER-14442 Implement processing of replication handshake in the ↵Spencer T Brody2014-07-2917-64/+152
| | | | ReplicationCoordinatorImpl
* SERVER-13961 RIP Client::lockState()Kaloian Manassiev2014-07-294-11/+6
|
* SERVER-14604: Add replSetGetConfig commandScott Hernandez2014-07-2814-3/+92
|
* SERVER-13961 Pass through OperationContext in the JS frameworkKaloian Manassiev2014-07-2823-91/+122
| | | | | | | | The JS framework uses DBDirectClient, which requires OperationContext in order to not conflict with locks, which have already been acquired. This change also makes dbEval not use pooled scopes and create a new scope instead.
* SERVER-14701 backup auth role should allow running the collstats command for ↵Amalia Hawkins2014-07-282-8/+31
| | | | all resources
* Revert "SERVER-14604: Add replSetGetConfig command"Spencer T Brody2014-07-2814-89/+4
| | | | This reverts commit 172d4f6f8bd09d0b2b77d9fb3bf280d01cfb72a1.
* SERVER-13833 userAdminAnyDatabase role should be able to create and drop ↵Amalia Hawkins2014-07-282-2/+33
| | | | indexes on admin.system.users and admin.system.roles
* SERVER-14604: Add replSetGetConfig commandScott Hernandez2014-07-2814-4/+89
|
* SERVER-13951 Use a WriteUnitOfWork for each document in update and deleteMathias Stearn2014-07-284-17/+19
|
* SERVER-14584 Clean up BtreeLogic::pushBack/_pushBack namingMathias Stearn2014-07-283-26/+27
| | | | | There are no functional changes, other than the file:line that would be printed on invariant failures.
* SERVER-14584 Use correct algorithm in BtreeLogic::BuilderMathias Stearn2014-07-285-236/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both algorithms cover phases 2 and 3 of forground index building. Importantly they both take as input pre-sorted data that has already been extracted from the raw documents (phase 1). OLD ALGORITHM: Phase 2: Add all keys to buckets. When a bucket gets full, create a new bucket and link it as the original bucket's parent pointer. At the end of the stage we have a linked-list of leaf nodes starting as the left-most corner. Phase 3: Walk the linked produced by phase 2, and build the layer above the leaves. With each bucket, except for the last (right-most), pop* its highest key and add it to the bucket that will be it's parent. If the current parent bucket is full a new one is added to higher-layer linked list as in phase 1. Phase 3 is repeated on the new higher-layer linked list until you get a layer with a single bucket which is marked as the root of the tree. * Importantly, popping a key is what sets the nextChild pointer on a bucket. It is set to what used to be the prevChildNode of the key that is popped. A major flaw of this algorithm is that because no key is ever popped from the root, its nextChild pointer is never filled in. NEW ALGORITHM: Phase 2: Add all keys to buckets. When a bucket gets full, pop the highest key (setting the nextChild pointer of the bucket to the prevChild of the popped key), add the popped key to a parent bucket, and create a new right sibling bucket to add the new key to. If the parent bucket is full, this same operation is performed on the parent and all full ancestors. If we get to the root and it is full, a new root is created above the current root. When creating a new right sibling, it is set as its parent's nextChild as all keys in the right sibling will be higher than all keys currently in the parent. Phase 3: Does nothing. This may go away soon. Non-exhaustive list of benefits to the new algorthm: * Generates a valid btree. * Doesn't require a second pass over all of the buckets in the index. This can be significantly faster for indexes that don't fit in ram.
* SERVER-13635 Use StringData and StringMap in DBHolderMathias Stearn2014-07-285-21/+24
|
* SERVER-14378 fix duplicate assert codesEric Milkie2014-07-281-2/+2
|
* SERVER-14680 remove incomplete unit testEric Milkie2014-07-281-4/+0
|
* SERVER-14680 use real topocoord in replcoord testEric Milkie2014-07-282-3/+4
|
* SERVER-13951: Add rollback of collection metadataGeert Bosch2014-07-2810-56/+318
| | | | | This implements rollback of collection creation or dropping, including associated indexes.
* SERVER-14680 remove topology coordinator mock -- not neededEric Milkie2014-07-283-200/+1
|
* SERVER-14680 code reorganization to allow TopoCoord to linkEric Milkie2014-07-2814-110/+234
|
* SERVER-14378: clean up cloner changes for no system namespacesEliot Horowitz2014-07-281-2/+4
|
* SERVER-14378: clean list(Collections|Indexes)Eliot Horowitz2014-07-282-7/+11
|
* SERVER-2442: fix db fetching in listCollections commandEliot Horowitz2014-07-281-6/+9
|
* SERVER-14378: cloner shouldn't use system.indexes but listIndexesEliot Horowitz2014-07-285-119/+212
|
* SERVER-14378: Cloner shouldn't use system.namespacesEliot Horowitz2014-07-284-59/+98
|
* SERVER-14378: IndexCatalog should not rely on system.indexesEliot Horowitz2014-07-281-14/+1
|
* SERVER-13635: allow smoke.py to use alternate storage enginesEliot Horowitz2014-07-282-4/+12
|
* SERVER-14516 Brand new testing certificatesStuart Larsen2014-07-2623-623/+661
| | | | | | | | | | New testing certificates generated for MongoDB using x509gen. Test were also updated slightly to accommodate for new subject alternative names and such. All instances of "sslAllowInvalidCertificates" were removed from src/mongo/shell. Closes #724 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-14580 added tests for $naturalJonathan2014-07-261-0/+379
| | | | | | Closes #714 Signed-off-by: Benety Goh <benety@mongodb.com>
* post 2.7.4Ernie Hershey2014-07-257-7/+7
|
* BUMP 2.7.4r2.7.4Ernie Hershey2014-07-257-7/+7
|
* SERVER-14181: Test Hang AnalyzerMark Benvenuto2014-07-251-3/+384
| | | | | | | | | | | | A prototype hang analyzer for MCI integration to help investigate test timeouts. 1. Script supports taking dumps, and/or dumping a summary of useful information about a process 2. Script will iterate through a list of interesting processes (mongo, mongod, and mongos), and run the tools from step 1. Supports Linux, MacOS X, and Windows.
* SERVER-14685 Wait for balancing and replication in sharding/auth.js testSpencer T Brody2014-07-251-7/+3
|
* SERVER-14582 Make ReplSetTest.waitForIndicator work with auth when primary ↵Spencer T Brody2014-07-251-48/+48
| | | | is down
* SERVER-14690 fix no_chaining.js flakinessmatt dannenberg2014-07-251-0/+6
|
* SERVER-14475 Network thread should not exit with error during clean shutdownKaloian Manassiev2014-07-252-35/+11
|
* SERVER-14681 Add FAQ pertaining to storage enginesAlex2014-07-251-0/+227
| | | | | Signed-off-by: Matt Kangas <matt.kangas@mongodb.com> Closes #722
* SERVER-14123 Delete jstests/sharding/explain_large.jsJason Rassi2014-07-251-53/+0
| | | | | | explain_large.js spawns 18 shards and runs a query that allocates 300MB+ of memory on each. This causes OOM conditions on MCI's 32-bit buildvariants (limited to 4GB of addressable memory, no swap).
* Revert "SERVER-14580 added tests for $natural"Benety Goh2014-07-251-376/+0
|
* SERVER-14652 update tests for localhost exceptionJonathan2014-07-255-15/+273
| | | | | | Closes #721 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-14580 added tests for $naturalJonathan2014-07-251-0/+376
| | | | | | Closes #714 Signed-off-by: Benety Goh <benety@mongodb.com>
* Revert "SERVER-13681: Remove lock that was an incorrect workaround for Azure ↵Mark Benvenuto2014-07-242-39/+33
| | | | | | Drive write size limitations." This reverts commit 78c068e5d63d77648954252a785b3673d6e314b7.
* SERVER-14625 fix index bounds issue for negation inside elemMatchDavid Storch2014-07-242-0/+23
|
* SERVER-14626 Add method that gets the number of votes needed to win an ↵Andy Schwerin2014-07-243-6/+35
| | | | election to ReplicaSetConfig.
* SERVER-14626 Fix race between ReplicationExecutor::shutdown and the network ↵Andy Schwerin2014-07-241-0/+2
| | | | | | | thread. This patch prevents a network callback that completes after ReplicationExecutor::shutdown() has been called from being executed two times.
* SERVER-14626 Add support to NetworkInterfaceMock to cause network responses ↵Andy Schwerin2014-07-242-13/+74
| | | | | | | to block indefinitely. This is useful for testing behaviors that should take place if some events occur while a network operation is outstanding.