diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2018-03-13 17:56:01 -0400 |
---|---|---|
committer | Charlie Swanson <charlie.swanson@mongodb.com> | 2018-03-13 18:00:44 -0400 |
commit | bed7bb44a9cd84da56631b3a83437fc18ed46e3d (patch) | |
tree | 49054445d51f94bc6532cdaf38b4491b64e616d7 /src/mongo/s/query/cluster_cursor_manager.h | |
parent | d988a58bcb09d45a841570e26e7d50a4e9c23de8 (diff) | |
download | mongo-bed7bb44a9cd84da56631b3a83437fc18ed46e3d.tar.gz |
Revert "SERVER-19410 Enforce maxTimeMS on mongos."
This reverts commit 4df8c9134d3202379bf4d07d7ee10ab3fcfbfe69.
Diffstat (limited to 'src/mongo/s/query/cluster_cursor_manager.h')
-rw-r--r-- | src/mongo/s/query/cluster_cursor_manager.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/mongo/s/query/cluster_cursor_manager.h b/src/mongo/s/query/cluster_cursor_manager.h index ae7afdc7095..bb7bc857130 100644 --- a/src/mongo/s/query/cluster_cursor_manager.h +++ b/src/mongo/s/query/cluster_cursor_manager.h @@ -225,16 +225,6 @@ public: */ Status setAwaitDataTimeout(Milliseconds awaitDataTimeout); - Microseconds getLeftoverMaxTimeMicros() const { - invariant(_cursor); - return _cursor->getLeftoverMaxTimeMicros(); - } - - void setLeftoverMaxTimeMicros(Microseconds leftoverMaxTimeMicros) { - invariant(_cursor); - _cursor->setLeftoverMaxTimeMicros(leftoverMaxTimeMicros); - } - private: // ClusterCursorManager is a friend so that its methods can call the PinnedCursor // constructor declared below, which is private to prevent clients from calling it directly. @@ -290,9 +280,6 @@ public: * 'cursorLifetime' should reflect whether or not this cursor should be immune from the idle * cursor destruction procedure. * - * If the OperationContext has a deadline set (from a maxTimeMS), stashes the remaining time - * limit on 'cursor' for use in subsequent getMores. - * * On an error return, kills 'cursor'. * * Does not block. |