summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/find_common.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-42182 Reimplement SortStage in terms of SortExecutor.David Storch2019-10-011-19/+0
| | | | | | | | This consolidates the implementations of DocumentSourceSort and SortStage to both use the same underlying sort execution code. It also allows a future change to expose external sort for find command (which currently requires 'enableTestCommands=true').
* SERVER-42837 Allow waitInFindBeforeBatch FailPoint to take data.nss parameterBen Caimano2019-08-201-0/+21
|
* 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-39149 Homogenize getMore behaviorJason Carey2019-02-081-0/+2
| | | | | | | | | | | | | Cursor's have subtly different semantics across mongos and mongod and between legacy getMore and command getMore. (as does the find command) Ensuring that all getMores can be paused by waitAfterPinningCursorBeforeGetMoreBatch, and that cursors are cleaned up if they are killed after verifying auth, makes testing a bit simpler and cursors less leaky And adding a check for waitInFindBeforeMakingBatch to runQuery similarly makes it easier to test
* Revert "SERVER-39149 Homogenize getMore behavior"James Wahlin2019-02-081-2/+0
| | | | This reverts commit 4d703e26c2801971d538f948a4dc3191994f0074.
* SERVER-39149 Homogenize getMore behaviorJason Carey2019-02-071-0/+2
| | | | | | | | | | | | | Cursor's have subtly different semantics across mongos and mongod and between legacy getMore and command getMore. (as does the find command) Ensuring that all getMores can be paused by waitAfterPinningCursorBeforeGetMoreBatch, and that cursors are cleaned up if they are killed after verifying auth, makes testing a bit simpler and cursors less leaky And adding a check for waitInFindBeforeMakingBatch to runQuery similarly makes it easier to test
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-35275 rename fail point FP macros, improve docsBilly Donahue2018-05-301-4/+4
|
* SERVER-33283 Add test coverage for case where pinned cursor is killed after ↵Ian Boros2018-03-301-2/+0
| | | | interrupt checks
* SERVER-33462 allow killOp on local mongos operationsIan Boros2018-03-271-1/+3
|
* SERVER-32912 Ensure that killCursors always invalidates a pinned cursorBernard Gorman2018-02-131-2/+6
|
* SERVER-31684 Fix unexpected "operation exceeded time limit" errorsMartin Neupauer2017-12-181-0/+3
| | | | | | The changestream queries used an operation context deadline to track a wait time before returning EOF. This occasionaly interfered with normal operation deadlines leading to unexpected errors.
* Revert "SERVER-31684 Fix unexpected "operation exceeded time limit" errors"Spencer Jackson2017-12-141-3/+0
| | | | This reverts commit b79e5f04ffc79b5892f89c22b9e5f26a297b1185.
* SERVER-31684 Fix unexpected "operation exceeded time limit" errorsMartin Neupauer2017-12-121-0/+3
| | | | | | The changestream queries used an operation context deadline to track a wait time before returning EOF. This occasionaly interfered with normal operation deadlines leading to unexpected errors.
* SERVER-29141 Refactor the way mongos handles tailable awaitData cursorsBernard Gorman2017-09-261-0/+2
|
* SERVER-24118 Rename LiteParsedQuery to QueryRequest.David Hatch2016-06-031-6/+6
|
* SERVER-21797 unify cursor response commands to respond with up to 16MB of dataDavid Storch2016-01-211-15/+13
| | | | | | Find, getMore, aggregate, listIndexes, and listCollections now will always return 16MB per batch, unless a batchSize limits the number of response documents.
* SERVER-21600 add integration test for killCursors commandDavid Storch2015-12-081-0/+2
|
* SERVER-19355 add SortKeyGeneratorStageDavid Storch2015-08-181-0/+21
| | | | | This is groundwork for a sort key meta-projection, which mongos will request so that it can do the merge properly.
* SERVER-18772 Add ntoreturn to LiteParsedQueryMisha Tyulenev2015-08-121-4/+8
|
* SERVER-18771 implement getMore command on mongosDavid Storch2015-08-061-0/+55