[DOCS-13229] Conflicting info about Aggregation pipelines and sharded collections Created: 15/Nov/19 Updated: 30/Oct/23 Due: 19/Feb/21 Resolved: 02/Mar/21 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual, Server |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Sheeri Cabral (Inactive) | Assignee: | Andrew Feierabend (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Participants: | |||||||||||||
| Days since reply: | 2 years, 49 weeks, 1 day ago | ||||||||||||
| Epic Link: | DOCSP-11701 | ||||||||||||
| Story Points: | 2 | ||||||||||||
| Description |
Description
But the docs for mongos https://docs.mongodb.com/manual/core/sharded-cluster-query-router/#routing-and-results-process say "Changed in version 3.6: For aggregation operations that run on multiple shards, if the operations do not require running on the database’s primary shard, these operations may route the results back to the mongos where the results are then merged."
I asked in slack and Asya confirmed that the latter is the appropriate version - with the clarification that "may" is: If the operations do not require running on the database’s primary shard, and need to be merged on a shard, they are merged on a random shard which may include the primary. If the operations do not require running on the database’s primary shard, and DO NOT need to be merged on a shard, they are merged on the mongos.
Scope of changesImpact to Other DocsMVP (Work and Date)Resources (Scope or Design Docs, Invision, etc.) |
| Comments |
| Comment by Githook User [ 02/Mar/21 ] |
|
Author: {'name': 'Andrew Feierabend', 'email': 'andrew.feierabend@mongodb.com', 'username': 'andf-mongodb'}Message: |
| Comment by Githook User [ 02/Mar/21 ] |
|
Author: {'name': 'Andrew Feierabend', 'email': 'andrew.feierabend@mongodb.com', 'username': 'andf-mongodb'}Message: |
| Comment by Githook User [ 02/Mar/21 ] |
|
Author: {'name': 'Andrew Feierabend', 'email': 'andrew.feierabend@mongodb.com', 'username': 'andf-mongodb'}Message: |
| Comment by Githook User [ 02/Mar/21 ] |
|
Author: {'name': 'Andrew Feierabend', 'email': 'andrew.feierabend@mongodb.com', 'username': 'andf-mongodb'}Message: |
| Comment by Githook User [ 02/Mar/21 ] |
|
Author: {'name': 'Andrew Feierabend', 'email': 'andrew.feierabend@mongodb.com', 'username': 'andf-mongodb'}Message: |