summaryrefslogtreecommitdiff
path: root/src/mongo/s/client/shard.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-21/+23
|
* SERVER-36122 Add capability to send 'fire and forget' commands to ShardRemoteRandolph Tan2018-08-301-0/+10
|
* SERVER-33135 Remove metadata accessors from command reply APIsMathias Stearn2018-07-301-3/+0
| | | | | Now that OP_COMMAND is dead, all remaining implementations return the same BSONObj for data and metadata.
* SERVER-25333 Remove ScopedDBConnection from the MigrationDestinationManagerBlake Oler2018-06-281-0/+17
|
* SERVER-33016 API to get/set lastCommittedOpTime on ShardJack Mulrow2018-03-061-0/+18
|
* SERVER-32291 Implement collection creation on config serverRandolph Tan2018-02-061-0/+5
|
* SERVER-31873 Make mongos retry findAndModify with txnNumberKaloian Manassiev2017-11-111-1/+3
|
* SERVER-29034 change Shard::runBatchWriteCommandOnConfig to run write ↵Esha Maharishi2017-05-011-5/+7
| | | | commands against any shard
* SERVER-28893 make Shard::CommandResponse include the exact host that sent ↵Esha Maharishi2017-04-241-22/+17
| | | | the response
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-9/+9
| | | | | | 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-22/+23
| | | | | | 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-23/+22
| | | | 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-2/+3
| | | | use it for moveChunk
* SERVER-25832 Rename Shard::runCommand to Shard::runCommandWithFixedRetryAttemptsSpencer T Brody2016-08-291-0/+25
|
* Revert "SERVER-25832 Rename Shard::runCommand to ↵Dan Pasette2016-08-261-25/+0
| | | | | | Shard::runCommandWithFixedRetryAttempts" This reverts commit 7614c0eb2449eb4ec22d21b677177124d61f1888.
* SERVER-25832 Rename Shard::runCommand to Shard::runCommandWithFixedRetryAttemptsSpencer T Brody2016-08-261-0/+25
|
* SERVER-25050 Set maxTimeMS on OperationContext on mongosKaloian Manassiev2016-07-301-5/+25
| | | | | 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-5/+5
| | | | | | No functional changes, just cleanup the Strategy class and rename runBatchWriteCommand to runBatchWriteCommandOnConfig to better indicate its intent.
* SERVER-24732 add Shard::runBatchWriteCommand that checks BatchedCommandResponseJess Fan2016-07-121-4/+28
|
* SERVER-23096 Move initialization of config.version and the config db indexes ↵Spencer T Brody2016-06-281-0/+11
| | | | to the config server
* SERVER-24443 Add repl::ReadConcernLevel to Shard::exhaustiveFindOnConfigDianna Hohensee2016-06-221-6/+13
|
* SERVER-24379 Implement ShardingCatalogMangerImpl::addShardToZoneRandolph Tan2016-06-211-0/+9
|
* SERVER-23891 implement ShardId classMisha Tyulenev2016-06-151-2/+1
|
* SERVER-23973 Make config servers send their ConnectionString correctly when ↵Spencer T Brody2016-05-231-6/+4
| | | | sending SSV to shards
* SERVER-23211 Remove all callers of ShardRegistry::runCommandOnConfigWithRetriesSpencer T Brody2016-05-021-8/+8
|
* SERVER-23211 Remove all callers of ShardRegistry::runIdempotentCommandOnShardSpencer T Brody2016-05-021-1/+1
|
* SERVER-23835 Remove metadata argument from Shard::runCommandSpencer T Brody2016-05-021-3/+1
|
* SERVER-23647 Make Shard::runCommand retry on failuresSpencer T Brody2016-04-281-3/+32
|
* SERVER-23496 adding ShardLocal class, child class of ShardDianna Hohensee2016-04-271-23/+25
|
* SERVER-23495 Add abstract Shard class and shift the ShardRemote ↵Esha Maharishi2016-04-201-60/+44
| | | | implementation into its own class
* SERVER-23497 add RemoteShard class (temporarily called Shard)Esha Maharishi2016-04-191-5/+46
|
* SERVER-23498 Add ShardFactoryMisha Tyulenev2016-04-141-5/+23
|
* SERVER-20629 make Shard return member variables by value or by shared_ptrEsha Maharishi2015-09-301-5/+5
|
* SERVER-19875 Remove Shard::reloadShardInfo() static method in favor of ↵Spencer T Brody2015-08-251-2/+0
| | | | calling reload on the ShardRegistry directly
* SERVER-19969 Handle config server's connection string changeKaloian Manassiev2015-08-171-0/+5
|
* Revert "SERVER-19319 Send setShardVersion command after sharding a collection"Kaloian Manassiev2015-07-291-2/+0
| | | | This reverts commit b0067ef44c6461beed332c8bbfc40ceb55d05d40.
* SERVER-18592 CatalogMangerReplicaSet implementation of removeShard methodSpencer T Brody2015-07-071-2/+0
|
* SERVER-19111 Get rid of ShardStatusKaloian Manassiev2015-06-291-28/+0
| | | | | 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-6/+0
|
* Revert "SERVER-19004 Get rid of Shard::runCommand"Siyuan Zhou2015-06-261-0/+6
| | | | This reverts commit ce22d7ea21ad0f529b0dbb4e0b9264d1a68637ff.
* SERVER-19004 Get rid of Shard::runCommandKaloian Manassiev2015-06-261-6/+0
| | | | | | | | | 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-6/+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-84/+95
|
* SERVER-18464/SERVER-18437/SERVER-19004 Move targeter ownership to ShardKaloian Manassiev2015-06-171-6/+18
| | | | | | | | | 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-3/+0
|
* SERVER-18947 Cleanup unused code in chunk.hKaloian Manassiev2015-06-171-4/+5
| | | | | This is in preparation for moving out networking code out of the Chunk class.
* SERVER-17307 Replace boost::shared_ptr and friends with std::shared_ptrAndrew Morrow2015-06-101-2/+1
|
* SERVER-18464 Cleanup unused code and tests from ShardKaloian Manassiev2015-06-101-33/+2
| | | | | Now that shard is no longer copyable these tests and code are no longer relevant.
* SERVER-18438/SERVER-18435 Add RemoteCommandTargeter and runner to gridKaloian Manassiev2015-06-091-15/+16
| | | | | | | | | | | * Implement a RemoteCommandTargeterFactory to dispense targeters based on the connection string. * Implement replica set monitor-based remote command targeter factory. * Hook these with the global grid object. * Switch the Shard::runCommand call to build on those.