summaryrefslogtreecommitdiff
path: root/src/mongo/client/parallel.h
diff options
context:
space:
mode:
authorGreg Studer <greg@10gen.com>2012-05-22 18:59:21 -0400
committerGreg Studer <greg@10gen.com>2012-05-22 19:00:19 -0400
commitb594f8a458322e174d5278a13ced4f1f48ffa75b (patch)
tree8e38ab407839bf5a8b31b664b333cd0ae6c18d8f /src/mongo/client/parallel.h
parent65303070c9c302793515085681d6b2daceedac69 (diff)
downloadmongo-b594f8a458322e174d5278a13ced4f1f48ffa75b.tar.gz
SERVER-4800 make unsorted parallel cursors do round-robin when pulling data, minimize timeouts
Diffstat (limited to 'src/mongo/client/parallel.h')
-rw-r--r--src/mongo/client/parallel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/client/parallel.h b/src/mongo/client/parallel.h
index d424f6cda3e..63ce508d816 100644
--- a/src/mongo/client/parallel.h
+++ b/src/mongo/client/parallel.h
@@ -389,6 +389,7 @@ namespace mongo {
// LEGACY BELOW
int _numServers;
+ int _lastFrom;
set<ServerAndQuery> _servers;
BSONObj _sortKey;