ReplicaSetMonitor converts all failed host errors to FailedToSatisfyReadPreference

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Sharding
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When the ReplicaSetMonitor fails to connect to a host (e.g. during TaskExecutor::scheduleRemoteCommand, it marks nodes that it failed to connect to and keeps retrying until it times out then throws FailedToSatisfyReadPreference errors. Therefore, errors such as IncompatibleServerVersion are not returned to the client.

            Assignee:
            [DO NOT USE] Backlog - Sharding Team
            Reporter:
            Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: