summaryrefslogtreecommitdiff
path: root/src/mongo/db
Commit message (Collapse)AuthorAgeFilesLines
* we consider admin and local dbs candidates for nested locks. however when ↵Dwight2012-03-232-1/+12
| | | | | | | | writing to admin you need to lock both in this change we simply W lock the whole system on admin writes. this should make writing to auth work. however there may be better solutions. we may be able to treat admin db as non-nested on writes period.
* make buildscripts pay attention to fassert and assign error codesEliot Horowitz2012-03-234-26/+26
|
* a little organizing for clarity aroung yieldsEliot Horowitz2012-03-231-16/+21
|
* error codesAaron2012-03-222-2/+2
|
* Use append() and appendNumber() rather than the insertion operator when ↵Aaron2012-03-222-14/+18
| | | | appending values in explain.cpp
* SERVER-5288 Use appendNumber when writing long longs to explain output.Aaron2012-03-221-10/+10
|
* Normalize usage of BSONObjBuilder in explain.cppAaron2012-03-221-31/+28
|
* SERVER-4484 Comments attempting to describe how Cursors currently ensure ↵Aaron2012-03-224-8/+95
| | | | consistency after a write
* Rename loadedObject to loadedRecord and specifically ↵Aaron2012-03-2212-39/+39
| | | | MatchDetails::loadedObject() to MatchDetails::hasLoadedRecord().
* Store MatchDetails::_elemMatchKey as a string.Aaron2012-03-224-12/+15
|
* commentsAaron2012-03-221-1/+5
|
* SERVER-5067 Explicitly request elemMatchKey for update operations with a ↵Aaron2012-03-221-0/+8
| | | | dynamic array, forcing a full record load on a positive match.
* SERVER-5067 Ensure MatchDetails requests are forwarded by the ↵Aaron2012-03-221-5/+6
| | | | QueryOptimizerCursor.
* SERVER-5067 Make elemMatchKey fetching an explicit request in MatchDetails, ↵Aaron2012-03-223-7/+21
| | | | and use this request to decide if a document load is required.
* Remove unused CoveredIndexMatcher::matches() function.Aaron2012-03-221-1/+0
|
* Make MatchDetails a class.Aaron2012-03-228-28/+40
|
* Remove 'alwaysUseRecord' mode in CoveredIndexMatcher, currently unusedAaron2012-03-224-15/+13
|
* SERVER-4150 SERVER-5198 Don't advance a duplicate entry on takeover when ↵Aaron2012-03-221-2/+8
| | | | mixed in order and out of order plans are possible.
* fix copydb - which db we lock was wrongEliot Horowitz2012-03-221-1/+1
|
* somewhat temporary fix. we were trying to open admin db for auth purposesDwight2012-03-221-0/+8
| | | | | in a readlock, which doesn't fly. this opens it at startup. that isn't quite right so more work will be needed but this will help with buildbot.
* SERVER-5125 minor tweaks per code reviewU-tellus\cwestin2012-03-221-2/+2
|
* SERVER-5125 beautify oversized BSON error for aggregation resultsU-tellus\cwestin2012-03-222-10/+29
|
* SERVER-5185 break circular reference when setting up pipeline to runU-tellus\cwestin2012-03-226-16/+18
|
* Fix definitions of FieldBound and FieldInterval.Aaron2012-03-221-3/+3
|
* SERVER-5360 improve error message and handling for rs initial syncEric Milkie2012-03-221-1/+19
|
* Offset reconnections in health poll tasks SERVER-5313Kristina2012-03-221-1/+13
|
* actually display what went wrong if /dev/urandom fails to openEric Milkie2012-03-221-1/+2
|
* Added replSetSyncFrom command SERVER-3921Kristina2012-03-225-0/+103
| | | | | | Conflicts: src/mongo/db/repl/rs_sync.cpp
* SERVER-4333 ensure that all migrate ops are flagged with fromMigrateEric Milkie2012-03-221-9/+12
|
* export locking type since tests need to knowEliot Horowitz2012-03-222-1/+6
|
* fix local.slaves updating after SERVER-5183 falloutEliot Horowitz2012-03-211-1/+7
| | | | not an ideal solution but should make tests pass
* update lock constructs a bitEliot Horowitz2012-03-211-5/+3
|
* Key::isValidEliot Horowitz2012-03-211-0/+3
|
* Merge branch 'master' of github.com:mongodb/mongoDwight2012-03-211-7/+3
|\
| * SERVER-4328: Fix locking around OpTime::last.Andy Schwerin2012-03-211-7/+3
| |
* | missing line in last commit for admin nested lockingDwight2012-03-211-0/+1
|/
* SERVER-4328 support nested locking of admin database. we need this for auth. ↵Dwight2012-03-213-53/+92
| | | | more work to be done though as the acquisition of the lock isnt in the code yet in the higher layers afaik
* SERVER-4328 we will not allow runexclusively on nested db locks as that ↵Dwight2012-03-211-2/+17
| | | | would deadlock so we need a check at this level to make sure that is not the case. if it is so we simply demur from the commitNow which might be fine or might be really bad.
* implement writelocktry and readlocktry in terms of GlobalWrite and GlobalReadEric Milkie2012-03-203-49/+82
| | | | | | This fixes replsets/auth3.js. This change is necessary because TempRelease needs a real ScopedLock object to operate properly, so you must go through GlobalWrite/GlobalRead.
* SERVER-4328: Fix global-instance-vs-member-field confusion in ↵Andy Schwerin2012-03-201-1/+1
| | | | QLock::runExclusively.
* more assertsDwight2012-03-201-0/+4
|
* SERVER-4328 if a lock is potentially nestable, like the local db lock, do it ↵Dwight2012-03-201-8/+8
| | | | | | | after the "top lock" otherwise, we could deadlock. this however means we can't commitIfNeeded on that database. the claim is that that will be ok.
* fix dumprestore10.js by supporting nested TempRelease'sEric Milkie2012-03-202-11/+18
|
* move some methods around; dbread and dbwrite are very similar. probably too ↵Dwight2012-03-201-73/+83
| | | | much repetition here in the code but at least if they are adjacent it is easy to comapre them
* Fix build break from git merge mistake.Andy Schwerin2012-03-191-3/+0
|
* Merge branch 'master' of github.com:mongodb/mongoDwight2012-03-193-17/+52
|\
| * Enable/disable DB-level locking at compile time.Andy Schwerin2012-03-191-16/+47
| | | | | | | | | | Use the "--mongod-concurrency-level=db" flag to scons to enable db-level locking. Defaults to disabled, can be disabled explicitly with "--mongod-concurrency-level=global".
| * Fix Visual Studio build -- progress_meter.cppTad Marshall2012-03-192-1/+5
| | | | | | | | | | Add progress_meter.cpp to projects that need it, make pch.h the first include so we can use procompiled header in VS.
* | SERVER-4328 refactor Lock::TempRelease to make it more readable and ↵Dwight2012-03-192-90/+99
|/ | | | hopefully more clear
* Merge branch 'master' of github.com:mongodb/mongoDwight2012-03-192-0/+2
|\