Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-33609

Pass readConcernLevel to Wiredtiger Recovery Unit

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.3
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Storage NYC 2018-03-12

      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.

            Assignee:
            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            Reporter:
            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: