diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-06-24 15:26:18 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-06-27 09:56:58 -0400 |
commit | 8fe4426fa36587ca40a0b6c8f1c84fd9aa61e5cf (patch) | |
tree | 80441172024fa0d6e752e5766aacbbce8f706703 /src/mongo/db/logical_session_id.idl | |
parent | b7f7d746eba8ec30d059352c811e9ac57618b3bd (diff) | |
download | mongo-8fe4426fa36587ca40a0b6c8f1c84fd9aa61e5cf.tar.gz |
SERVER-29852 Store session id and transaction number on all commands' OperationContext
Diffstat (limited to 'src/mongo/db/logical_session_id.idl')
-rw-r--r-- | src/mongo/db/logical_session_id.idl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mongo/db/logical_session_id.idl b/src/mongo/db/logical_session_id.idl index a88fcddd0c7..2f02ea2a06a 100644 --- a/src/mongo/db/logical_session_id.idl +++ b/src/mongo/db/logical_session_id.idl @@ -55,3 +55,17 @@ structs: strict: true fields: id: UUIDIDL + + OperationSessionInfo: + description: "Parser for pulling out the sessionId/txnNumber combination from commands" + strict: false + fields: + lsid: + type: logical_session_id + cpp_name: sessionId + optional: true + txnNumber: + description: "The transaction number relative to the session in which a particular write + operation executes." + type: TxnNumber + optional: true |