Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-42908 Add ErrorCodes to retryable errors to match drivers | Ben Caimano | 2019-10-15 | 1 | -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 Manassiev | 2019-03-21 | 1 | -6/+2 |
| | | | | a coordinator decision | ||||
* | SERVER-39560 - remove leading blank line on all C++ files | Billy Donahue | 2019-02-13 | 1 | -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 license | Ramon Fernandez | 2018-10-22 | 1 | -21/+23 |
| | |||||
* | SERVER-25333 Remove ScopedDBConnection from the MigrationDestinationManager | Blake Oler | 2018-06-28 | 1 | -0/+19 |
| | |||||
* | SERVER-32291 Implement collection creation on config server | Randolph Tan | 2018-02-06 | 1 | -6/+8 |
| | |||||
* | SERVER-32684 Make mongos write command objects hold Status directly | Mathias Stearn | 2018-01-17 | 1 | -3/+1 |
| | |||||
* | SERVER-30768 Mark hosts as down on NetworkInterfaceExceededTimeLimit instead ↵ | Jack Mulrow | 2017-12-11 | 1 | -1/+1 |
| | | | | of ExceededTimeLimit | ||||
* | SERVER-31873 Make mongos retry findAndModify with txnNumber | Kaloian Manassiev | 2017-11-11 | 1 | -4/+0 |
| | |||||
* | SERVER-29203 Remove batch size limit for config server writes | samantharitter | 2017-08-18 | 1 | -5/+0 |
| | |||||
* | SERVER-29034 change Shard::runBatchWriteCommandOnConfig to run write ↵ | Esha Maharishi | 2017-05-01 | 1 | -10/+13 |
| | | | | commands against any shard | ||||
* | SERVER-28893 make Shard::CommandResponse include the exact host that sent ↵ | Esha Maharishi | 2017-04-24 | 1 | -39/+30 |
| | | | | the response | ||||
* | SERVER-27938 Rename all OperationContext variables to opCtx | Maria van Keulen | 2017-03-07 | 1 | -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 Hohensee | 2017-03-01 | 1 | -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.3 | Dianna Hohensee | 2017-02-10 | 1 | -12/+7 |
| | | | | remove "-OnConfig" function name suffixes | ||||
* | SERVER-25999 add list of error codes to Shard that can be used to determine ↵ | Dianna Hohensee | 2016-10-28 | 1 | -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.12 | Spencer T Brody | 2016-08-29 | 1 | -1/+26 |
| | | | | use it for moveChunk | ||||
* | SERVER-25832 Rename Shard::runCommand to Shard::runCommandWithFixedRetryAttempts | Spencer T Brody | 2016-08-29 | 1 | -1/+21 |
| | |||||
* | Revert "SERVER-25832 Rename Shard::runCommand to ↵ | Dan Pasette | 2016-08-26 | 1 | -21/+1 |
| | | | | | | Shard::runCommandWithFixedRetryAttempts" This reverts commit 7614c0eb2449eb4ec22d21b677177124d61f1888. | ||||
* | SERVER-25832 Rename Shard::runCommand to Shard::runCommandWithFixedRetryAttempts | Spencer T Brody | 2016-08-26 | 1 | -1/+21 |
| | |||||
* | SERVER-25050 Set maxTimeMS on OperationContext on mongos | Kaloian Manassiev | 2016-07-30 | 1 | -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 class | Kaloian Manassiev | 2016-07-30 | 1 | -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 messages | Dan Pasette | 2016-07-20 | 1 | -3/+4 |
| | | | | Reviewed all relevant files in src/mongo/s.. | ||||
* | SERVER-24732 add Shard::runBatchWriteCommand that checks BatchedCommandResponse | Jess Fan | 2016-07-12 | 1 | -1/+34 |
| | |||||
* | SERVER-24796 DistLockCatalog must not retry 'findAndModify' calls | Kaloian Manassiev | 2016-06-30 | 1 | -1/+1 |
| | |||||
* | SERVER-24443 Add repl::ReadConcernLevel to Shard::exhaustiveFindOnConfig | Dianna Hohensee | 2016-06-22 | 1 | -1/+3 |
| | |||||
* | SERVER-24379 Use ShardingCatalogClient in ↵ | Randolph Tan | 2016-06-22 | 1 | -1/+1 |
| | | | | ShardingCatalogManagerImpl::addShardToZone | ||||
* | SERVER-24379 Implement ShardingCatalogMangerImpl::addShardToZone | Randolph Tan | 2016-06-21 | 1 | -0/+26 |
| | |||||
* | SERVER-23211 Remove all callers of ShardRegistry::runCommandOnConfigWithRetries | Spencer T Brody | 2016-05-02 | 1 | -2/+2 |
| | |||||
* | SERVER-23835 Remove metadata argument from Shard::runCommand | Spencer T Brody | 2016-05-02 | 1 | -2/+1 |
| | |||||
* | SERVER-23647 Make Shard::runCommand retry on failures | Spencer T Brody | 2016-04-28 | 1 | -3/+54 |
| | |||||
* | SERVER-23496 adding ShardLocal class, child class of Shard | Dianna Hohensee | 2016-04-27 | 1 | -21/+21 |
| | |||||
* | SERVER-23495 Add abstract Shard class and shift the ShardRemote ↵ | Esha Maharishi | 2016-04-20 | 1 | -243/+4 |
| | | | | implementation into its own class | ||||
* | SERVER-23497 add RemoteShard class (temporarily called Shard) | Esha Maharishi | 2016-04-19 | 1 | -4/+222 |
| | |||||
* | SERVER-23498 Add ShardFactory | Misha Tyulenev | 2016-04-14 | 1 | -3/+24 |
| | |||||
* | SERVER-20629 make Shard return member variables by value or by shared_ptr | Esha Maharishi | 2015-09-30 | 1 | -1/+1 |
| | |||||
* | SERVER-19875 Remove Shard::reloadShardInfo() static method in favor of ↵ | Spencer T Brody | 2015-08-25 | 1 | -4/+0 |
| | | | | calling reload on the ShardRegistry directly | ||||
* | SERVER-19969 Handle config server's connection string change | Kaloian Manassiev | 2015-08-17 | 1 | -0/+4 |
| | |||||
* | Revert "SERVER-19319 Send setShardVersion command after sharding a collection" | Kaloian Manassiev | 2015-07-29 | 1 | -4/+0 |
| | | | | This reverts commit b0067ef44c6461beed332c8bbfc40ceb55d05d40. | ||||
* | SERVER-18592 CatalogMangerReplicaSet implementation of removeShard method | Spencer T Brody | 2015-07-07 | 1 | -4/+0 |
| | |||||
* | SERVER-19111 Get rid of ShardStatus | Kaloian Manassiev | 2015-06-29 | 1 | -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::runCommand | Kaloian Manassiev | 2015-06-27 | 1 | -52/+8 |
| | |||||
* | Revert "SERVER-19004 Get rid of Shard::runCommand" | Siyuan Zhou | 2015-06-26 | 1 | -8/+52 |
| | | | | This reverts commit ce22d7ea21ad0f529b0dbb4e0b9264d1a68637ff. | ||||
* | SERVER-19004 Get rid of Shard::runCommand | Kaloian Manassiev | 2015-06-26 | 1 | -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 Shard | Kaloian Manassiev | 2015-06-25 | 1 | -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 reflow | Mark Benvenuto | 2015-06-20 | 1 | -113/+105 |
| | |||||
* | SERVER-18815 Rename shard registry's findIfExists(...) to getShard(...) and ↵ | Daniel Alabi | 2015-06-18 | 1 | -2/+2 |
| | | | | avoid references to shared pointers to Shard object | ||||
* | SERVER-18464/SERVER-18437/SERVER-19004 Move targeter ownership to Shard | Kaloian Manassiev | 2015-06-17 | 1 | -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::getCommandRunner | Kaloian Manassiev | 2015-06-17 | 1 | -5/+1 |
| | |||||
* | SERVER-18947 Cleanup unused code in chunk.h | Kaloian Manassiev | 2015-06-17 | 1 | -42/+5 |
| | | | | | This is in preparation for moving out networking code out of the Chunk class. |