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

Make RemoteCommandTargeterRS return StepDown

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 5.0.0, 6.0.0, 7.0.0, 8.1.0-rc0, 8.0.0
    • Component/s: None
    • None
    • Networking & Observability
    • ALL
    • 0

      The remote command targeter is responsible to find the host and the port given a read preference. The logic is based on accessing to the streamable replicaset monitor to retrieve the information and return its output. 
      An interrupted operation will cause the streamable replica set monitor to return FailedToSatisfyReadPreference independently on the actual cause. The error is not retriable and can cause several operation to fail prematurely when they could be retried by the router on a sharded cluster. 
      In case of interrupted operation, we should report the actual error, as done by the same logic before accessing the streamable replicaset monitor.

            Assignee:
            didier.nadeau@mongodb.com Didier Nadeau
            Reporter:
            enrico.golfieri@mongodb.com Enrico Golfieri
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: