summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/sharding_state_command.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-47978 Make cleanupOrphaned command use onShardVersionMismatch with ↵Kaloian Manassiev2020-06-041-1/+1
| | | | boost::none
* SERVER-47735 change mongo source over to logv2Billy Donahue2020-04-261-1/+1
| | | | | | - Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2::
* SERVER-45567 removing util/log.h where I canGabriel Russell2020-02-211-1/+0
| | | | | | | o converting some log lines that were missed o fixing some missing includes create mode 100644 src/mongo/transport/ismaster_metrics.cpp
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-1/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-14/+16
|
* SERVER-29908 Remove ShardingState::appendInfoKaloian Manassiev2018-08-011-2/+16
| | | | | | Expose the ShardingState properties and move the appendInfo logic to be entirely inside the 'getShardingState' function, which is its only consumer.
* SERVER-33286 Provide service context in Command::secondaryAllowed to allow ↵Henrik Edin2018-02-141-1/+1
| | | | getting interfaces without using global get function.
* SERVER-33136 const-ify the command auth accessorsBilly Donahue2018-02-061-1/+1
|
* SERVER-32958 unrevert "SERVER-32958 slaveOk,slaveOverrideOk replacement"Billy Donahue2018-01-311-2/+2
| | | | | | w/fix: update a new command to secondaryAllowed This reverts commit d75cb425fbc3cf4b569eb1722c3f8abec45654a2.
* Revert "SERVER-32958 slaveOk,slaveOverrideOk replacement"Judah Schvimer2018-01-311-2/+2
| | | | This reverts commit be24b0323d3f2d424d9e22337f4221d39001ac31.
* SERVER-32958 slaveOk,slaveOverrideOk replacementBilly Donahue2018-01-311-2/+2
| | | | declare read_preference dep. update service_entry_opint_embedded
* SERVER-32901 Pull the CollectionShardingState map out of ShardingStateKaloian Manassiev2018-01-291-4/+2
|
* SERVER-29731 get errmsg out of BasicCommand apiMathias Stearn2017-07-131-1/+0
| | | | It is now only used by commands deriving from ErrmsgCommandDeprecated.
* SERVER-29731 convert all direct subclasses of Command to BasicCommandMathias Stearn2017-07-131-2/+2
|
* SERVER-29260 Make BSONObj argument to Command::run() const&Mathias Stearn2017-05-171-1/+1
|
* SERVER-28701 Remove queryOptions argument from Command::run()Mathias Stearn2017-04-121-1/+0
|
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-2/+2
| | | | | | 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.
* SERVER-23814 Add sharding state initialization to secondariesRandolph Tan2016-04-261-1/+1
| | | | | | | | | | 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.
* SERVER-20224 commands that write support writeConcernJudah Schvimer2016-04-121-0/+4
|
* SERVER-23509 Consolidate mongod-specific sharding commands under db/sKaloian Manassiev2016-04-051-0/+79