summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/delete.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* SERVER-13679 Replace DiskLoc with RecordId outside of MMAPv1Mathias Stearn2014-11-261-2/+2
| | | | | | | | | | | 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-2/+4
| | | | | | 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-16209 LogComponent::kWrites -> kWriteMatt Kangas2014-11-181-1/+1
|
* SERVER-15665 MMAP v1 requests yields during page faults via NEED_FETCHDavid Storch2014-11-041-5/+8
|
* SERVER-15627 Use LogComponent::kWrites where appropriateMatt Kangas2014-10-271-1/+1
|
* SERVER-15541 SERVER-15652 implement timing-based yieldingDavid Storch2014-10-211-0/+6
|
* SERVER-15592 set default log component for all cppMatt Kangas2014-10-141-0/+2
|
* SERVER-15363 fix solaris compileDavid Storch2014-10-021-0/+1
|
* SERVER-14100 explain for deleteDavid Storch2014-09-191-11/+16
|
* 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-14085: Shrink WriteUnitOfWork in DeleteStage::workGeert Bosch2014-09-041-19/+25
| | | | | This avoids problems for storage engines where committing a transaction invalidates cursors in that transaction.
* SERVER-13951 Better scoping for many WUOWsMathias Stearn2014-08-201-2/+0
|
* SERVER-14657 use RangeDeleter for all migration cleanup in d_migrate.cppRandolph Tan2014-08-191-1/+1
| | | | Remove last use of Helpers::removeRange in d_migrate.cpp
* SERVER-13951 WUOW now takes whole OperationContext, not just RecoveryUnitMathias Stearn2014-08-131-1/+1
| | | | This will make it possible to implement two-phase locking.
* SERVER-14729 logging cleanup - removed mongo/util/log.h from headers, ↵Benety Goh2014-08-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | de-inlining functions that use logging where applicable. de-inlined BSONElement::_asCode() de-inlined BSONObjBuilder::appendDate() de-inlined DBClientCursor::nextSafe() de-inlined IndexDescriptor::_checkOk() de-inlined LastErrorHolder::getSafe() de-inlined UpdateResult constructor de-inlined QueryPlannerCommon::reverseScans() de-inlined repl::ScopedConn::connect() de-inlined repl::_MultiCommand::run() de-inlined OplogReader::tailCheck() de-inlined repl::StateBox::change() de-inlined repl::SyncSourceFeedback::_resetConnection() de-inlined DiskLoc56Bit::operator=() de-inlined DurableInterface::~DurableInterface() de-inlined ListeningSockets::closeAll() de-inlined RelativePath::fromFullPath() and getPartition() de-inlined V8Scope::checkV8ErrorState and removed debug log message from ObjTracker destructor (v8-3.25) de-inlined V8Scope::checkV8ErrorState and removed debug log message from ObjTracker destructor removed log message from List1::orphan() - this should have no user-facing impact because List1::orphan() is used in tests only removed log message from RWLockRecursiveNongreedy::Lock() removed log message from RSBase destructor removed log.h dependency from DESTRUCTOR_GUARD macro removed mongo/util/log.h dependency from qlog.h removed mongo/util/log.h dependency from stacktrace.h removed mongo/util/log.h dependency from s2 logging header removed mongo/util/log.h dependency from chunk_diff-inl.cpp removed mongo/util/log.h from pch.h removed unused mongo/util/log.h include from inlined file sorter.cpp convert HashTable<K,V> to non-template NamespaceHashTable. De-inlined NamespaceHashTable::_find() and constructor convert isself getMyAddrs()and getallIPs() debug log to use LOG() macro assign default log component MONGO_LOG_DEFAULT_COMPONENT removed unused macros LOGATMOST and LOGSOME removed unused FLOG() macro from goodies.h
* SERVER-14498 Add DeleteStage, rewrite DeleteExecutor to use itJason Rassi2014-07-301-0/+182