summaryrefslogtreecommitdiff
path: root/src/mongo/executor/network_test_env.cpp
AgeCommit message (Collapse)Author
2023-07-01SERVER-77049 SERVER-77050 IWYU automated changes up to 1.0Daniel Moody
2023-06-06SERVER-77689 Remove NamespaceString ctors with default parameter for ↵mathisbessamdb
tenantId - test
2022-10-21SERVER-69721 Serialize and deserialize namespace in cursor reply objects ↵jannaerin
correctly in multitenant environment
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.
2022-03-02SERVER-62535 Allow sharded aggregation to return two cursorsTed Tuckman
2020-06-03SERVER-48534 Make NetworkTestEnv correctly handle fire-and-forget commandsKevin Pulo
2019-02-22SERVER-38522 Add an `onCommands` syntactic sugar to ShardingTestFixtureCommonKaloian Manassiev
In order to allow multiple commands to be waited on and their responses scheduled atomically.
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-02-12SERVER-38521 Use `advanceTime` in network operation cancellation tests to ↵Kaloian Manassiev
ensure the cancel callbacks run
2018-10-22SERVER-37651 Update header files with new licenseRamon Fernandez
2018-07-30SERVER-33135 Remove metadata accessors from command reply APIsMathias Stearn
Now that OP_COMMAND is dead, all remaining implementations return the same BSONObj for data and metadata.
2018-05-08SERVER-34628 Prep for removing appendCommandStatusMathias Stearn
* Added appendCommandStatusNoThrow matching the current aCS behavior * Make appendCommandStatus call uassertStatusOK then aCS on success * Make the few places that need to not throw call aCSNT A following commit will completely remove appendCommandStatus. It is split out because that commit is fairly huge.
2018-01-16SERVER-32646 CommandHelpersBilly Donahue
2017-06-19SERVER-29564 BSONObjBuilder can now be seeded with a BSONObj prefixMathias Stearn
This will avoid copying whenever it is safe.
2016-08-03SERVER-24067 TaskExecutor RemoteCommandCallbackArgs should include elapsedMS ↵Waley Chen
and metadata
2015-09-28SERVER-20318 Allow NetworkTestEnv::OnCommand to set non ok status to responseRandolph Tan
2015-08-28SERVER-19569 Combine getmore_response.h with cursor_responses.hJason Rassi
2015-08-11SERVER-19390 Make config server queries do read committedRandolph Tan
2015-08-06SERVER-19390 Make config server read commands do read committedRandolph Tan
2015-07-21SERVER-19492 Use ThreadPoolTaskExecutor instead of ReplicationExecutor in ↵Andy Schwerin
unit tests. The fetcher test is excluded at present, because it appears to depend on some implementation behavior of ReplicationExecutor that remains to be diagnosed.
2015-06-26SERVER-19001 Make the replication executor own its thread poolKaloian Manassiev
This change makes the replication executor manage its own thread. It also adds uses of the replication executor to the shard registry as a temporary workaround until ticket SERVER-19001 has been resolved.
2015-06-26SERVER-19010 remove the metadata-free constructor of RemoteCommandResponsematt dannenberg
2015-06-25SERVER-19115 Move async helper code to NetworkTestEnv and use in dist lock ↵Spencer T Brody
unit tests
2015-06-24SERVER-18589 Replace RemoteCommandRunner with ShardRegistry in distlock catalogRandolph Tan