summaryrefslogtreecommitdiff
path: root/src/mongo/s/query/async_results_merger.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* SERVER-1981 Support near and nearSphere predicates on sharded collectionsTess Avitabile2017-12-281-14/+30
|
* SERVER-31133 Ignore mechanism for `StatusWith`ADAM David Alan Martin2017-12-061-2/+1
| | | | | | | | | Change `StatusWith< T >::getStatus` to return `const Status &&`, which permits an overload for `Status::ignore() const &&`. This would be called from expressions which use `StatusWith< T >::getStatus()` for example, `f().getStatus().ignore()`, giving a straightforward and concicse way to indicate that the success or failure of an operation is irrelevant (and thus the result is also irrelevant).
* SERVER-31836 Always dispatch sorted tailable awaitdata getMores to the ↵Bernard Gorman2017-11-181-1/+9
| | | | shards with timeouts of at most 1 second
* SERVER-30834 Make mongos reload the shard registry and re-establish ↵Matthew Russotto2017-11-141-0/+10
| | | | changeStream cursors when encountering a 'retryNeeded' entry
* SERVER-31787: Certain aggregation commands with merging on mongos can leak ↵Nick Zolnierz2017-11-071-8/+2
| | | | cursors on mongod
* SERVER-29141 Enable change streams on sharded collectionsCharlie Swanson2017-10-091-12/+21
|
* SERVER-29141 Update AsyncResultsMerger to merge multiple change streamsBernard Gorman2017-09-261-15/+95
|
* SERVER-29141 Refactor the way mongos handles tailable awaitData cursorsBernard Gorman2017-09-261-14/+10
|
* SERVER-30838 Remove _inlock names in sharding subsystemNathan Myers2017-09-251-106/+101
|
* SERVER-29142 Support $changeStream on unsharded collections.Charlie Swanson2017-09-131-6/+12
|
* SERVER-30704 Use ARM to merge agg cursors on mongos.Charlie Swanson2017-09-011-3/+8
|
* SERVER-30799 Avoid misleading empty batches with tailable cursors.Charlie Swanson2017-08-301-22/+32
| | | | This bug impacts tailable cursors being sent through a mongos.
* SERVER-29617 replace fetcher with ARM and add numCursors server parameterJason Chan2017-08-121-13/+1
|
* Revert "SERVER-29617 replace fetcher with ARM and add numCursors server ↵William Schultz2017-08-111-1/+13
| | | | | | parameter" This reverts commit 0d3137df3879e86d92904309e968f25529904639.
* SERVER-29617 replace fetcher with ARM and add numCursors server parameterJason Chan2017-08-111-13/+1
|
* SERVER-27244 Status usage compile-time facilities.ADAM David Alan Martin2017-06-181-3/+5
| | | | | | | | | | | | | | | | | There are numerous places in the codebase where `mongo::Status` or `mongo::StatusWith< T >` objects are returned and never checked. Many of these are innocuous, but many of them are potentially severe bugs. This change introduces facilities to permit compile-time warning of unchecked `Status` and `StatusWith` usage on clang compilers. It introduces an `ignore` function which is useful to state that a specific "ignored status" case was intentional. It not presently an error, in clang builds, to forget to check a `Status` -- this will come in a later commit. This also introduces a `transitional_ignore` function, which allows for easy continual auditing of the codebase for current "whitelisted" unchecked-status instances. All present "ignored status" cases have been marked `transitional_ignore`.
* SERVER-28814 Replace ServerSelectionMetadata with just ReadPreferenceSettingMathias Stearn2017-05-121-6/+1
|
* SERVER-27937 pull apart the AsyncResultsMerger logic into (1) establishing ↵Esha Maharishi2017-03-301-186/+76
| | | | the cursors (2) sending the getMore's
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-12/+12
| | | | | | This commit is an automated rename of all whole word instances of txn, _txn, and txnPtr to opCtx, _opCtx, and opCtxPtr, respectively in all .cpp and .h files in src/mongo.
* SERVER-27973 make ClusterClientCursor own ClusterClientCursorParams and pass ↵Esha Maharishi2017-02-161-38/+28
| | | | the params by reference to RouterStageMerge/ARM
* SERVER-27965 thread OperationContext* down through ClusterClientCursor's ↵Esha Maharishi2017-02-091-24/+22
| | | | next() and kill() methods
* SERVER-27701 fix race in AsyncResultsMerger error handlingDavid Storch2017-02-061-2/+3
|
* SERVER-27924 improve comment around event signaling in AsyncResultsMergerEsha Maharishi2017-02-061-3/+4
|
* SERVER-27460 fix RouterStageMerge::kill() crash during mongos shutdownDavid Storch2017-01-181-0/+6
|
* SERVER-27207 populate merge queue in AsyncResultsMerger when encountering ↵Kyle Suarez2016-12-011-0/+6
| | | | ResolvedView
* SERVER-26859 AsyncResultsMerger replica set retargeting may block the ASIO ↵Randolph Tan2016-11-081-11/+21
| | | | | | callback threads When the handleResponse callback encounters a retriable error. Signal the merger thread for it to retry instead of trying to reschedule inline since rescheduling involves re-evaluating the target host which is a blocking operation.
* SERVER-24600 Increase interruptibility of RemoteCommandTargeter::findHost.Andy Schwerin2016-09-071-2/+1
| | | | | By making more calls of RemoteCommandTargeter::findHost interruptible, this change speeds up the shutdown of mongos when no config servers are discoverable.
* SERVER-24067 TaskExecutor RemoteCommandCallbackArgs should include elapsedMS ↵Waley Chen2016-08-031-4/+4
| | | | and metadata
* SERVER-24762 Support for views on sharded collectionsJames Wahlin2016-07-291-14/+47
|
* SERVER-24615 Add support for OperationContext in EgressMetadataHookMark Benvenuto2016-07-261-3/+11
|
* SERVER-24991 Redact streaming log messagesDan Pasette2016-07-201-1/+1
| | | | Reviewed all relevant files in src/mongo/s..
* SERVER-25049 shardingOnDraining should not fassert on InterruptedAtShutdownRandolph Tan2016-07-141-1/+1
|
* SERVER-24122 make SORT_KEY_GENERATOR convert strings in sort keys to ICU ↵David Storch2016-05-311-0/+2
| | | | | | | comparison keys This means that mongos merge sorting, which is done via $sortKey meta projection, can be done correctly without a CollatorInterface.
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-7/+10
|
* SERVER-23213 Remove all users of ShardRegistry::kAllRetriableErrorsSpencer T Brody2016-05-031-33/+42
| | | | This reverts commit f294d1dcd4884857d693b0f8a33cf1a6be434409.
* Revert "SERVER-23213 Remove all users of ShardRegistry::kAllRetriableErrors"Kyle Suarez2016-05-031-42/+33
| | | | This reverts commit 21cfba12a005431b08a8c69dcdb1f262622ea780.
* SERVER-23213 Remove all users of ShardRegistry::kAllRetriableErrorsSpencer T Brody2016-05-021-33/+42
|
* SERVER-23498 Add ShardFactoryMisha Tyulenev2016-04-141-2/+2
|
* SERVER-22027 Sharding should not retry killed operationsKaloian Manassiev2015-12-301-14/+7
| | | | | | This change introduces a different interruption code (11602) which will be used to kill operations during replication primary stepdown so the config server retry logic can differentiate them from user-killed operations.
* Revert "SERVER-22027 Sharding should not retry killed operations"Kaloian Manassiev2015-12-301-7/+14
| | | | This reverts commit 5d2d6e209acd862324612c7f9c41d65940f8dcba.
* SERVER-22027 Sharding should not retry killed operationsKaloian Manassiev2015-12-301-14/+7
|
* SERVER-21392 Make CSRS config server updates retryKaloian Manassiev2015-11-171-1/+1
| | | | | | This change makes the CSRS config server update operations used by the distributed lock manager and by the metadata updates to retry on NotMaster and network errors.
* SERVER-21392 Make commands retry on interrupted operationsKaloian Manassiev2015-11-161-1/+1
|
* SERVER-21416 remove OperationContext pointer from AsyncResultsMergerDavid Storch2015-11-121-6/+7
|
* SERVER-21272 Make RemoteCommandTargeter use timeout for findHostKaloian Manassiev2015-11-111-1/+2
| | | | | | This change removes all back-off logic from ShardRegistry and CatalogManagerReplicaSet and defers it all to the wait time capability of the ReplicaSetMonitor (through RemoteCommandTargeter).
* SERVER-21218 make mongos forward maxTimeMS on getMore command to mongodDavid Storch2015-11-051-4/+18
|
* SERVER-20949 thread params object to AsyncResultsMerger by rvalue referenceDavid Storch2015-10-301-1/+1
|
* SERVER-20880 Add move support to CursorResponse classJason Rassi2015-10-151-10/+10
|
* SERVER-20646 Cluster find command per-host retry logicKaloian Manassiev2015-10-131-12/+41
| | | | | | | | This change makes the cluster 'find' command to retry on a per-host basis instead of the entire operation. Reverts commit c433c8157f988a377c1cf9646078450ecd68c297. Reverts commit 5ab3290f8796f2143acd5011ab0baae70ed5cece.
* SERVER-20646 Move remote cursor host targeting inside the AsyncResultsMergerKaloian Manassiev2015-10-131-42/+90
| | | | | | | No functional changes, just moves the resolution of the remote cursor's host to happen inside the AsyncResultsMerger instead of at the level of the entire find command. Also hooks the async merger tests with the sharding test fixture so they can access all objects.