[SERVER-33609] Pass readConcernLevel to Wiredtiger Recovery Unit Created: 02/Mar/18  Updated: 29/Oct/23  Resolved: 09/Mar/18

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

Type: Improvement Priority: Major - P3
Reporter: Xiangyu Yao (Inactive) Assignee: Xiangyu Yao (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-03-12
Participants:

 Description   

In SERVER-33311, we need to be able to store the readConcernLevel in a wiredtiger recovery unit. setReadFromMajorityCommittedSnapshot() seems like the right place to set readConcernLevel since we call setReadFromMajorityCommittedSnapshot() in getMore command to set the readConcernLevel to MajorityCommitted.

setReadFromMajorityCommittedSnapshot() should probably be renamed to setReadConcernLevel() and the boolean member variable _readFromMajorityCommittedSnapshot should be extended to a ReadConcernLevel enum class called _readConcernLevel.



 Comments   
Comment by Githook User [ 09/Mar/18 ]

Author:

{'email': 'xiangyu.yao@mongodb.com', 'name': 'Xiangyu Yao', 'username': 'xy24'}

Message: SERVER-33609 Pass readConcernLevel to WiredTigerRecoveryUnit
Branch: master
https://github.com/mongodb/mongo/commit/4ef0fe789ef349307c4cffd6548dc8657059cca5

Generated at Thu Feb 08 04:34:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.