summaryrefslogtreecommitdiff
path: root/src/mongo/db/session.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-31233 Always advance the last written session record cache after a writeKaloian Manassiev2017-09-251-11/+12
| | | | | | | The session transaction cache must move in lock step with the disk writes and this is independent with the changes to the active transaction number. This change also reverts commit 74c1946fb05b9fe955f84edd1cc441394bbe6ccf.
* SERVER-31114 Perform targeted session invalidation on direct writes to ↵Kaloian Manassiev2017-09-201-1/+1
| | | | `config.transactions`
* Revert "SERVER-31114 Perform targeted session invalidation on direct writes ↵Kaloian Manassiev2017-09-201-1/+1
| | | | | | to `config.transactions`" This reverts commit c8cb9cc374af47f862d81e52ad4bc33d96239ef0.
* SERVER-31114 Perform targeted session invalidation on direct writes to ↵Kaloian Manassiev2017-09-201-1/+1
| | | | `config.transactions`
* SERVER-30325 Add cache of committed statement idsKaloian Manassiev2017-09-151-47/+122
| | | | | This makes the check for whether a statement executed take O(1) time instead of O(size of the batch).
* SERVER-30895 Implement infrastructure for retrieving session states from the ↵Randolph Tan2017-09-151-3/+13
| | | | source shard during migration
* SERVER-29606 Introduce 'onPrimaryTransactionalWrite' failpointKaloian Manassiev2017-09-141-0/+30
|
* SERVER-30325 Simplify session transaction state maintenanceKaloian Manassiev2017-09-131-129/+209
| | | | | | This change exposes a single 'onWriteCompleted' method on the Session object, which hides all the concurrency control and the session cache maintenance.
* SERVER-30936 Ensure operation session info is initialized only onceKaloian Manassiev2017-09-061-10/+10
|
* Revert "SERVER-30936 Ensure operation session info is initialized only once"Kaloian Manassiev2017-09-061-10/+10
| | | | This reverts commit e00c6d29996ba52b5a77a072d1c5c555f62b8534.
* SERVER-30936 Ensure operation session info is initialized only onceKaloian Manassiev2017-09-061-10/+10
|
* SERVER-30281 Force sessions to reload after rollbackJack Mulrow2017-08-031-25/+59
|
* SERVER-30262 Update session info during batch apply in secondariesJack Mulrow2017-07-311-15/+11
|
* SERVER-30318 Remove workaround for multiple instances of ↵Randolph Tan2017-07-311-4/+2
| | | | OperationContextSession per OperationContext
* SERVER-28509 DBClientCursor now uses read commandsMathias Stearn2017-07-261-2/+4
|
* SERVER-28918 Make CRUD paths retryableJack Mulrow2017-07-241-0/+17
|
* Revert "SERVER-28918 Make CRUD paths retryable"Jack Mulrow2017-07-241-17/+0
| | | | This reverts commit 3bc2d6c1c5782ab8456b40852930aef3e7e7f802.
* SERVER-28918 Make CRUD paths retryableJack Mulrow2017-07-241-0/+17
|
* SERVER-29885 Serialize operations for the same logical sessionKaloian Manassiev2017-07-061-0/+182
Also makes the session state available on the OperationContext.