[SERVER-79641] Mirrored read should attach encryptionInformation from the original command Created: 02/Aug/23  Updated: 29/Oct/23  Resolved: 17/Aug/23

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

Type: Improvement Priority: Major - P3
Reporter: Wenbin Zhu Assignee: Erwin Pe
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Duplicate
duplicates SERVER-79638 Test mirror reads with QE Closed
Assigned Teams:
Server Security
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.0
Sprint: Security 2023-08-21
Participants:

 Description   

Currently when sending out mirrored read requests we do not attach encryptionInformation from the original command (e.g. here).

Although the mirrored read results are ignored, encryptionInformation is still useful to filter out QE stuff out of slow query log lines.

We should attach encryptionInformation for every mirrorable command.



 Comments   
Comment by Githook User [ 22/Aug/23 ]

Author:

{'name': 'Erwin Pe', 'email': 'erwin.pe@mongodb.com', 'username': 'erwee'}

Message: SERVER-79641 Attach encryptionInformation to QE mirrored reads

(cherry picked from commit 5d697ccb916a0554bd0b0180ec330c5e2f806967)
Branch: v7.0
https://github.com/mongodb/mongo/commit/55d7ac73a0ce97785266ca48e721028aa24420b3

Comment by Githook User [ 17/Aug/23 ]

Author:

{'name': 'Erwin Pe', 'email': 'erwin.pe@mongodb.com', 'username': 'erwee'}

Message: SERVER-79641 Attach encryptionInformation to QE mirrored reads
Branch: master
https://github.com/mongodb/mongo/commit/5d697ccb916a0554bd0b0180ec330c5e2f806967

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