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

Using read preference causes stale version info

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.2.4
    • Component/s: Sharding
    • Labels:
      None
    • ALL

      For a sharded setup there are stale config version issues when read preference primary is used.
      This problem appears to go away when read preference is removed. The logs when this problem happens indicate that when a stale config is detected mongos is using a different connection when calling setShardVersion and then doing the query.

            Assignee:
            Unassigned Unassigned
            Reporter:
            charlie.page@10gen.com Charlie Page
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: