Make extractHedgeOptions take in ReadPreferenceSetting

XMLWordPrintableJSON

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

      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
            Reporter:
            Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: