summaryrefslogtreecommitdiff
path: root/src/mongo/client/remote_command_targeter_rs.cpp
AgeCommit message (Collapse)Author
2024-02-04SERVER-85907 Make replica set endpoint skip readPreference retargetingCheahuychou Mao
GitOrigin-RevId: aa3db914cbb9729e91afc05d2ffb509c22952760
2024-02-04Revert "SERVER-85907 Make replica set endpoint skip readPreference ↵Tommaso Tocci
retargeting (#18514)" This reverts commit 23c6dd59eb16c077742d5ab1e8fde55eb89566f2. GitOrigin-RevId: 540aa2232a748678ae57e8fef1b46d7b3c3fd53f
2024-02-02SERVER-85907 Make replica set endpoint skip readPreference retargeting (#18514)Cheahuychou Mao
GitOrigin-RevId: 23c6dd59eb16c077742d5ab1e8fde55eb89566f2
2023-10-04SERVER-81602 remove fmtMessage from LOGV2 statementsBilly Donahue
SERVER-80602 codebase-wide changes remove selection test apply clang-format remove mistake files remove format message remove blank line artifacts apply clang-format remove blanks SERVER-81602 logging.md update manual fixup windows fix windows fix mac fix mac fix add note to logging.md about legacy fmt strings
2023-09-23SERVER-81059 bulk-revert of include of boost iif.hppBilly Donahue
2023-06-15SERVER-77042 automated IWYU changes up to ratio of 0.3Daniel Moody
2022-05-06SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includesBilly Donahue
2022-03-03SERVER-63900: Parameterize RS find host timeout for unittests.Daniel Gottlieb
2021-04-07SERVER-54157 Remove maxWait from comments for findHost and getHostOrRefreshr5.0.0-alphaCheahuychou Mao
2021-03-23SERVER-53230: Rename cancelation -> cancellation everywhereTyler Seip
2020-12-22SERVER-51296 Add cancelation support to RemoteCommandTargeterMatthew Saltz
2020-11-24SERVER-50657 Add CancelationToken support to the ReplicaSetMonitorMatthew Saltz
2020-11-09SERVER-50510 Change markHostNotMaster to markHostNotPrimaryGabriel Russell
2020-07-09SERVER-48506 Throw MaxTimeMSExpired instead of FailedToSatisfyReadPreference ↵jannaerin
when RSM deadline is less than max
2020-05-20SERVER-47799 AsyncRequestsSender should update replica set monitor in ↵jannaerin
between retries for shutdown errors
2020-05-12SERVER-47074 Clean up log lines in mongo/client/sdam and RSM-related filesHaley Connelly
2020-04-26SERVER-47735 change mongo source over to logv2Billy Donahue
- Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2::
2020-02-21SERVER-45567 removing util/log.h where I canGabriel Russell
o converting some log lines that were missed o fixing some missing includes create mode 100644 src/mongo/transport/ismaster_metrics.cpp
2020-02-13SERVER-45869 automatically converted structured loggingGabriel Russell
2019-05-28SERVER-41134 Add RSM::findHostsWithMaxWaitJason Carey
Add support for a new method on the ReplicaSetMonitor, which finds all acceptable hosts for a read preference (rather than just a single host). This should use existing selection logic to return the host that would be returned by findHostWithMaxWait in the [0]th element
2019-04-11SERVER-36359 Introduce SemiFuture<T> and ExecutorFuture<T>Mathias Stearn
2019-04-09SERVER-40476 remove mongoutils::strBilly Donahue
Rename utils/mongoutils/str.h => utils/str.h Rename namespace mongoutils::str => str Rename mongo::strcasecmp => str::caseInsensitiveCompare.
2019-02-13SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue
Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
2018-12-27SERVER-38295 ReplSetMonitor::getHostOrRefresh should not do anything if ↵Mathias Stearn
maxWait <= 0
2018-12-20SERVER-35688 Make RSM return SharedSemiFuturesMathias Stearn
This prevents consumers from chaining work that would run inside of the RSM thread and possibly cause a deadlock.
2018-10-22SERVER-37651 Update header files with new licenseRamon Fernandez
2018-09-20SERVER-35689 Futurize RSM API with temporary detached-thread implementationMathias Stearn
2017-03-07SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen
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.
2016-10-24SERVER-26683 Log reason for marking repl hosts as failed in the RSMKaloian Manassiev
2016-10-24Revert "SERVER-26683 Log reason for marking repl hosts as failed in the RSM"Kaloian Manassiev
This reverts commit 80d6ca07522fce27f9559007791ebe4a1afe0866.
2016-10-24SERVER-26683 Log reason for marking repl hosts as failed in the RSMKaloian Manassiev
2016-09-16SERVER-25009 check null ReplicaSetMonitor::get(), connection stringNathan Myers
2016-09-07SERVER-24600 Increase interruptibility of RemoteCommandTargeter::findHost.Andy Schwerin
By making more calls of RemoteCommandTargeter::findHost interruptible, this change speeds up the shutdown of mongos when no config servers are discoverable.
2016-08-01SERVER-23192 periodically reload ShardRegistry from the catalogMisha Tyulenev
2015-11-11SERVER-21272 Make RemoteCommandTargeter use timeout for findHostKaloian Manassiev
This change removes all back-off logic from ShardRegistry and CatalogManagerReplicaSet and defers it all to the wait time capability of the ReplicaSetMonitor (through RemoteCommandTargeter).
2015-11-11SERVER-21272 Make replica set monitor retry finding hostsKaloian Manassiev
This change makes the replica set monitor retry more than once to find hosts suitable for a given read preference and fail quickly if none of the hosts for a given replica set can be reached.
2015-09-21SERVER-20456 inform ReplicaSetMonitor of unreachable host and re-target in ↵David Storch
new mongos read path
2015-07-28SERVER-19403 Notify targeter of NotMaster errorsSpencer T Brody
2015-07-03Revert "Revert "SERVER-19111 Move common addShard functionality to ↵Kaloian Manassiev
CatalogManager"" This reverts commit c87142d4649e81c2de694b36a78115bfde5bf548.
2015-07-01Revert "SERVER-19111 Move common addShard functionality to CatalogManager"Kaloian Manassiev
This reverts commit 427b07f64530291af6ae410902939c58db9c0fa5.
2015-06-30SERVER-19111 Move common addShard functionality to CatalogManagerKaloian Manassiev
This change is prerequisite for implementing the addShard method in the replica set catalog manager. It moves common addShard functionality as static methods on the CatalogManager and adds the ability to create detached shard objects to be used for making calls against shards and ability to retrieve the shard's dynamic connection string.
2015-06-20SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto
2015-06-18SERVER-19016 Implement runUserManagement{Read,Write}Command in ↵Spencer T Brody
CatalogManagerReplicaSet
2015-06-09SERVER-18438/SERVER-18435 Add RemoteCommandTargeter and runner to gridKaloian Manassiev
* 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.
2015-05-12SERVER-18418 Remote command targeterKaloian Manassiev
This change introduces a remote command targeter interface to be used as a stub to start implementing the targeting logic.