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

Check majority ReadConcern settings in linearizable reads

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.3.12
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2016-08-29
    • 0

    Description

      In ReplicationCoordinatorImpl::waitUntilOpTimeForRead(), we check if majority read can be satisfied for the following settings.

      getSettings().isMajorityReadConcernEnabled()
      getReplicationMode()
      _externalState->snapshotsEnabled()
      

      We need to either duplicate them or pull them out of waitUntilOpTimeForRead() to read_concern.cpp. We also need to audit the callers of waitUntilOpTimeForRead() if we change it.

      Attachments

        Activity

          People

            siyuan.zhou@mongodb.com Siyuan Zhou
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: