We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3373c14 commit 0cb9bf2Copy full SHA for 0cb9bf2
1 file changed
driver-core/src/main/com/mongodb/internal/connection/OperationContext.java
@@ -275,7 +275,7 @@ public List<ServerDescription> select(final ClusterDescription clusterDescriptio
275
.filter(serverDescription -> !deprioritized.contains(serverDescription.getAddress()))
276
.collect(toList());
277
278
- // TODO-JAVA-5908: Evaluate whether the early-return optimization has a meaningful performance impact on server selection.
+ // TODO-JAVA-5908: Evaluate whether using the early-return optimization has a meaningful performance impact on server selection.
279
if (nonDeprioritizedServerDescriptions.isEmpty()) {
280
return wrappedSelector.select(clusterDescription);
281
}
0 commit comments