summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/compact.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* SERVER-16962 Allow compact on capped collection if supported by storage engineMathias Stearn2015-10-151-5/+0
| | | | MMAPv1 will not support this operation.
* SERVER-19247 remove implicit conversion from NamespaceString to std::stringQingyang Chen2015-07-061-8/+8
|
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-98/+106
|
* SERVER-17923 prohibit database/collection actions when bg index is runningEric Milkie2015-06-041-14/+0
|
* SERVER-15860 Switch replication metadata ops to be replication-specific, ↵matt dannenberg2015-04-171-1/+6
| | | | rather than using commands
* SERVER-17758 Move AutoGet* and Client::*Context to their own file.Andy Schwerin2015-03-271-2/+3
| | | | | The new file is mongo/db/db_raii.h. Also, Client::Context is now OldClientContext and Client::WriteContext is OldClientWriteContext.
* SERVER-13256 Add usings and qualifications for names from namespace stdAndrew Morrow2015-01-151-0/+3
|
* SERVER-16764 Make ReplicationCoordinator file names match the type namesSpencer T Brody2015-01-121-1/+1
|
* SERVER-16764 Give methods and member variables consistent names in repl ↵Spencer T Brody2015-01-121-1/+1
| | | | Coordinator classes
* SERVER-16260 Accept Symbol BSON type arg for some commandsMatt Kangas2015-01-081-8/+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-16711: do not create db for compact if missing db/collectionScott Hernandez2015-01-051-6/+9
|
* SERVER-16502: make getCollection const and not require an OpContextScott Hernandez2015-01-021-2/+2
|
* SERVER-16500 Change the meaning of getReplicationMode() to be constant after ↵Andy Schwerin2014-12-101-3/+1
| | | | | | | | | | | | | | | | start up. Previously, ReplicationCoordinator::getReplicationMode() returned modeNone if the settings object indicated the node was part of a replica set, but no valid replica set configuration had yet been discovered. With this change, the settings object is the sole determinant of the return value of getReplicationMode(). Callers that wish to know if a replica set member is initialized should instead check ReplicationCoordinator::getMemberState(). If the value is RS_STARTUP, then the node is not initialized with a replica set config. This has the side-effect of removing the mutex in ReplCoordinatorImpl from the code path for this method.
* SERVER-16192: Add ScopedTransaction to automatically commitAndRestart()Geert Bosch2014-11-211-0/+1
|
* SERVER-16209 LogComponent::kCommands -> kCommandMatt Kangas2014-11-181-1/+1
|
* SERVER-16072 improve namespace construction in commandsMatt Kangas2014-11-171-3/+3
|
* 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-2/+2
| | | | Temporarily disable collection locking for MMAPv1.
* Revert "SERVER-14668: Replace uses of DBWrite lock with DBLock"Geert Bosch2014-10-031-2/+2
| | | | | | | | | 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-2/+2
| | | | | | | | 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-2/+2
| | | | | This reverts commit ae333bc94a7d89d3220dcae9579fcaf68aa2e290. This reverts commit 962f959a09b63aa0482d7e0c9bad89363d1e1194.
* SERVER-14668: Replace uses of DBWrite lock with DBLockGeert Bosch2014-09-251-2/+2
| | | | | | 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-13951 Split compact up into WriteUnitOfWorksMathias Stearn2014-08-261-3/+0
| | | | | Each document is its own WUOW and we maintain consistency with every document. This was the last caller of isCommitNeeded() so that method has been removed.
* 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-14668 Move locking related files to be under mongo/db/concurrencyKaloian Manassiev2014-08-131-1/+1
| | | | Also performs some cleanup of the includes around 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-14404 eliminate isCurrentlyAReplSetPrimary()matt dannenberg2014-07-011-2/+5
|
* SERVER-14085: Start using WriteUnitOfWorkGeert Bosch2014-07-011-0/+3
|
* 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-13641 Plumb OperationContext through to getCollection and all HelpersMathias Stearn2014-05-301-4/+5
|
* SERVER-13961 Pass LockState to DBWrite and DBRead directlyKaloian Manassiev2014-05-301-1/+1
| | | | | 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-1/+1
| | | | This reverts commit 0672061deb58aac931912bed68d014247c581968.
* SERVER-13961 Pass LockState to DBWrite and DBRead directlyKaloian Manassiev2014-05-281-1/+1
| | | | | 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-7/+5
|
* SERVER-13635 remove dead codeHari Khalsa2014-05-161-1/+1
|
* SERVER-13641 rename TransactionExperiment to OperationContextHari Khalsa2014-05-151-2/+2
|
* SERVER-13641 Unify Command::newRun into runMathias Stearn2014-05-141-1/+1
| | | | | | | | | | | 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-3/+2
|
* SERVER-13643 Kill Command::logTheOp and have Commands log their own opsMathias Stearn2014-04-301-1/+0
| | | | | 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-1/+3
|
* SERVER-13498 Get rid of LockStatusKaloian Manassiev2014-04-151-1/+1
| | | | | | This change removes all usages of LockStatus and pushes the lock acquisitions to be inside the respective commands. This is a refactoring on the way to per-document locking.
* SERVER-13053 track index builds explicitly instead of using CurOpEric Milkie2014-03-211-6/+6
|