summaryrefslogtreecommitdiff
path: root/src/mongo/db/sessions_collection_sharded.h
diff options
context:
space:
mode:
authorJason Carey <jcarey@argv.me>2017-08-29 15:34:20 -0400
committerJason Carey <jcarey@argv.me>2017-08-31 16:10:18 -0400
commitc351caa6815218c5b4a9801342ccbb1b050f6aea (patch)
treeac65b981a61218ff9384a0f68a89d9b3141ea4bb /src/mongo/db/sessions_collection_sharded.h
parented619087e8dc51eb13578f5ebdd60f8ffee750aa (diff)
downloadmongo-c351caa6815218c5b4a9801342ccbb1b050f6aea.tar.gz
SERVER-30805 add LSC::findRemovedSessions()
Implements a findRemovedSessions method for the logical session collection and impls for the various backends.
Diffstat (limited to 'src/mongo/db/sessions_collection_sharded.h')
-rw-r--r--src/mongo/db/sessions_collection_sharded.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/sessions_collection_sharded.h b/src/mongo/db/sessions_collection_sharded.h
index ddf15ba11d6..cb0a2e6fd9e 100644
--- a/src/mongo/db/sessions_collection_sharded.h
+++ b/src/mongo/db/sessions_collection_sharded.h
@@ -55,6 +55,9 @@ public:
* Removes the authoritative records for the specified sessions.
*/
Status removeRecords(OperationContext* opCtx, const LogicalSessionIdSet& sessions) override;
+
+ StatusWith<LogicalSessionIdSet> findRemovedSessions(
+ OperationContext* opCtx, const LogicalSessionIdSet& sessions) override;
};
} // namespace mongo