diff options
author | Daniel Morilha <daniel.morilha@mongodb.com> | 2022-05-27 19:02:58 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-05-27 20:16:46 +0000 |
commit | a474d4efa5a999526e696423af5d30f4f5187613 (patch) | |
tree | 0cf942c5c123999881377e9596440a416075a39e /jstests/cqf/array_match.js | |
parent | 015bbbacf80e79c5661f5efef5cb255c02eacc1f (diff) | |
download | mongo-a474d4efa5a999526e696423af5d30f4f5187613.tar.gz |
SERVER-66260 Modify executor::RemoteCommandRequest to accept an Options argument
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.
Diffstat (limited to 'jstests/cqf/array_match.js')
0 files changed, 0 insertions, 0 deletions