| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
appropriate
|
| |
|
|
|
|
| |
Also removes the unimportant but flaky scoped_db_conn_test
|
|
|
|
|
|
| |
These headers date from before C++11 support and the `::mongo::stdx::`
namespace. They can be removed and uses of the names therein can
be changed to `::mongo::stdx::unordered_`* forms.
|
|
|
|
|
| |
workaround gcc bug
[branch stdx_bind_2]
|
|
|
|
|
|
| |
Work around GCC bug#67274 with explicit this-> syntax.
This reverts commit 54db6356c47d7a639eae062818c3026561a64594.
This reverts commit 19ced195b842d9521220f76b8dd7da8c929ad8ee.
|
|
|
|
| |
This reverts commit 7dc61c0f0c0160ad6cba831a0e12bef501ef3ad5.
|
|
|
|
| |
[branch stdx_bind_1]
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Unrevert and apply MSVC workarounds.
|
|
|
|
| |
This reverts commit 41cd527620d94a11362f2a5a1aa86643be22d36e.
|
|
|
|
|
|
|
|
|
|
| |
Changed explicit trivial constructor to `default`.
Removed explicit trivial destructor for non-virtual class.
Declared `default` move-assignment and move-constructor methods.
Removed `swap` implementations in favor of move assignment.
Removed a test which dealt specifically with copyability
since the class is no longer copyable.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are numerous places in the codebase where `mongo::Status` or
`mongo::StatusWith< T >` objects are returned and never checked.
Many of these are innocuous, but many of them are potentially
severe bugs. This change introduces facilities to permit
compile-time warning of unchecked `Status` and `StatusWith` usage
on clang compilers. It introduces an `ignore` function which is
useful to state that a specific "ignored status" case was
intentional. It not presently an error, in clang builds, to
forget to check a `Status` -- this will come in a later commit.
This also introduces a `transitional_ignore` function, which allows
for easy continual auditing of the codebase for current "whitelisted"
unchecked-status instances. All present "ignored status" cases
have been marked `transitional_ignore`.
|
|
|
|
|
|
|
| |
Before this patch 'ns' values were often passed around as std::string or
char* containing either a dbname (no '.'), a dbname with '.$cmd', or a fully qualified
collection name. Instead pass either plain 'dbName' value (as string) or a fully
qualified name using the actual NamespaceString type.
|
|
|
|
|
|
| |
This commit is an automated rename of all whole word instances of txn,
_txn, and txnPtr to opCtx, _opCtx, and opCtxPtr, respectively in all
.cpp and .h files in src/mongo.
|
| |
|
| |
|
| |
|
|
|
|
| |
This reverts commit d930f4832631eca7092ada4328d780f2b8d19d31.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
MigrationSourceManager::logUpdateOp to directly take the updated document
|
|
|
|
| |
for backwards compatibility up to the usersInfo command
|
|
|
|
| |
being talked to by a 3.0 mongos
|
|
|
|
| |
CatalogManager
|
| |
|
| |
|
| |
|
|
|
|
| |
through the catalog manager
|
| |
|
| |
|
|
|
|
|
|
|
| |
The initial version of this commit was initially reverted because
boost::optional<bool> gives spurious warnings due to a GCC bug that
should have been fixed in GCC 4.8.5. This commit makes no
use of boost::optional.
|
|
|
|
| |
This reverts commit 295cb7943e21a22f9f3a95006de21b07b254afd2.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
documents.
The master branch no longer needs to support the 2.4-2.6 upgrade process, obviating the need for
this decision making. Removing it will reduce the likelihood of future errors, and simplifies
storage concurrency control by removing the need for a multi-document atomic read.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|