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

Make extractHedgeOptions take in ReadPreferenceSetting

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Service Arch 2020-02-24

      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. 

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

              Created:
              Updated:
              Resolved: