diff options
author | Bernard Gorman <bernard.gorman@gmail.com> | 2018-11-27 03:50:42 +0000 |
---|---|---|
committer | Bernard Gorman <bernard.gorman@gmail.com> | 2019-01-09 07:16:40 +0000 |
commit | 560a0c3a3e20924b362fc2b159c30255d62e81d2 (patch) | |
tree | 18a082ebad4c1e50f988025e8a53036836175400 /src/mongo/s/query/cluster_client_cursor_impl.cpp | |
parent | ec104311f774165b5b77b41b78c89e4f29baaca9 (diff) | |
download | mongo-560a0c3a3e20924b362fc2b159c30255d62e81d2.tar.gz |
SERVER-38411 Propagate postBatchResumeToken through mongoS to client
Diffstat (limited to 'src/mongo/s/query/cluster_client_cursor_impl.cpp')
-rw-r--r-- | src/mongo/s/query/cluster_client_cursor_impl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/s/query/cluster_client_cursor_impl.cpp b/src/mongo/s/query/cluster_client_cursor_impl.cpp index 097a5ae1e5c..3c620b77133 100644 --- a/src/mongo/s/query/cluster_client_cursor_impl.cpp +++ b/src/mongo/s/query/cluster_client_cursor_impl.cpp @@ -162,6 +162,10 @@ std::size_t ClusterClientCursorImpl::getNumRemotes() const { return _root->getNumRemotes(); } +BSONObj ClusterClientCursorImpl::getPostBatchResumeToken() const { + return _root->getPostBatchResumeToken(); +} + long long ClusterClientCursorImpl::getNumReturnedSoFar() const { return _numReturnedSoFar; } |