summaryrefslogtreecommitdiff
path: root/src/mongo/s/client/shard.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-42908 Add ErrorCodes to retryable errors to match driversBen Caimano2019-10-151-4/+2
| | | | | | Changes to src/mongo/base/error_codes.yml in v4.3 are replicated on src/mongo/base/error_codes.err for v4.2. (cherry picked from commit 0f16c5fc452d16c5a92e43e9fdd96f3822f05271)
* SERVER-40223 Use the AsyncWorkScheduler to run local command when recovering ↵Kaloian Manassiev2019-03-211-6/+2
| | | | a coordinator decision
* 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-21/+23
|
* SERVER-25333 Remove ScopedDBConnection from the MigrationDestinationManagerBlake Oler2018-06-281-0/+19
|
* SERVER-32291 Implement collection creation on config serverRandolph Tan2018-02-061-6/+8
|
* SERVER-32684 Make mongos write command objects hold Status directlyMathias Stearn2018-01-171-3/+1
|
* SERVER-30768 Mark hosts as down on NetworkInterfaceExceededTimeLimit instead ↵Jack Mulrow2017-12-111-1/+1
| | | | of ExceededTimeLimit
* SERVER-31873 Make mongos retry findAndModify with txnNumberKaloian Manassiev2017-11-111-4/+0
|
* SERVER-29203 Remove batch size limit for config server writessamantharitter2017-08-181-5/+0
|
* SERVER-29034 change Shard::runBatchWriteCommandOnConfig to run write ↵Esha Maharishi2017-05-011-10/+13
| | | | commands against any shard
* SERVER-28893 make Shard::CommandResponse include the exact host that sent ↵Esha Maharishi2017-04-241-39/+30
| | | | the response
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-14/+14
| | | | | | 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.
* Revert "SERVER-27860 remove invariants to prevent ShardLocal running on ↵Dianna Hohensee2017-03-011-7/+12
| | | | | | shards and remove "-OnConfig" function name suffixes" This reverts commit 489cd07d2a3711286debae56f28416d7ba290648.
* SERVER-27860 remove invariants to prevent ShardLocal running on shards and ↵r3.5.3Dianna Hohensee2017-02-101-12/+7
| | | | remove "-OnConfig" function name suffixes
* SERVER-25999 add list of error codes to Shard that can be used to determine ↵Dianna Hohensee2016-10-281-0/+8
| | | | whether remote command errors should be propogated further back to other servers
* SERVER-25832 Add version of Shard::runCommand that retries indefinitely, and ↵r3.3.12Spencer T Brody2016-08-291-1/+26
| | | | use it for moveChunk
* SERVER-25832 Rename Shard::runCommand to Shard::runCommandWithFixedRetryAttemptsSpencer T Brody2016-08-291-1/+21
|
* Revert "SERVER-25832 Rename Shard::runCommand to ↵Dan Pasette2016-08-261-21/+1
| | | | | | Shard::runCommandWithFixedRetryAttempts" This reverts commit 7614c0eb2449eb4ec22d21b677177124d61f1888.
* SERVER-25832 Rename Shard::runCommand to Shard::runCommandWithFixedRetryAttemptsSpencer T Brody2016-08-261-1/+21
|
* SERVER-25050 Set maxTimeMS on OperationContext on mongosKaloian Manassiev2016-07-301-4/+21
| | | | | This change makes mongos commands to retrieve the maxTimeMS from the command and set it on the OperationContext.
* SERVER-25050 Cleanup Strategy and Shard classKaloian Manassiev2016-07-301-3/+4
| | | | | | No functional changes, just cleanup the Strategy class and rename runBatchWriteCommand to runBatchWriteCommandOnConfig to better indicate its intent.
* SERVER-24991 Redact streaming log messagesDan Pasette2016-07-201-3/+4
| | | | Reviewed all relevant files in src/mongo/s..
* SERVER-24732 add Shard::runBatchWriteCommand that checks BatchedCommandResponseJess Fan2016-07-121-1/+34
|
* SERVER-24796 DistLockCatalog must not retry 'findAndModify' callsKaloian Manassiev2016-06-301-1/+1
|
* SERVER-24443 Add repl::ReadConcernLevel to Shard::exhaustiveFindOnConfigDianna Hohensee2016-06-221-1/+3
|
* SERVER-24379 Use ShardingCatalogClient in ↵Randolph Tan2016-06-221-1/+1
| | | | ShardingCatalogManagerImpl::addShardToZone
* SERVER-24379 Implement ShardingCatalogMangerImpl::addShardToZoneRandolph Tan2016-06-211-0/+26
|
* SERVER-23211 Remove all callers of ShardRegistry::runCommandOnConfigWithRetriesSpencer T Brody2016-05-021-2/+2
|
* SERVER-23835 Remove metadata argument from Shard::runCommandSpencer T Brody2016-05-021-2/+1
|
* SERVER-23647 Make Shard::runCommand retry on failuresSpencer T Brody2016-04-281-3/+54
|
* SERVER-23496 adding ShardLocal class, child class of ShardDianna Hohensee2016-04-271-21/+21
|
* SERVER-23495 Add abstract Shard class and shift the ShardRemote ↵Esha Maharishi2016-04-201-243/+4
| | | | implementation into its own class
* SERVER-23497 add RemoteShard class (temporarily called Shard)Esha Maharishi2016-04-191-4/+222
|
* SERVER-23498 Add ShardFactoryMisha Tyulenev2016-04-141-3/+24
|
* SERVER-20629 make Shard return member variables by value or by shared_ptrEsha Maharishi2015-09-301-1/+1
|
* SERVER-19875 Remove Shard::reloadShardInfo() static method in favor of ↵Spencer T Brody2015-08-251-4/+0
| | | | calling reload on the ShardRegistry directly
* SERVER-19969 Handle config server's connection string changeKaloian Manassiev2015-08-171-0/+4
|
* Revert "SERVER-19319 Send setShardVersion command after sharding a collection"Kaloian Manassiev2015-07-291-4/+0
| | | | This reverts commit b0067ef44c6461beed332c8bbfc40ceb55d05d40.
* SERVER-18592 CatalogMangerReplicaSet implementation of removeShard methodSpencer T Brody2015-07-071-4/+0
|
* SERVER-19111 Get rid of ShardStatusKaloian Manassiev2015-06-291-32/+1
| | | | | This change moves the "shard status" retrieval to common static functions and gets rid of the ShardStatus function.
* SERVER-19004 Get rid of Shard::runCommandKaloian Manassiev2015-06-271-52/+8
|
* Revert "SERVER-19004 Get rid of Shard::runCommand"Siyuan Zhou2015-06-261-8/+52
| | | | This reverts commit ce22d7ea21ad0f529b0dbb4e0b9264d1a68637ff.
* SERVER-19004 Get rid of Shard::runCommandKaloian Manassiev2015-06-261-52/+8
| | | | | | | | | This change removes the ability to call runCommand directly through the Shard class and instead will require all callers to go through the targeter and the shard registry. It also special cases running commands on the config shard to go through the catalog manager.
* SERVER-19111 Move shard selection functionality out of ShardKaloian Manassiev2015-06-251-40/+0
| | | | | | Moves the Shard::pick functionality to the top level CatalogManager class so it can be used by both the legacy and the replica set catalog manager implementations.
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-113/+105
|
* SERVER-18815 Rename shard registry's findIfExists(...) to getShard(...) and ↵Daniel Alabi2015-06-181-2/+2
| | | | avoid references to shared pointers to Shard object
* SERVER-18464/SERVER-18437/SERVER-19004 Move targeter ownership to ShardKaloian Manassiev2015-06-171-10/+5
| | | | | | | | | Currently there is a discrepancy between the ownership of the targeter object and the lifetime of Shard. It is possible that if a shard has been created and a targeter disappears then operations on that shard will not find the targeter. This change moves the ownership of targeter to the Shard object itself.
* SERVER-18947 Remove Shard::getCommandRunnerKaloian Manassiev2015-06-171-5/+1
|
* SERVER-18947 Cleanup unused code in chunk.hKaloian Manassiev2015-06-171-42/+5
| | | | | This is in preparation for moving out networking code out of the Chunk class.