summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/test_commands.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* SERVER-13896 Replace logOp() with a more operation-aware observer interfacematt dannenberg2015-03-111-2/+3
|
* SERVER-17138 GodInsert should not create DB inside write unit of workKaloian Manassiev2015-02-051-1/+2
|
* SERVER-15308 SERVER-17150 cancel current command on the primary when the ↵Benety Goh2015-02-051-0/+7
| | | | node is stepped down
* SERVER-16822 Add ScopedTransactions to places which were missing itKaloian Manassiev2015-01-151-0/+1
|
* SERVER-13256 Add usings and qualifications for names from namespace stdAndrew Morrow2015-01-151-0/+4
|
* SERVER-16260 Accept Symbol BSON type arg for some commandsMatt Kangas2015-01-081-7/+3
| | | | | | | Followup to SERVER-16072 Add dbtest for commands that accept Symbol BSON type as collection name - Includes SConscript tweak to link missing "touch" command into dbtest
* SERVER-16274 synchronize start of bg index builds on secondariesEric Milkie2015-01-061-1/+1
|
* SERVER-16502: make getCollection const and not require an OpContextScott Hernandez2015-01-021-3/+3
|
* SERVER-16429 Get rid of assertWriteLocked which was doing incomplete checkKaloian Manassiev2014-12-121-11/+20
|
* 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-16192: Add ScopedTransaction to automatically commitAndRestart()Geert Bosch2014-11-211-0/+3
|
* SERVER-16209 LogComponent::kCommands -> kCommandMatt Kangas2014-11-181-1/+1
|
* SERVER-15541 SERVER-15652 implement timing-based yieldingDavid Storch2014-10-211-2/+4
|
* SERVER-15592 set default log component for all cppMatt Kangas2014-10-141-0/+2
|
* SERVER-14425 Move LockManager out of the newlm namespaceKaloian Manassiev2014-10-101-1/+1
|
* SERVER-14668: Collection level locking for update pathGeert Bosch2014-10-091-4/+4
| | | | Temporarily disable collection locking for MMAPv1.
* Revert "SERVER-14668: Replace uses of DBWrite lock with DBLock"Geert Bosch2014-10-031-1/+1
| | | | | | | | | This reverts commit da599844c97ef6d290c03e073a9bafe41c1a914e. Conflicts: src/mongo/db/repl/repl_coordinator_external_state_impl.cpp src/mongo/dbtests/counttests.cpp src/mongo/dbtests/querytests.cpp
* SERVER-14668: Replace uses of DBWrite lock with DBLockGeert Bosch2014-09-301-1/+1
| | | | | | | | This reverts commit 8e83e72512fcb8eb8f06987927766c0b77cea23e. This reinstates commit ae333bc94a7d89d3220dcae9579fcaf68aa2e290 and commit 962f959a09b63aa0482d7e0c9bad89363d1e1194, and fixes three cases where the wrong database name was locked.
* BF-532: Revert "SERVER-14668: Replace uses of DBWrite lock with DBLock"Geert Bosch2014-09-291-1/+1
| | | | | This reverts commit ae333bc94a7d89d3220dcae9579fcaf68aa2e290. This reverts commit 962f959a09b63aa0482d7e0c9bad89363d1e1194.
* SERVER-14668: Replace uses of DBWrite lock with DBLockGeert Bosch2014-09-251-1/+1
| | | | | | Make the lock mode explicit as preparation to move some to intent locks, and use proper database name instead of full namespace string to lock databases.
* SERVER-13635: fix captrunc transaction nestingEliot Horowitz2014-09-091-8/+10
|
* 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-14407 delete runner.hDavid Storch2014-07-231-2/+2
| | | | Replaces Runner::RunnerState with PlanExecutor::ExecState.
* SERVER-14407 replace Runner with PlanExecutorDavid Storch2014-07-221-5/+5
|
* SERVER-14387 Propogate OperationContext through calls requiring document ↵Craig Harris2014-07-081-2/+3
| | | | read locks, without doing the locking.
* SERVER-14471 Fix build break with the Visual Studio 2013 Update 2 toolkitKaloian Manassiev2014-07-071-0/+2
|
* SERVER-14085: Start using WriteUnitOfWorkGeert Bosch2014-07-011-0/+7
|
* SERVER-13961 Add OperationContext argument to Client::ContextKaloian Manassiev2014-07-011-1/+1
| | | | | | | Time tracking and database access in Client::Context require access to the OperationContext. Adding it as argument. This is in preparation for removing LockState from Client.
* Revert "SERVER-13961 Add OperationContext argument to Client::Context"Tyler Brock2014-06-301-1/+1
| | | | This reverts commit e1f5a39b1b625d04752be13f39c774e579b64cd8.
* SERVER-13961 Add OperationContext argument to Client::ContextKaloian Manassiev2014-06-281-1/+1
| | | | | | | Time tracking and database access in Client::Context require access to the OperationContext. Adding it as argument. This is in preparation for removing LockState from Client.
* Revert "SERVER-13961 Add OperationContext argument to Client::Context"Kaloian Manassiev2014-06-281-1/+1
| | | | This reverts commit 52edab726185cbba1401cb46de221fb3d1cb0408.
* SERVER-13961 Add OperationContext argument to Client::ContextKaloian Manassiev2014-06-271-1/+1
| | | | | | | Time tracking and database access in Client::Context require access to the OperationContext. Adding it as argument. This is in preparation for removing LockState from Client.
* SERVER-14069 all killCurrentOp goes through a nice ifaceHari Khalsa2014-06-061-1/+0
|
* SERVER-13961 Start using LockState from the OperationContextKaloian Manassiev2014-06-021-2/+2
|
* SERVER-13641 Plumb OperationContext through to getCollection and all HelpersMathias Stearn2014-05-301-6/+7
|
* SERVER-13961 Pass LockState to DBWrite and DBRead directlyKaloian Manassiev2014-05-301-3/+3
| | | | | This is part of the changes to move LockState be part of OperationContext and not retrieved from TLS.
* Revert "SERVER-13961 Pass LockState to DBWrite and DBRead directly"Kaloian Manassiev2014-05-281-3/+3
| | | | This reverts commit 0672061deb58aac931912bed68d014247c581968.
* SERVER-13961 Pass LockState to DBWrite and DBRead directlyKaloian Manassiev2014-05-281-3/+3
| | | | | This is part of the changes to move LockState be part of OperationContext and not retrieved from TLS.
* SERVER-14043 s/namespace replset/namespace repl/matt dannenberg2014-05-271-1/+1
|
* SERVER-14021 move all replication code into namespace replsetmatt dannenberg2014-05-221-1/+1
|
* SERVER-13931 do some killCurrentOp cleanupHari Khalsa2014-05-161-1/+1
|
* SERVER-13641 rename TransactionExperiment to OperationContextHari Khalsa2014-05-151-5/+5
|
* SERVER-13641 Unify Command::newRun into runMathias Stearn2014-05-141-4/+4
| | | | | | | | | | | This is the result of the following seds and a few manual fixups, including removing the old run() and fixing the comments. git grep -l '\<run(const' | xargs sed -si -e 's/\brun(const/newRun(TransactionExperiment* txn, const/' git grep -l '\<run( const' | xargs sed -si -e 's/\brun( const/newRun(TransactionExperiment* txn, const/' git grep -l '\<newRun(' | xargs sed -si -e 's/\bnewRun(/run(/'
* SERVER-13641 Pull TransactionExperiment up to top level request processorMathias Stearn2014-05-141-11/+8
|
* SERVER-13638: remove some namespace_details includeEliot Horowitz2014-05-011-1/+0
|
* SERVER-13643 Kill Command::logTheOp and have Commands log their own opsMathias Stearn2014-04-301-3/+4
| | | | | This is necessary to ensure that the lopOp is on the same Transaction as the operation.
* SERVER-13643 Move Txn pluming above Database and CollectionMathias Stearn2014-04-291-4/+8
|
* SERVER-13084: remove Client::database and make many things not use thread ↵Eliot Horowitz2014-04-171-2/+3
| | | | local versions
* SERVER-13084: remove many cc() calls from query/exec worldEliot Horowitz2014-04-171-0/+1
|