[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:
Depends
is depended on by SERVER-71141 Support sampling nested aggregate que... Closed
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: SERVER-71229 Make shardsvr mongod also act as a sampler for query analysis
Branch: master
https://github.com/mongodb/mongo/commit/10f9ad49bd128b6b95804f12a641cbab684a34ca

Generated at Thu Feb 08 06:18:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.