Skip to content

Commit d478862

Browse files
authored
Apply suggestion from @rozza
1 parent 7518535 commit d478862

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

driver-core/src/main/com/mongodb/internal/connection/OperationContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public void onAttemptFailure(final Throwable failure) {
270270
return;
271271
}
272272

273-
// As per spec: sharded clusters deprioritize on any error,
273+
// As per spec: sharded clusters deprioritize on any error,
274274
// other topologies deprioritize on overload only when retargeting is enabled.
275275
boolean isSystemOverloadedError = failure instanceof MongoException
276276
&& ((MongoException) failure).hasErrorLabel(SYSTEM_OVERLOADED_ERROR_LABEL);

0 commit comments

Comments
 (0)