Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2775

Query sharded collection stuck with readPreference Secondary

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.4.2
    • Component/s: Connection Management
    • Labels:
      None
    • Environment:
      MongoDBServer 3.4.5

      Program querying sharding collection hanged with no timeout when using read preference Secondary and SecondaryPreferred.
      It worked using Primary and PrimaryPreferred.
      All read preference works querying non-shard collection on the same cluster.

            Assignee:
            Unassigned Unassigned
            Reporter:
            BrianShou BrianShou [X]
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: