summaryrefslogtreecommitdiff
path: root/src/mongo/client/fetcher_test.cpp
AgeCommit message (Collapse)Author
2023-10-04SERVER-81419 Refactor API calls to NamespaceStringUtil::serializeMathis Bessa
2023-08-17SERVER-73658 RemoteCommandRequest to use DatabaseNameMathis Bessa
2023-07-06SERVER-78396 Avoid calling deprecated NamespaceString::db() in unit test codeDidier Nadeau
2023-06-22SERVER-77044 IWYU Automated changes for up to end ratio 0.4Daniel Moody
2023-06-15SERVER-77042 automated IWYU changes up to ratio of 0.3Daniel Moody
2023-06-14SERVER-74490 Change NamespaceString::ns() to be private - more testsmathisbessamdb
2023-02-11SERVER-72197 Run clang-format 12.0.1 on the codebaseclang-format 12.0.1
Signed-off-by: Ryan Egesdahl <ryan.egesdahl@mongodb.com>
2021-12-10SERVER-61950 Make Fetcher::join() interruptible.Max Hirschhorn
2021-08-05SERVER-54206 SERVER-54208 Create a non-blocking API for the Fetcher class ↵Jason Zhang
(or create an alternate class)
2020-10-04SERVER-51240 fix readability-avoid-const-params-in-decls in testsBenety Goh
2020-08-14SERVER-49694: fix latency measurement in RSM; change latency measurement for ↵LaMont Nelson
command responses to Microseconds
2020-08-13Revert "SERVER-49694: fix latency measurement in RSM; change latency ↵LaMont Nelson
measurement for command responses to Microseconds" This reverts commit b2c1fa4f121fdb6cdffa924b802271d68c3367a3.
2020-08-05SERVER-49694: fix latency measurement in RSM; change latency measurement for ↵LaMont Nelson
command responses to Microseconds
2020-05-14SERVER-47921 Clean up LOG lines in clientSara Golemon
2020-01-21SERVER-45583 Unittests are using logv2.Henrik Edin
Capture log system uses logv2, tests can handle converted log statements.
2019-10-03SERVER-43733: Remove bugprone-unused-raii in fetcher_test.cpp.Daniel Gottlieb
2019-09-09SERVER-42908 Add ErrorCodes to retryable errors to match driversBen Caimano
2019-07-27SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.1
2019-06-10SERVER-39339 Remove `stdx/memory.h`ADAM David Alan Martin
2019-03-28SERVER-40357 expand all calls to MONGO_DISALLOW_COPYINGBilly Donahue
produced by: hits="$(git grep -n MONGO_DISALLOW_COPYING | cut -d: -f1 )" for f in "$hits"; do sed -i.orig ' s/^\( *\)MONGO_DISALLOW_COPYING(\(.*\));/\1\2(const \2\&) = delete;\n\1\2\& operator=(const \2\&) = delete;/; ' $f done
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-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.
2017-12-08SERVER-29476 Fix ODR violation in fetcherSara Golemon
2017-12-04SERVER-32070 migrate some easy stdx::bind to lambdasBilly Donahue
Work around GCC bug#67274 with explicit this-> syntax. This reverts commit 54db6356c47d7a639eae062818c3026561a64594. This reverts commit 19ced195b842d9521220f76b8dd7da8c929ad8ee.
2017-12-01Revert "SERVER-32070 migrate some easy stdx::bind to lambdas"Kaloian Manassiev
This reverts commit 7dc61c0f0c0160ad6cba831a0e12bef501ef3ad5.
2017-12-01SERVER-32070 migrate some easy stdx::bind to lambdasBilly Donahue
[branch stdx_bind_1]
2017-09-13SERVER-19605 make oplog timeout configurableJudah Schvimer
2017-08-16SERVER-30580 Eliminate UserException and MsgAssertionException typesMathias Stearn
All users were converted to just use AssertionException.
2017-06-18SERVER-27244 Status usage compile-time facilities.ADAM David Alan Martin
There are numerous places in the codebase where `mongo::Status` or `mongo::StatusWith< T >` objects are returned and never checked. Many of these are innocuous, but many of them are potentially severe bugs. This change introduces facilities to permit compile-time warning of unchecked `Status` and `StatusWith` usage on clang compilers. It introduces an `ignore` function which is useful to state that a specific "ignored status" case was intentional. It not presently an error, in clang builds, to forget to check a `Status` -- this will come in a later commit. This also introduces a `transitional_ignore` function, which allows for easy continual auditing of the codebase for current "whitelisted" unchecked-status instances. All present "ignored status" cases have been marked `transitional_ignore`.
2017-06-09SERVER-29493 Make ThreadPoolTaskExecutor's destructor execute shutdown and join.Andy Schwerin
2016-12-06SERVER-27052 fixed FetcherTest::ScheduleButShutdown test case - test should ↵Benety Goh
not assume when the task executor's shutdown() function will deliver the cancellation event to the fetcher's callback
2016-11-30SERVER-27052 make Fetcher single-use only - cannot be restarted after ↵Benety Goh
failing at startup or completed processing remote command responses. Fetcher clears Fetcher::_work on completion to release any resources that might be held by function object
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-08-03SERVER-24067 TaskExecutor RemoteCommandCallbackArgs should include elapsedMS ↵Waley Chen
and metadata
2016-07-27SERVER-25253 test that fetcher is in shutdown after cancel is calledJudah Schvimer
2016-07-26SERVER-25281 renamed Fetcher lifecycle functionsBenety Goh
2016-07-01SERVER-24304 added helper function to validate remote command name in testsBenety Goh
2016-06-30SERVER-24304 added convenience functions for scheduleResponse to ↵Benety Goh
NetworkInterfaceMock
2016-05-28SERVER-23971 Clang-Format codeMark Benvenuto
2016-05-16SERVER-23134 added retry support for scheduling remote commands on a task ↵Benety Goh
executor
2016-04-18SERVER-23520 Add a C++14 canary builderAndrew Morrow
2016-04-08SERVER-22774 Copied BackgroundSync::_fetcherCallback logic to OplogFetcherBenety Goh
2016-02-22SERVER-18154 migrated fetcher_test from repl::ReplicationExecutor to ↵Benety Goh
executor::TaskExecutor
2015-12-16SERVER-21050 Make CSRS use write concern timeout of 15 secondsKaloian Manassiev
This change makes all CSRS majority writes to use a write concern timeout of 15 seconds instead of 5 seconds (for the dist lock manager) and infinity for the regular writes. It also contains a small change to improve error reporting.
2015-10-22SERVER-20977 fetcher killCursors cleanupBenety Goh
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.
2015-07-10SERVER-19307 added elapsedMillis to fetcher QueryResponseBenety Goh
2015-07-09SERVER-19307 added 'first' to fetcher QueryResponse to indicate if the ↵Benety Goh
current response is for the initial command request
2015-06-30SERVER-19001 Create common test infrastructure for testing TaskExecutor ↵Andy Schwerin
implementations. This includes: * a common suite of tests that pass on all TaskExecutors * a common base class for task executor test fixtures