Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-42508 Get rid of some additional unused code in SessionsCollection | Kaloian Manassiev | 2019-10-31 | 1 | -18/+16 |
| | | | | ... and also improve comments. | ||||
* | SERVER-42508 Convert SessionsCollection to throw instead of return status | Marcos José Grillo Ramírez | 2019-10-30 | 1 | -19/+19 |
| | | | | Change the remaining public functions: refreshSessions, removeRecords and findRemovedSessions | ||||
* | SERVER-42508 Convert SessionsCollection to throw instead of return status | Marcos José Grillo Ramírez | 2019-10-29 | 1 | -1/+1 |
| | | | | Change the return value of checkSessionsCollectionExists from Status to void and throws exception on error | ||||
* | SERVER-42508 Convert SessionsCollection to throw instead of return status ↵ | Marcos José Grillo Ramírez | 2019-10-24 | 1 | -1/+1 |
| | | | | Part One: setupSessionsCollection | ||||
* | SERVER-39338 Remove `stdx/functional.h` | ADAM David Alan Martin | 2019-06-10 | 1 | -3/+4 |
| | |||||
* | SERVER-37837 Examine and reap sessions from the SessionsCatalog | Kaloian Manassiev | 2019-05-17 | 1 | -3/+2 |
| | | | | | This change makes the logical sessions cache query and reap sessions, which are possibly only in-memory on the SessionsCatalog. | ||||
* | SERVER-37837 Get rid of TransactionReaper (Part 1) | Kaloian Manassiev | 2019-05-09 | 1 | -9/+12 |
| | | | | | | | | | This change gets rid of the TransactionReaper's usage of the ReplicationCoordinator for checking whether it is primary or not and makes the LogicalSessionCache joinable on shutdown. It also removes the TransactionReaper's grouping per-shard optimization and moves it all under SessionCollectionSharded. | ||||
* | SERVER-37837 Move `config.transactions` manipulation out of SessionsCollection | Kaloian Manassiev | 2019-05-02 | 1 | -3/+0 |
| | |||||
* | SERVER-39560 - remove leading blank line on all C++ files | Billy Donahue | 2019-02-13 | 1 | -1/+0 |
| | | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines. | ||||
* | SERVER-37624 Allow sessions collection TTL index expiration value to change ↵ | Blake Oler | 2018-11-02 | 1 | -0/+5 |
| | | | | upon node restart | ||||
* | SERVER-37651 Update header files with new license | Ramon Fernandez | 2018-10-22 | 1 | -8/+10 |
| | |||||
* | SERVER-36964 Prevent secondaries in SessionsCollectionRS from attempting to ↵ | Blake Oler | 2018-10-13 | 1 | -0/+7 |
| | | | | set up the sessions collection. | ||||
* | SERVER-36332 write to primary from secondary in LogicalSessionsCache for ↵ | Misha Tyulenev | 2018-08-28 | 1 | -6/+0 |
| | | | | ReplicaSet | ||||
* | SERVER-32198 Move the sessions collection namespace constant to NamespaceString | Kaloian Manassiev | 2018-05-24 | 1 | -2/+0 |
| | |||||
* | SERVER-34773 Use kSessionsNamespaceString instead of its constituent ↵ | Kaloian Manassiev | 2018-05-02 | 1 | -6/+2 |
| | | | | StringData entries | ||||
* | SERVER-31184 Make servers automatically set up config.system.sessions | samantharitter | 2017-10-11 | 1 | -0/+10 |
| | |||||
* | SERVER-31174 Move the sessions collection to config.system.sessions | samantharitter | 2017-09-25 | 1 | -2/+2 |
| | |||||
* | Revert "SERVER-31174 Move the sessions collection to config.system.sessions" | Ian Whalen | 2017-09-22 | 1 | -2/+2 |
| | | | | This reverts commit ba1704f7cbc0b9a03a181df145f75f433a59b7df. | ||||
* | SERVER-31174 Move the sessions collection to config.system.sessions | samantharitter | 2017-09-22 | 1 | -2/+2 |
| | |||||
* | SERVER-28336 endSessions command | Gabriel Russell | 2017-09-21 | 1 | -4/+1 |
| | |||||
* | SERVER-31011 Provide transaction record deletion hook | Jason Carey | 2017-09-20 | 1 | -8/+23 |
| | |||||
* | SERVER-30805 add LSC::findRemovedSessions() | Jason Carey | 2017-08-31 | 1 | -0/+15 |
| | | | | | Implements a findRemovedSessions method for the logical session collection and impls for the various backends. | ||||
* | SERVER-29202 Remove unused fetch methods from logical session cache | samantharitter | 2017-08-18 | 1 | -7/+0 |
| | |||||
* | SERVER-29202 Implement SessionsCollectionRS | samantharitter | 2017-08-18 | 1 | -1/+12 |
| | |||||
* | SERVER-28335 Implement refreshSessions and refreshSessionsInternal commands | samantharitter | 2017-08-15 | 1 | -4/+1 |
| | |||||
* | SERVER-29201 Implement SessionsCollectionStandalone | samantharitter | 2017-08-02 | 1 | -14/+32 |
| | |||||
* | SERVER-30298 Add UserDigest LogicalSessionID | Jason Carey | 2017-07-26 | 1 | -3/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-29610 Allow LogicalSessionIds to contain signed user information | samantharitter | 2017-07-13 | 1 | -2/+3 |
| | |||||
* | SERVER-28346 Add more unit tests for the logical session cache | samantharitter | 2017-06-09 | 1 | -4/+3 |
| | |||||
* | Revert "SERVER-28346 Add more unit tests for the logical session cache" | James Wahlin | 2017-06-08 | 1 | -3/+4 |
| | | | | This reverts commit 4c3337abe512a37c8e4cb22e16eafcd04bc5bd3a. | ||||
* | SERVER-28346 Add more unit tests for the logical session cache | samantharitter | 2017-06-07 | 1 | -4/+3 |
| | |||||
* | SERVER-28300 Add interfaces for logical session cache supporting types | Samantha Ritter | 2017-06-05 | 1 | -0/+80 |