summaryrefslogtreecommitdiff
path: root/src/mongo/db/logical_session_id.idl
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-39535 Update localLogicalSessionTimeoutMinutes param to IDLAndrew Morrow2019-02-221-0/+8
|
* SERVER-37754 Remove duplicate copyright headersRamon Fernandez2018-10-251-30/+0
|
* SERVER-37651 Update copyright noticesRamon Fernandez2018-10-241-2/+28
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+25
|
* SERVER-35764 Add 'coordinator: 1' flag to OperationSessionInfoFromClient and ↵Esha Maharishi2018-08-141-0/+4
| | | | parse it in the service entry point
* SERVER-34051 Require autocommit=false on all transaction operations and add ↵William Schultz2018-04-041-0/+5
| | | | | | | | | | | support for 'startTransaction' argument This patch requires all operations that are part of a multi-statement transaction to specify an autocommit=false command argument. It also adds the 'startTransaction' command argument, which when specified as 'true' indicates that a command is the beginning of a multi-statement transaction.
* SERVER-33569 Don't allowPartialResults for session refreshJason Carey2018-03-021-1/+0
| | | | | | The check for logical session existence must not allow partial results. While this is on, an unresponsive shard can cause cursor and retryable write state to be prematurely erased.
* SERVER-32880 Parse and add autocommit parameter to SessionPavithra Vetriselvan2018-02-211-0/+3
|
* SERVER-31011 Provide transaction record deletion hookJason Carey2017-09-201-1/+1
|
* SERVER-30895 Implement infrastructure for retrieving session states from the ↵Randolph Tan2017-09-151-1/+1
| | | | source shard during migration
* SERVER-30805 add LSC::findRemovedSessions()Jason Carey2017-08-311-0/+50
| | | | | Implements a findRemovedSessions method for the logical session collection and impls for the various backends.
* SERVER-30566: Unwind SERVER-28190Spencer Jackson2017-08-111-11/+1
|
* SERVER-29201 Implement SessionsCollectionStandalonesamantharitter2017-08-021-1/+16
|
* SERVER-30080 LogicalSessions in the shellJason Carey2017-08-011-1/+7
| | | | Basic logical session implementation for the shell
* SERVER-30298 Add UserDigest LogicalSessionIDJason Carey2017-07-261-10/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Inclusion of a sha256 digest of the full username to the logical session id (in addition to the current guid) is necessary to fully disambiguate logical sessions in degraded clusters (when the authoritative record for a session is unreachable). Semantics for the uid are as follows: session creation via startSession() * Sessions can only be created with one, and only one, user authenticated * The composite key is created from a guid created on the spot, as well as the digest of the currently auth'd username * Only the session guid is returned to the user * This prevents outside users from attempting to send back a value we'd have to check. It's preferable to decorate the guid with the user digest per command, rather than having to check a value the user might send. session use for a command * Sessions are passed via the lsid top level field in any command * Sessions are only meaningful for commands which requireAuth. For sessions which don't require auth, we strip session information from the command at parse time * Session ids are passed as an object, which can optionally include the username digest * It is illegal to pass the username digest unless the currently auth'd user has the impersonate privilege (the __system user does). This enables sessions on shard servers via mongos
* SERVER-28903 Implement session transaction record inserts/updatesRandolph Tan2017-07-031-1/+1
|
* SERVER-29852 Store session id and transaction number on all commands' ↵Kaloian Manassiev2017-06-271-0/+14
| | | | OperationContext
* SERVER-28903 Convert WriteResult::SingleResult to idlRandolph Tan2017-06-191-0/+6
|
* SERVER-28753 Add support for TxnNumber/StmtId in write commandsKaloian Manassiev2017-06-081-0/+8
|
* SERVER-28297 Add IDL to LogicalSessionId classSamantha Ritter2017-05-051-0/+43