File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1592,7 +1592,7 @@ transition_t gSDAMTransitionTable
1592
1592
NULL , /* MONGOC_TOPOLOGY_SHARDED */
1593
1593
NULL , /* MONGOC_TOPOLOGY_RS_NO_PRIMARY */
1594
1594
_mongoc_topology_description_check_if_has_primary /* MONGOC_TOPOLOGY_RS_WITH_PRIMARY
1595
- */
1595
+ */
1596
1596
},
1597
1597
{/* STANDALONE */
1598
1598
_mongoc_topology_description_update_unknown_with_standalone ,
@@ -1706,7 +1706,8 @@ _mongoc_topology_description_check_compatible (
1706
1706
for (i = 0 ; i < td -> servers -> items_len ; i ++ ) {
1707
1707
sd = (mongoc_server_description_t * ) mongoc_set_get_item (td -> servers ,
1708
1708
(int ) i );
1709
- if (sd -> type == MONGOC_SERVER_UNKNOWN ) {
1709
+ if (sd -> type == MONGOC_SERVER_UNKNOWN ||
1710
+ sd -> type == MONGOC_SERVER_POSSIBLE_PRIMARY ) {
1710
1711
continue ;
1711
1712
}
1712
1713
You can’t perform that action at this time.
0 commit comments