[SERVER-66366] mongos passes encryptionInformation from BatchedCommandRequest to shards after rewrite for explain commands Created: 10/May/22 Updated: 29/Oct/23 Resolved: 11/May/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc6, 6.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Davis Haupt (Inactive) | Assignee: | Davis Haupt (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v6.0
|
||||||||
| Sprint: | QO 2022-05-16 | ||||||||
| Participants: | |||||||||
| Description |
|
Mongos doesn't remove the encryptionInformation from a DeleteRequest or a UpdateRequest after performing the server-side rewrite like it does for all other commands. This means that the explain command is forwarded on to each shard with encryptionInformation, and the shards attempt to perform rewrites. While this is a no-op, internal distributed transactions from mongod nodes within a sharded cluster are not supported and may have unintended consequences. |
| Comments |
| Comment by Githook User [ 13/May/22 ] |
|
Author: {'name': 'Davis Haupt', 'email': 'davis.haupt@mongodb.com', 'username': 'davish'}Message: |
| Comment by Githook User [ 11/May/22 ] |
|
Author: {'name': 'Davis Haupt', 'email': 'davis.haupt@mongodb.com', 'username': 'davish'}Message: |