Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | we consider admin and local dbs candidates for nested locks. however when ↵ | Dwight | 2012-03-23 | 2 | -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 codes | Eliot Horowitz | 2012-03-23 | 4 | -26/+26 |
| | |||||
* | a little organizing for clarity aroung yields | Eliot Horowitz | 2012-03-23 | 1 | -16/+21 |
| | |||||
* | error codes | Aaron | 2012-03-22 | 2 | -2/+2 |
| | |||||
* | Use append() and appendNumber() rather than the insertion operator when ↵ | Aaron | 2012-03-22 | 2 | -14/+18 |
| | | | | appending values in explain.cpp | ||||
* | SERVER-5288 Use appendNumber when writing long longs to explain output. | Aaron | 2012-03-22 | 1 | -10/+10 |
| | |||||
* | Normalize usage of BSONObjBuilder in explain.cpp | Aaron | 2012-03-22 | 1 | -31/+28 |
| | |||||
* | SERVER-4484 Comments attempting to describe how Cursors currently ensure ↵ | Aaron | 2012-03-22 | 4 | -8/+95 |
| | | | | consistency after a write | ||||
* | Rename loadedObject to loadedRecord and specifically ↵ | Aaron | 2012-03-22 | 12 | -39/+39 |
| | | | | MatchDetails::loadedObject() to MatchDetails::hasLoadedRecord(). | ||||
* | Store MatchDetails::_elemMatchKey as a string. | Aaron | 2012-03-22 | 4 | -12/+15 |
| | |||||
* | comments | Aaron | 2012-03-22 | 1 | -1/+5 |
| | |||||
* | SERVER-5067 Explicitly request elemMatchKey for update operations with a ↵ | Aaron | 2012-03-22 | 1 | -0/+8 |
| | | | | dynamic array, forcing a full record load on a positive match. | ||||
* | SERVER-5067 Ensure MatchDetails requests are forwarded by the ↵ | Aaron | 2012-03-22 | 1 | -5/+6 |
| | | | | QueryOptimizerCursor. | ||||
* | SERVER-5067 Make elemMatchKey fetching an explicit request in MatchDetails, ↵ | Aaron | 2012-03-22 | 3 | -7/+21 |
| | | | | and use this request to decide if a document load is required. | ||||
* | Remove unused CoveredIndexMatcher::matches() function. | Aaron | 2012-03-22 | 1 | -1/+0 |
| | |||||
* | Make MatchDetails a class. | Aaron | 2012-03-22 | 8 | -28/+40 |
| | |||||
* | Remove 'alwaysUseRecord' mode in CoveredIndexMatcher, currently unused | Aaron | 2012-03-22 | 4 | -15/+13 |
| | |||||
* | SERVER-4150 SERVER-5198 Don't advance a duplicate entry on takeover when ↵ | Aaron | 2012-03-22 | 1 | -2/+8 |
| | | | | mixed in order and out of order plans are possible. | ||||
* | fix copydb - which db we lock was wrong | Eliot Horowitz | 2012-03-22 | 1 | -1/+1 |
| | |||||
* | somewhat temporary fix. we were trying to open admin db for auth purposes | Dwight | 2012-03-22 | 1 | -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 review | U-tellus\cwestin | 2012-03-22 | 1 | -2/+2 |
| | |||||
* | SERVER-5125 beautify oversized BSON error for aggregation results | U-tellus\cwestin | 2012-03-22 | 2 | -10/+29 |
| | |||||
* | SERVER-5185 break circular reference when setting up pipeline to run | U-tellus\cwestin | 2012-03-22 | 6 | -16/+18 |
| | |||||
* | Fix definitions of FieldBound and FieldInterval. | Aaron | 2012-03-22 | 1 | -3/+3 |
| | |||||
* | SERVER-5360 improve error message and handling for rs initial sync | Eric Milkie | 2012-03-22 | 1 | -1/+19 |
| | |||||
* | Offset reconnections in health poll tasks SERVER-5313 | Kristina | 2012-03-22 | 1 | -1/+13 |
| | |||||
* | actually display what went wrong if /dev/urandom fails to open | Eric Milkie | 2012-03-22 | 1 | -1/+2 |
| | |||||
* | Added replSetSyncFrom command SERVER-3921 | Kristina | 2012-03-22 | 5 | -0/+103 |
| | | | | | | Conflicts: src/mongo/db/repl/rs_sync.cpp | ||||
* | SERVER-4333 ensure that all migrate ops are flagged with fromMigrate | Eric Milkie | 2012-03-22 | 1 | -9/+12 |
| | |||||
* | export locking type since tests need to know | Eliot Horowitz | 2012-03-22 | 2 | -1/+6 |
| | |||||
* | fix local.slaves updating after SERVER-5183 fallout | Eliot Horowitz | 2012-03-21 | 1 | -1/+7 |
| | | | | not an ideal solution but should make tests pass | ||||
* | update lock constructs a bit | Eliot Horowitz | 2012-03-21 | 1 | -5/+3 |
| | |||||
* | Key::isValid | Eliot Horowitz | 2012-03-21 | 1 | -0/+3 |
| | |||||
* | Merge branch 'master' of github.com:mongodb/mongo | Dwight | 2012-03-21 | 1 | -7/+3 |
|\ | |||||
| * | SERVER-4328: Fix locking around OpTime::last. | Andy Schwerin | 2012-03-21 | 1 | -7/+3 |
| | | |||||
* | | missing line in last commit for admin nested locking | Dwight | 2012-03-21 | 1 | -0/+1 |
|/ | |||||
* | SERVER-4328 support nested locking of admin database. we need this for auth. ↵ | Dwight | 2012-03-21 | 3 | -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 ↵ | Dwight | 2012-03-21 | 1 | -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 GlobalRead | Eric Milkie | 2012-03-20 | 3 | -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 Schwerin | 2012-03-20 | 1 | -1/+1 |
| | | | | QLock::runExclusively. | ||||
* | more asserts | Dwight | 2012-03-20 | 1 | -0/+4 |
| | |||||
* | SERVER-4328 if a lock is potentially nestable, like the local db lock, do it ↵ | Dwight | 2012-03-20 | 1 | -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's | Eric Milkie | 2012-03-20 | 2 | -11/+18 |
| | |||||
* | move some methods around; dbread and dbwrite are very similar. probably too ↵ | Dwight | 2012-03-20 | 1 | -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 Schwerin | 2012-03-19 | 1 | -3/+0 |
| | |||||
* | Merge branch 'master' of github.com:mongodb/mongo | Dwight | 2012-03-19 | 3 | -17/+52 |
|\ | |||||
| * | Enable/disable DB-level locking at compile time. | Andy Schwerin | 2012-03-19 | 1 | -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.cpp | Tad Marshall | 2012-03-19 | 2 | -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 ↵ | Dwight | 2012-03-19 | 2 | -90/+99 |
|/ | | | | hopefully more clear | ||||
* | Merge branch 'master' of github.com:mongodb/mongo | Dwight | 2012-03-19 | 2 | -0/+2 |
|\ |