[SERVER-75284] Add validation to originalQuery and originalCollation for sampled queries Created: 24/Mar/23  Updated: 29/Oct/23  Resolved: 27/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Jason Zhang Assignee: Kruti Shah
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Sharding NYC
Backwards Compatibility: Minor Change
Sprint: Sharding NYC 2023-04-03, Sharding NYC 2023-04-17, Sharding NYC 2023-05-01
Participants:

 Description   

Add validation that _clusterWriteWithoutShardKey commands that have $_originalQuery and $_originalCollation set are coming from internal clients

The validation should happen here, here and here.
It should do something like this.



 Comments   
Comment by Githook User [ 27/Apr/23 ]

Author:

{'name': 'Kruti Shah', 'email': 'kruti139@gmail.com', 'username': 'krutishah139'}

Message: SERVER-75284 Add validation for originalQuery and originalCollation
Branch: master
https://github.com/mongodb/mongo/commit/83bbc152b713cbf78bbe97bd60fb1dda95f109e4

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