Skip to content

Commit 0c3f61a

Browse files
committed
comment
1 parent 05c2849 commit 0c3f61a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libmongoc/src/mongoc/mongoc-topology.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,6 +1013,7 @@ mongoc_topology_select_server_id (mongoc_topology_t *topology,
10131013

10141014
if (topology->description.type == MONGOC_TOPOLOGY_LOADBALANCED) {
10151015
/* Bypass server selection loop. Always select the only server. */
1016+
// LBTODO: this will not work for PHP. Single threaded server selection must imply connection establishment.
10161017
selected_server = mongoc_topology_description_select (
10171018
&topology->description, optype, read_prefs, local_threshold_ms);
10181019

0 commit comments

Comments
 (0)