[SERVER-62666] Use explicit read concern in EncryptedDBClientBase and ImplicitEncryptedDBClientBase Created: 14/Jan/22  Updated: 29/Oct/23  Resolved: 28/Jan/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0

Type: Improvement Priority: Major - P3
Reporter: Gabriel Marks Assignee: Mark Benvenuto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-62214 Use explicit read concern in InitialS... Closed
related to SERVER-62713 Ensure internal readers set explicit ... Backlog
Backwards Compatibility: Fully Compatible
Sprint: Security 2022-01-24, Security 2022-02-07
Participants:

 Description   

https://github.com/10gen/mongo/blob/19080405d9c7d08b54e70228a92d237223f2885c/src/mongo/shell/encrypted_dbclient_base.cpp#L633

https://github.com/10gen/mongo-enterprise-modules/blob/deb67757a28ed4bbb0d78f0af1da4eae9dfcbed5/src/fle/shell/implicit_encrypted_dbclient.cpp#L330

The implicit default read concern is used in these places, but this is a default that can be modified by the user. It would probably be better to use an explicit read concern here instead.



 Comments   
Comment by Githook User [ 28/Jan/22 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-62666 Use explicit read concern in EncryptedDBClientBase and ImplicitEncryptedDBClientBase
Branch: master
https://github.com/mongodb/mongo/commit/c2a2cbbffea005de6e71e0d1e8888b37e303ee35

Comment by Githook User [ 28/Jan/22 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-62666 Use explicit read concern in EncryptedDBClientBase and ImplicitEncryptedDBClientBase
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/e7a3aa4a40e9b72fae9d288e0d43be99b3aaff78

Generated at Thu Feb 08 05:55:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.