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

Query sharded collection stuck with readPreference Secondary

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 3.4.2
    • Connection Management
    • None
    • MongoDBServer 3.4.5

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: