summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_check_resume_token_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-45465 Add support for storing $unionWith in a view (unsharded)Charlie Swanson2020-02-131-17/+0
|
* SERVER-45505 Add ResumableChangeStreamError error labelBernard Gorman2020-02-071-2/+2
| | | | | | delete mode 100644 jstests/change_streams/error_label.js create mode 100644 jstests/noPassthrough/change_stream_error_label.js create mode 100644 jstests/sharding/change_stream_error_label.js
* SERVER-45838 Rename/restructure mongo_process_interface classes and filesCharlie Swanson2020-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | create mode 100644 src/mongo/db/pipeline/process_interface/SConscript rename src/mongo/db/pipeline/{process_interface_standalone.cpp => process_interface/common_mongod_process_interface.cpp} (72%) rename src/mongo/db/pipeline/{process_interface_standalone.h => process_interface/common_mongod_process_interface.h} (69%) rename src/mongo/db/pipeline/{mongo_process_common.cpp => process_interface/common_process_interface.cpp} (91%) rename src/mongo/db/pipeline/{mongo_process_common.h => process_interface/common_process_interface.h} (91%) rename src/mongo/db/pipeline/{ => process_interface}/mongo_process_interface.cpp (96%) rename src/mongo/db/pipeline/{ => process_interface}/mongo_process_interface.h (100%) rename src/mongo/db/pipeline/{process_interface_factory_mongod.cpp => process_interface/mongod_process_interface_factory.cpp} (84%) rename src/mongo/db/pipeline/{ => process_interface}/mongos_process_interface.cpp (93%) rename src/mongo/db/pipeline/{ => process_interface}/mongos_process_interface.h (97%) rename src/mongo/db/pipeline/{ => process_interface}/mongos_process_interface_test.cpp (84%) create mode 100644 src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.cpp create mode 100644 src/mongo/db/pipeline/process_interface/non_shardsvr_process_interface.h rename src/mongo/db/pipeline/{process_interface_shardsvr.cpp => process_interface/shardsvr_process_interface.cpp} (88%) rename src/mongo/db/pipeline/{process_interface_shardsvr.h => process_interface/shardsvr_process_interface.h} (95%) rename src/mongo/db/pipeline/{process_interface_standalone_test.cpp => process_interface/shardsvr_process_interface_test.cpp} (95%) rename src/mongo/db/pipeline/{stub_mongo_process_interface_lookup_single_document.cpp => process_interface/stub_lookup_single_document_process_interface.cpp} (89%) rename src/mongo/db/pipeline/{stub_mongo_process_interface_lookup_single_document.h => process_interface/stub_lookup_single_document_process_interface.h} (93%) rename src/mongo/db/pipeline/{ => process_interface}/stub_mongo_process_interface.h (99%)
* SERVER-45526 Enable sharded unionWithTed Tuckman2020-02-031-2/+4
| | | | | create mode 100644 jstests/aggregation/sources/unionWith/unionWith.js create mode 100644 jstests/noPassthrough/unionWith_sharded_unsharded_mix.js
* SERVER-44733 Change stream should throw ChangeStreamFatalError if a single ↵Bernard Gorman2019-12-061-9/+18
| | | | shard cannot be targeted for updateLookup
* SERVER-42302 Move Document/Value library to db/exec/document_value directory.David Storch2019-10-011-1/+1
| | | | | | Document/Value is now used throughout the query execution engine, and therefore should move into the directory which holds query execution code.
* SERVER-41196 Integrate 'invalidate' tokens into change stream's standard ↵Bernard Gorman2019-06-291-8/+138
| | | | resume logic
* SERVER-39339 Remove `stdx/memory.h`ADAM David Alan Martin2019-06-101-1/+0
|
* SERVER-41182 Change streams support for transactions larger than 16MBJustin Seyster2019-05-291-7/+7
|
* SERVER-40539 Add DocumentSourceQueueCharlie Swanson2019-05-211-2/+2
| | | | | | | This stage is distinguished from the Mock stage in that it doesn't bother tracking state about which methods have been called. The queue version is simpler and is used in production code (namely the update system), whereas the mock is still preferred in testing environments.
* SERVER-41053 Don't create ServiceContexts while doing updatesIan Boros2019-05-091-2/+2
| | | | This commit also renames DocumentSourceMock::create to DocumentSourceMock::createForTest.
* SERVER-39302 Remove all high-water-mark code necessary to support default ↵Bernard Gorman2019-03-111-2/+1
| | | | collation inheritance for single-collection streams
* SERVER-38413 DSShardCheckResumability should swallow events that precede the ↵Bernard Gorman2019-02-201-7/+73
| | | | client token during resume
* 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-38412 Allow resuming from a high-water-mark pseudo resume tokenBernard Gorman2019-01-241-2/+2
|
* SERVER-32308 Address ASAN failure due to leaked Pipeline in ↵James Wahlin2018-12-141-2/+4
| | | | attachCursorSourceToPipeline
* SERVER-32308 Support for $lookup to execute on mongos against a sharded ↵James Wahlin2018-12-121-11/+8
| | | | foreign collection
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-21/+23
|
* SERVER-35119 Remove 3.6 featureCompatibilityVersion checksCharlie Swanson2018-06-151-1/+1
|
* SERVER-34314 Ensure change stream can resume between entries in applyOps entryIan Boros2018-04-161-8/+66
|
* SERVER-34313 Use hex-encoded string for resume tokenCharlie Swanson2018-04-131-1/+3
|
* SERVER-34432 Allow $changeStream resume attempts to proceed if the initial ↵Bernard Gorman2018-04-121-0/+68
| | | | stream documents have the same clusterTime as the resume token but lower-sorting UUIDs
* SERVER-34090 Allow resuming change stream when resume token's document key ↵Bernard Gorman2018-04-061-8/+108
| | | | does not contain the shard key
* SERVER-33818: Add 'resumeWithClusterTime' as an alias for ↵Nick Zolnierz2018-04-041-16/+13
| | | | '$_resumeAfterClusterTime' in $changeStream
* SERVER-32349 Change streams over sharded collections may produce merged op ↵Martin Neupauer2018-01-191-4/+17
| | | | | | | | | log entries with the same timestamps if the operations are coming from multiple shards. When we resume the change stream we have to position to the right place - the position is determined both by the timestamp and the document id. Previously we checked the timestamp only, now we loop over the equal timestamps and find the right document.
* Revert "SERVER-32308: Add the ability for a $lookup stage to execute on ↵Nick Zolnierz2018-01-161-5/+5
| | | | | | mongos against a sharded foreign collection" This reverts commit 7298d273c0497f2720ec1471ad0f4910bff07af4.
* SERVER-32308: Add the ability for a $lookup stage to execute on mongos ↵Nick Zolnierz2018-01-121-5/+5
| | | | against a sharded foreign collection
* SERVER-32190 Shorten MongoDProcessInterface to MongoDInterface.Charlie Swanson2017-12-191-15/+15
| | | | | | Similarly shorten other similar MongoProcessInterface implementation's names, e.g. MongoSProcessInterface -> MongoSInterface and MockMongoProcessInterface -> MockMongoInterface.
* SERVER-32190 Make MongoProcessInterface always availableCharlie Swanson2017-12-191-28/+15
|
* SERVER-29141 Enable change streams on sharded collectionsCharlie Swanson2017-10-091-2/+2
|
* SERVER-29716 Keystring-encode ResumeTokens to allow bytewise comparisonsMatthew Russotto2017-10-051-28/+16
|
* SERVER-29609 Rename MongodInterface to MongoProcessInterface.Charlie Swanson2017-10-031-17/+30
|
* SERVER-30399 Add caching for $lookup non-correlated sub-pipeline prefixBernard Gorman2017-09-241-3/+15
|
* SERVER-30579 Change resumeTokens to include collection UUID instead of namespaceMatthew Russotto2017-08-231-10/+24
|
* SERVER-29504 Support resumeAfter behavior for shard serversMatthew Russotto2017-08-221-6/+216
|
* SERVER-30580 Eliminate UserException and MsgAssertionException typesMathias Stearn2017-08-161-4/+4
| | | | All users were converted to just use AssertionException.
* SERVER-30512 Ensure all changeStreams field names match the specSiyuan Zhou2017-08-151-6/+12
|
* SERVER-29131 Support resumeAfter option to control where to start returning ↵Matthew Russotto2017-08-031-0/+191
notifications from, which always errors if no entry with the given resumeToken exists