diff options
author | Jason Carey <jcarey@argv.me> | 2017-08-29 15:34:20 -0400 |
---|---|---|
committer | Jason Carey <jcarey@argv.me> | 2017-08-31 16:10:18 -0400 |
commit | c351caa6815218c5b4a9801342ccbb1b050f6aea (patch) | |
tree | ac65b981a61218ff9384a0f68a89d9b3141ea4bb /src/mongo/db/logical_session_id.idl | |
parent | ed619087e8dc51eb13578f5ebdd60f8ffee750aa (diff) | |
download | mongo-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/logical_session_id.idl')
-rw-r--r-- | src/mongo/db/logical_session_id.idl | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/src/mongo/db/logical_session_id.idl b/src/mongo/db/logical_session_id.idl index 24b58226f51..96310498441 100644 --- a/src/mongo/db/logical_session_id.idl +++ b/src/mongo/db/logical_session_id.idl @@ -112,3 +112,53 @@ structs: operation executes." type: TxnNumber optional: true + + SessionsCollectionFetchResultIndividualResult: + description: "Individual result" + strict: true + fields: + _id: LogicalSessionId + + SessionsCollectionFetchResultCursor: + description: "Cursor object" + strict: false + fields: + firstBatch: array<SessionsCollectionFetchResultIndividualResult> + + SessionsCollectionFetchResult: + description: "Parser for pulling out the fetch results from SessionsCollection::fetch" + strict: false + fields: + cursor: SessionsCollectionFetchResultCursor + + SessionsCollectionFetchRequestFilterId: + description: "Id" + strict: true + fields: + $in: + type: array<LogicalSessionId> + cpp_name: "in" + + SessionsCollectionFetchRequestFilter: + description: "filter" + strict: true + fields: + _id: SessionsCollectionFetchRequestFilterId + + SessionsCollectionFetchRequestProjection: + description: "projection" + strict: true + fields: + _id: int + + SessionsCollectionFetchRequest: + description: "Parser for forming the fetch request for SessionsCollection::fetch" + strict: true + fields: + find: namespacestring + filter: SessionsCollectionFetchRequestFilter + projection: SessionsCollectionFetchRequestProjection + batchSize: int + singleBatch: bool + allowPartialResults: bool + limit: int |