-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 5.0.0, 6.0.0, 7.0.0, 8.1.0-rc0, 8.0.0
-
Component/s: Networking
-
None
-
Networking & Observability
-
Fully Compatible
-
ALL
-
v8.0, v7.0
-
200
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.