[SERVER-71229] Make shardsvr mongods also act as a sampler for query sampling Created: 09/Nov/22 Updated: 29/Oct/23 Resolved: 11/Nov/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.2.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Cheahuychou Mao | Assignee: | Cheahuychou Mao |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Sharding NYC 2022-11-14 | ||||||||
| Participants: | |||||||||
| Description |
|
$lookup, $graphLookup and $unionWith stages take in a "pipeline" that can be executed against any collection. Such nested aggregate queries do not go through mongoses since they are routed by the shardsvr mongods themselves. To support sampling such queries, we need to allow shardsvr mongods to act as a sampler (i.e. QueryAnalysisSampler). |
| Comments |
| Comment by Githook User [ 11/Nov/22 ] |
|
Author: {'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}Message: |