Skip to content

Commit b86de94

Browse files
committed
CDRIVER-1363 bug in tag_sets filter.
Servers already excluded for being too stale mustn't be counted as matching the tag_sets.
1 parent 0f45f09 commit b86de94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mongoc/mongoc-server-description.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -782,6 +782,7 @@ mongoc_server_description_filter_tags (mongoc_server_description_t **description
782782
for (i = 0; i < description_len; i++) {
783783
if (!descriptions[i]) {
784784
/* NULLed earlier in mongoc_topology_description_suitable_servers */
785+
found--;
785786
continue;
786787
}
787788

0 commit comments

Comments
 (0)