summaryrefslogtreecommitdiff
path: root/src/mongo/executor/remote_command_request.cpp
AgeCommit message (Collapse)Author
2024-03-05SERVER-81825 Only support building OpMsgRequest with ValidatedTenancyScopeSophia Tan
GitOrigin-RevId: 89867354e89599a2f6e90983b8db157a458bd8b4
2024-03-01SERVER-85993 Make db client create OpMsgRequest with validated tenancy scope ↵Sophia Tan
(#19103) GitOrigin-RevId: 987e09f32c9acd86df9d01cc987c45862b991b5b
2024-02-16SERVER-85992 Refactor fromDBAndBody to build requests with ValidatedTenancyScopeJoseph Prince
GitOrigin-RevId: f4e1d34df6a0518d5d05ee2171d2ef15d97e5685
2024-01-08SERVER-82340 Populate vts in RemoteCommandRequest constructor (#17862)Joseph Prince
GitOrigin-RevId: 44515d2eda86cebd4ab82ed3c19566978f7fe899
2023-09-23SERVER-81059 bulk-revert of include of boost iif.hppBilly Donahue
2023-08-17SERVER-73658 RemoteCommandRequest to use DatabaseNameMathis Bessa
2023-07-01SERVER-77049 SERVER-77050 IWYU automated changes up to 1.0Daniel Moody
2023-06-01SERVER-74466 Attach OperationKey in async_rpc for non hedged requestsAlex Li
2023-05-16SERVER-73779 Add maxTimeMSOpOnly to network message if it is a hedge sent ↵Alex Li
through async_rpc API
2022-11-14SERVER-71086 Refactor hedged-read-determination code to be shared between ↵George Wangensteen
async_rpc and other consumers
2022-07-27SERVER-68246 rewrite calls to boost::optional get and is_initializedBilly Donahue
2022-05-27SERVER-66260 Modify executor::RemoteCommandRequest to accept an Options argumentDaniel Morilha
Transitioning from `RemoteCommandRequestBase::HedgeOptions` into a generic Options `struct`ure in order to accommodate new options into requests for remote commands. ``` struct RemoteCommandRequestBase { struct Options { size_t hedgeCount = 0; int maxTimeMSForHedgedReads = 0; bool isHedgeEnabled = false; bool fireAndForget = false; }; ``` The `boost::optional` which wrapped the previous structure was deprecated in favor of a new `isHedgeEnabled` boolean field which should be logically equivalent. `fireAndForget` was also moved from the outer class inside. Code and tests were appropriately adjusted.
2021-05-04SERVER-55614 Make API params optional for cmds in txnsA. Jesse Jiryu Davis
2021-02-17SERVER-53060 Remove QueryRequest classRuoxin Xu
2020-11-11SERVER-52748 Fix txn-continuing cmds with API params via mongosA. Jesse Jiryu Davis
2020-09-10SERVER-50375 Ensure mongos forwards API params to shardsA. Jesse Jiryu Davis
2020-08-30SERVER-46187 When sending commands within the cluster attach maxTimeMSOpOnly ↵Spencer T Brody
with remaining time from the opCtx
2020-04-24SERVER-46187 Remove RemoteCommandRequest::expirationDate in favor of ↵Spencer T Brody
dateScheduled and timeout
2020-03-23SERVER-45579 Remove FCV 4.4 check guarding addition of 'comment' to remote ↵David Storch
command requests
2020-02-24SERVER-45813 Modify AsyncDBClient/NetworkInterfaceTL to allow Fire and ForgetCheahuychou Mao
2020-02-19SERVER-45464 Kill canceled operations remotelyCheahuychou Mao
2020-02-19SERVER-46234 Remove the code for computing hedging delay and add ↵Cheahuychou Mao
maxTimeMSForHedgedReads serverParameter
2020-01-29SERVER-45449 Write a function to compute the desired latency for a staggered ↵Cheahuychou Mao
hedged read create mode 100644 jstests/sharding/hedged_reads_server_parameters.js rename src/mongo/s/{warmup_server_parameters.cpp => hedge_options_util.cpp} (52%) rename src/mongo/s/{warmup_server_parameters.h => hedge_options_util.h} (74%) create mode 100644 src/mongo/s/hedge_options_util_test.cpp create mode 100644 src/mongo/s/mongos_server_parameters.idl
2020-01-27SERVER-45002 Only propagate 'comment' field between nodes when upgrade to ↵David Storch
4.4 is complete. create mode 100644 jstests/multiVersion/agg_with_comment_during_upgrade.js
2019-09-24SERVER-29794 Adding a comment to all commandsArun Banala
2019-08-01SERVER-41493 Set request deadline based on maxtime ms in network interfaceShaileja Jain
2019-07-27SERVER-40160 Remove `if_constexpr.h` header.ADAM David Alan Martin
This header circumvented bad formatting which `clang-format-3.8` imparted to `if constexpr`. Now `clang-format-7.0.1` imparts a reasonable format to `if constexpr` so this header is not needed anymore.
2019-06-06SERVER-41133 Add TE::scheduleRemoteCommandOnAnyJason Carey
Add support for a mode for the task executor where rather than targetting a single host, we target any of a set of hosts. This should behave identically to scheduleRemoteCommand, except that we concurrently get() connections from the connection pool for each host, preferring the first which is available
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.
2019-01-07SERVER-36644 remove AtomicWord typedefsBilly Donahue
2018-10-22SERVER-37651 Update header files with new licenseRamon Fernandez
2017-05-01SERVER-29012 Enable ASAN strict init order checking and fix revealed issuesAndrew Morrow
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.
2017-02-28SERVER-28134 Move operator<<(ostream, RemoteCommandRequest/Response) into ↵Mathias Stearn
executor namespace This avoids clang errors if unittest.h is included before these headers.
2016-08-18SERVER-24508 BSONObj::ComparatorInterfaceDavid Storch
BSONObj instances should now be compared via the comparator interface's evaluate() method. This preferred over using BSONObj::woCompare() directly. If the comparison doesn't require any database semantics (e.g. there is no collation), there is a global instance of the SimpleBSONObjComparator which should be used for BSONObj comparisons. If the comparison requires special semantics, then callers must instantiate their own comparator object.
2016-07-26SERVER-24615 Add support for OperationContext in EgressMetadataHookMark Benvenuto
2016-05-16SERVER-23134 added retry support for scheduling remote commands on a task ↵Benety Goh
executor
2015-12-11SERVER-21854 Add request id to RemoteCommandRequestKaloian Manassiev
Having identifier associated with each request allows us to trace requests throughout the ASIO network threads. This change doesn't fix the bug, but makes investigation easier.
2015-07-17SERVER-19001 Move RemoteCommandRequest/RemoteCommandResponse into ↵Andy Schwerin
task_executor_interface library. Also, move those types into the executor namespace and remove the RemoteCommandRunner interface type.