You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -2239,7 +2240,18 @@ private static PartitionIterator fetchRows(List<SinglePartitionReadCommand> comm
2239
2240
// set of replicas we sent messages to, speculatively send an additional messages to an un-contacted replica
2240
2241
for (inti=0; i<cmdCount; i++)
2241
2242
{
2242
-
reads[i].maybeTryAdditionalReplicas();
2243
+
try
2244
+
{
2245
+
reads[i].maybeTryAdditionalReplicas();
2246
+
}
2247
+
catch (UnknownEndpointExceptionex)
2248
+
{
2249
+
logger.debug("Failed to send speculative read retries; The target replica is not known: {}", ex.getMessage());
2250
+
}
2251
+
catch (Exceptionex)
2252
+
{
2253
+
logger.warn("Caught exception during speculative read retry; This is unexpected, but we're ignoring it because spec retry is just a best-effort attempt;", ex);
2254
+
}
2243
2255
}
2244
2256
2245
2257
// wait for enough responses to meet the consistency level. If there's a digest mismatch, begin the read
0 commit comments