| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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').
|
| |
|
|
|
|
|
|
| |
Remove leading comments that are just stating the filename.
Move any file-level comments below the copyright banner.
Remove leading blank lines.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
This reverts commit 4d703e26c2801971d538f948a4dc3191994f0074.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
interrupt checks
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This reverts commit b79e5f04ffc79b5892f89c22b9e5f26a297b1185.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
Find, getMore, aggregate, listIndexes, and listCollections now will
always return 16MB per batch, unless a batchSize limits the number of
response documents.
|
| |
|
|
|
|
|
| |
This is groundwork for a sort key meta-projection, which mongos will request so that it can do the
merge properly.
|
| |
|
|
|