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

Make extractHedgeOptions take in ReadPreferenceSetting

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.4
    • None
    • Sharding
    • None
    • Fully Compatible
    • Service Arch 2020-02-24

    Description

      extractHedgeOptions should take in the read preference from the AsyncRemoteSender instead of from the operation context which we sometime override to specify primary only for writes. Also, this function was not updated correctly in SERVER-46234, it should not take in cmdObj anymore. 

      Attachments

        Activity

          People

            cheahuychou.mao@mongodb.com Cheahuychou Mao
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: