diff options
author | Scott Hernandez <scotthernandez@gmail.com> | 2015-06-24 11:33:27 -0400 |
---|---|---|
committer | Scott Hernandez <scotthernandez@gmail.com> | 2015-06-25 10:22:28 -0400 |
commit | 61ed2e026f2c3482c7e9654410dc790396929a83 (patch) | |
tree | 4f15b2afaf31d996a6b5ef581d57ac16f0a7cf53 /src/mongo/client/fetcher.h | |
parent | 9db15b95cdb16385edfefbca0c4468e8aa9ec84f (diff) | |
download | mongo-61ed2e026f2c3482c7e9654410dc790396929a83.tar.gz |
SERVER-18042: add killCursors support to Fetcher
Diffstat (limited to 'src/mongo/client/fetcher.h')
-rw-r--r-- | src/mongo/client/fetcher.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/client/fetcher.h b/src/mongo/client/fetcher.h index fff128b5aca..99748941ca2 100644 --- a/src/mongo/client/fetcher.h +++ b/src/mongo/client/fetcher.h @@ -167,6 +167,13 @@ private: */ void _finishCallback(); + /** + * Sends a kill cursor for the specified id and collection (namespace) + * + * Note: Errors are ignored and no retry is done + */ + void _sendKillCursors(const CursorId id, const NamespaceString& nss); + // Not owned by us. executor::TaskExecutor* _executor; |