| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
boost::none
|
|
|
|
|
|
| |
- Remove several legacy logger/ files
- Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version.
- Globally replace logger::{LogSeverity,LogComponent} => logv2::
|
|
|
|
|
|
|
| |
o converting some log lines that were missed
o fixing some missing includes
create mode 100644 src/mongo/transport/ismaster_metrics.cpp
|
|
|
|
|
|
| |
Remove leading comments that are just stating the filename.
Move any file-level comments below the copyright banner.
Remove leading blank lines.
|
| |
|
|
|
|
|
|
| |
Expose the ShardingState properties and move the appendInfo logic to be
entirely inside the 'getShardingState' function, which is its only
consumer.
|
|
|
|
| |
getting interfaces without using global get function.
|
| |
|
|
|
|
|
|
| |
w/fix: update a new command to secondaryAllowed
This reverts commit d75cb425fbc3cf4b569eb1722c3f8abec45654a2.
|
|
|
|
| |
This reverts commit be24b0323d3f2d424d9e22337f4221d39001ac31.
|
|
|
|
| |
declare read_preference dep. update service_entry_opint_embedded
|
| |
|
|
|
|
| |
It is now only used by commands deriving from ErrmsgCommandDeprecated.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
Outside of the OpObserver, there are currently 2 places where shard initialization occurs: during startup and during transition to primary.
This patch takes out the if !replSet condition in startup so secondaries will now also perform shard initialization. This also means that if the node will eventually become a primary, it will perform the initialization twice. However, since it is already initialized, most of it will be no-op the second time around.
In summary:
- secondaries initializes sharding state.
- nodes that will become primary will do what secondaries do. And on top of that, will read the minOpTime document and update it if minOpTimeUpdaters > 0.
|
| |
|
|
|