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

DBClientRS should check that pinned hosts still match read preference

    • Type: Icon: Bug Bug
    • Resolution: Incomplete
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.6.0-rc1
    • Component/s: Internal Client
    • Labels:
      None
    • ALL

      Similar to SERVER-12583 which only checked for whether we thought the host was up or down. We should also check that other requirements of the read preference are still acceptable.

      One complication that may need to be considered is what to do if there is now a "better" host that we should use. As an example if we were using PrimaryPreferred and settled for a secondary, should we unpin when a primary becomes available. What about hosts with lower ping times or that match an earlier tag predicate?

            Assignee:
            Unassigned Unassigned
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: