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
15921592 NULL , /* MONGOC_TOPOLOGY_SHARDED */
15931593 NULL , /* MONGOC_TOPOLOGY_RS_NO_PRIMARY */
15941594 _mongoc_topology_description_check_if_has_primary /* MONGOC_TOPOLOGY_RS_WITH_PRIMARY
1595- */
1595+ */
15961596 },
15971597 {/* STANDALONE */
15981598 _mongoc_topology_description_update_unknown_with_standalone ,
@@ -1706,7 +1706,8 @@ _mongoc_topology_description_check_compatible (
17061706 for (i = 0 ; i < td -> servers -> items_len ; i ++ ) {
17071707 sd = (mongoc_server_description_t * ) mongoc_set_get_item (td -> servers ,
17081708 (int ) i );
1709- if (sd -> type == MONGOC_SERVER_UNKNOWN ) {
1709+ if (sd -> type == MONGOC_SERVER_UNKNOWN ||
1710+ sd -> type == MONGOC_SERVER_POSSIBLE_PRIMARY ) {
17101711 continue ;
17111712 }
17121713
You can’t perform that action at this time.
0 commit comments