summaryrefslogtreecommitdiff
path: root/src/mongo/db/cursor_manager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-39339 Remove `stdx/memory.h`ADAM David Alan Martin2019-06-101-4/+5
|
* SERVER-18463 Remove StartupTest infrastructure, place StartupTests intoNathan Brown2019-06-071-1/+0
| | | | unittests
* SERVER-37092 Remove old server parameter APISara Golemon2019-03-031-1/+0
|
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-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-37456 Make the global CursorManager a decoration on ServiceContextAnton Korshunov2019-02-111-7/+21
|
* SERVER-37454 Delete GlobalCursorIdCache.David Storch2019-02-051-133/+3
|
* SERVER-39065 Delete withCursorManager() and visitAllCursorManagers().David Storch2019-01-311-92/+23
|
* SERVER-37452 Remove concept of globally managed cursor IDs.David Storch2019-01-311-37/+26
|
* SERVER-38288 Delete CursorManager::invalidateAll().David Storch2019-01-311-48/+9
|
* SERVER-36663 Prevent killOperation from running without lockJonathan Ma2019-01-241-1/+1
|
* SERVER-37455 Delete per-collection cursor managers.David Storch2019-01-231-93/+6
|
* SERVER-37451 Move all ClientCursor ownership to the global CursorManager.David Storch2019-01-151-39/+22
| | | | | Deleting the per-collection CursorManagers, and other related cleanup, is left as future work.
* SERVER-38249 Implement stdx unordered_map and unordered_set as absl node ↵Henrik Edin2018-12-201-3/+3
| | | | | | | | | | hash map/set. Remove stdx::unordered_multimap and multiset. Custom hashers to stdx::unordered_map are not trusted by default, we will rehash the produced hash with absl again to ensure we have a good hash function.
* SERVER-37449 Remove CursorManager's PlanExecutor registry.David Storch2018-12-181-39/+1
| | | | | | The registry was used to mark PlanExecutors killed. However, this is no longer needed now that PlanExecutors check whether they have been killed during yield recovery.
* SERVER-27881 Upgrade boost to 1.68.0Mathew Robinson2018-12-051-1/+1
|
* SERVER-37838 prevent crash with getMore and simultaneous stepdownIan Boros2018-11-291-5/+3
|
* SERVER-37245 Do not access the SessionCatalog directly if not necessaryKaloian Manassiev2018-11-191-1/+0
| | | | | | | The session catalog should not be accessed directly by majority of the consumers on mongod or mongos, instead they should interact with it through the decorations, which properly validate that the session has been assigned to the OperationContext.
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-26/+28
|
* SERVER-28604 Log when a cursor is reaped for timeoutTed Tuckman2018-10-111-0/+2
|
* SERVER-37005 Add fields to GenericCursorTed Tuckman2018-10-041-1/+1
|
* SERVER-37003 Minor change to test for cursor field of curOp for getMoreTed Tuckman2018-09-281-1/+1
|
* SERVER-37003 Add activeCursor field to curOp for getMoreTed Tuckman2018-09-281-13/+0
|
* SERVER-37001 Add idleCursor to $currentOpTed Tuckman2018-09-141-8/+32
|
* SERVER-16857 Delete MMAPv1 diskloc invalidations.David Storch2018-08-291-27/+0
| | | | | | - Removes of PlanStage::invalidate(). - Removes RecordCursor::invalidate() from the storage API. - Removes CursorManager::invalidateDocument().
* SERVER-33697 Provide sanity check on the number of cached sessionsCheahuychou Mao2018-07-091-1/+5
|
* SERVER-34113 Remove all support for snapshot reads outside multi-document ↵Xiangyu Yao2018-06-191-81/+0
| | | | transactions
* SERVER-35217 Do not kill associated client cursors when transaction endsTess Avitabile2018-06-081-66/+2
|
* SERVER-34995 Remove dead code in query system.Charlie Swanson2018-05-161-9/+0
|
* SERVER-33959 Avoid deadlock during global cursor registrationCharlie Swanson2018-05-151-39/+64
|
* SERVER-33690 Transaction abort and commit should kill any associated client ↵James Wahlin2018-04-161-7/+163
| | | | cursors
* SERVER-34101 Revert change to free transaction resources on snapshot read ↵James Wahlin2018-03-281-75/+29
| | | | killCursors
* SERVER-33542 Avoid timing out cursor between batchesCharlie Swanson2018-03-161-3/+8
| | | | | This will provide a guarantee that if a cursor times out, the error returned to the client will be ExceededTimeLimit.
* SERVER-33672 Make killSessionsLocal() kill any matching SessionsTess Avitabile2018-03-141-2/+2
|
* SERVER-33785 Prevent interrupt in clientcursormon threadCharlie Swanson2018-03-141-9/+16
|
* SERVER-33689 killCursors on snapshot read cursor should free stashed ↵Tess Avitabile2018-03-131-28/+75
| | | | transaction resources
* SERVER-33382 Permit views in GlobalCursorIdCache::timeoutCursors().Justin Seyster2018-02-201-1/+8
|
* SERVER-32367 Clean up the AutoGet* suite of classesKaloian Manassiev2018-02-141-4/+5
| | | | | | * Get rid of AutoGetCollectionOrViewForReadCommand * Get rid of constructors accepting Lock::DBLock * Always check for shard version, unless the namespace represents a view
* SERVER-33275 Remove `platform/unordered_`* headersADAM David Alan Martin2018-02-141-3/+3
| | | | | | These headers date from before C++11 support and the `::mongo::stdx::` namespace. They can be removed and uses of the names therein can be changed to `::mongo::stdx::unordered_`* forms.
* SERVER-32912 Ensure that killCursors always invalidates a pinned cursorBernard Gorman2018-02-131-6/+21
|
* SERVER-32367 Pull UUID and view resolution out of db_raiiKaloian Manassiev2018-02-021-1/+1
|
* SERVER-21710 Add ability to kill pinned cursors on mongodIan Boros2018-01-101-33/+57
|
* SERVER-32169 Allow killCursors to kill across lsidsSara Golemon2017-12-121-7/+10
|
* SERVER-28260 Check coauth for killCursors and add killAnyCursorsSara Golemon2017-11-301-5/+37
|
* SERVER-31565 Add stats about logical sessions background jobs to serverStatusJason Carey2017-11-071-3/+4
|
* Revert "SERVER-31565 Add stats about logical sessions background jobs to ↵Ian Whalen2017-11-021-4/+3
| | | | | | serverStatus" This reverts commit 7cd8508b06e1574bea211dff054855b70b7cc20e.
* SERVER-31565 Add stats about logical sessions background jobs to serverStatussamantharitter2017-11-011-3/+4
|
* SERVER-31289 Add test only $listLocalCursorsJason Carey2017-10-031-0/+22
| | | | | | | In order to make the kill sessions test a bit more reliable, adding a test only agg stage that returns minimal info about cursors. That way we can see if we killed our specific cursors, rather than looking at global counts.
* SERVER-31178 Bad invariant in cursor managerJason Carey2017-09-251-1/+1
| | | | pinCursor can return unauthorized, expanding scope of invariant
* SERVER-30805 add LSC::findRemovedSessions()Jason Carey2017-08-311-8/+2
| | | | | Implements a findRemovedSessions method for the logical session collection and impls for the various backends.
* SERVER-28343 Session checks on GETMORE operationsADAM David Alan Martin2017-08-301-0/+7
| | | | | Make `getMore` operations enforce that the cursor is correctly associated with the current session.