summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/oplogstart.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-07-281-125/+132
|
* SERVER-18926 avoid iterating the entire working set when preparing for a ↵David Storch2015-06-171-1/+1
| | | | | | | WiredTiger snapshot change Improves performance for query plans with a blocking stage when using the WiredTiger storage engine. In particular, this should benefit full text search and geoNear queries.
* SERVER-17132: Added SnapshotId and Snapshotted and use them in query to make ↵Eliot Horowitz2015-02-041-2/+2
| | | | | | sure we use correct versions of docs (cherry picked from commit d46a5c78c0d046f1975aca2eaa7f055a713c720f)
* SERVER-13256 Add usings and qualifications for names from namespace stdAndrew Morrow2015-01-151-0/+2
|
* SERVER-13679 Replace DiskLoc with RecordId outside of MMAPv1Mathias Stearn2014-11-261-3/+3
| | | | | | | | | | | Operations: sed -i -e 's/\<DiskLoc\>/RecordId/g' sed -i -e 's/\<DiskLocs\>/RecordIds/g' sed -i -e 's/\<minDiskLoc\>/RecordId::min()/g' sed -i -e 's/\<maxDiskLoc\>/RecordId::max()/g' sed -i -e 's/\<getDiskLoc\>/getRecordId/g'' Changes under mmap_v1 were reverted and redone by hand as needed.
* SERVER-15675 Stages should clear their OperationContext in saveState()Jason Rassi2014-11-201-0/+2
| | | | | | While state is saved, threads pass in their own OperationContext to invalidate(). When state is restored, the stage will resume with the OperationContext passed in to restoreState().
* SERVER-15675 PlanStage::invalidate() needs OperationContextJason Rassi2014-11-201-2/+2
| | | | | | | PlanStage::invalidate() is always called by a different thread than the stage's owning thread. The method should use the active OperationContext (the caller's) rather than the stage's OperationContext.
* SERVER-15665 MMAP v1 requests yields during page faults via NEED_FETCHDavid Storch2014-11-041-0/+1
|
* SERVER-15187 Update saved OperationContext in all PlanStagesDavid Percy2014-09-181-0/+1
| | | | | | | | | | | | | | | Every stage that has a field of type OperationContext* should be updating it when ::restoreState(OperationContext*) is called. Otherwise it is retaining a reference to deleted memory. This bug hasn't surfaced before because: 1. the OperationContext used to be stack allocated, so it would have the same address every time 2. mmapv1 doesn't always need to dereference the OperationContext Closes #781 Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-15187 Add OperationContext parameter to restoreStateDavid Percy2014-09-161-1/+1
| | | | | | | | | | | Storage engines might need the current OperationContext to restore their state. For example, BDBRecordIterator needs access to the current underlying transaction to recreate an underlying cursor. Having the BDBRecordIterator save a pointer to the OperationContext it was created with won't work, because the OperationContext is destroyed and a new one created between saveState and restoreState.
* SERVER-13635: OperationContext on read pathsEliot Horowitz2014-08-251-2/+2
|
* SERVER-14633 rename prepareToYield() and recoverFromYield() to saveState() ↵David Storch2014-07-291-6/+6
| | | | | | and restoreState() Also renames PlanExecutor::getStages() to PlanExecutor::getRootStage()
* SERVER-14407 replace Runner with PlanExecutorDavid Storch2014-07-221-2/+2
|
* SERVER-14387 Propogate OperationContext through calls requiring document ↵Craig Harris2014-07-081-5/+9
| | | | read locks, without doing the locking.
* SERVER-13635 keep mmapv1-specific record.h within mmapv1 implHari Khalsa2014-06-271-1/+0
|
* SERVER-14097 SERVER-14098 execution-level explain for .find() and .count()David Storch2014-06-271-0/+5
| | | | | | | | The explain implementation for .find() and .count() is feature complete. To use the .find() implementation, set the enableNewExplain setParameter to true. Count operations are explained through the new explain command, e.g. db.runCommand({explain: {count: "coll", query: {foo: "bar"}}}).
* SERVER-13638: remove some namespace_details includeEliot Horowitz2014-05-011-1/+0
|
* SERVER-13638: remove unused NamespaceDetails referenceEliot Horowitz2014-05-011-2/+0
|
* SERVER-13639: small cleaning of Extent headerEliot Horowitz2014-04-291-1/+0
|
* SERVER-13632 Get rid of DiskLoc::obj (Part 1)Kaloian Manassiev2014-04-261-3/+3
| | | | | | DiskLoc::obj references the durability subsystem through thread local variables. With this change the accesses become explicit through the collection.
* SERVER-13630 OplogStart and ParallelCollectionScan no longer rely on storage ↵Mathias Stearn2014-04-231-69/+26
| | | | impl
* SERVER-13084: remove many cc() calls from query/exec worldEliot Horowitz2014-04-171-5/+5
|
* SERVER-13084: move compact details down into RecordStore layerEliot Horowitz2014-04-141-2/+2
|
* SERVER-13084: some work on DiskLoc::extEliot Horowitz2014-04-131-2/+2
|
* SERVER-13084: const work for NamespaceDetails to make it clear where more ↵Eliot Horowitz2014-04-031-1/+1
| | | | work to do
* SERVER-11643: remove many nsdetails callsEliot Horowitz2014-04-031-2/+7
|
* SERVER-10026 SERVER-12046 SERVER-12113 runner/stage invalidation can be ↵Hari Khalsa2014-01-141-2/+5
| | | | mutation or deletion
* SERVER-10026 port FindingStartCursor dbtests to OplogStartDavid Storch2013-12-091-3/+8
| | | | Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
* SERVER-10026 port findingstartcursor to stage and use itHari Khalsa2013-10-111-0/+214