We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7518535 commit d478862Copy full SHA for d478862
1 file changed
driver-core/src/main/com/mongodb/internal/connection/OperationContext.java
@@ -270,7 +270,7 @@ public void onAttemptFailure(final Throwable failure) {
270
return;
271
}
272
273
- // As per spec: sharded clusters deprioritize on any error,
+ // As per spec: sharded clusters deprioritize on any error,
274
// other topologies deprioritize on overload only when retargeting is enabled.
275
boolean isSystemOverloadedError = failure instanceof MongoException
276
&& ((MongoException) failure).hasErrorLabel(SYSTEM_OVERLOADED_ERROR_LABEL);
0 commit comments