@@ -857,6 +857,7 @@ _mongoc_cluster_auth_node_cr (mongoc_cluster_t *cluster,
857857 bson_append_int32 (& command , "getnonce" , 8 , 1 );
858858 mongoc_cmd_parts_init (
859859 & parts , cluster -> client , auth_source , MONGOC_QUERY_SLAVE_OK , & command );
860+ parts .prohibit_lsid = true;
860861 server_stream = _mongoc_cluster_create_server_stream (
861862 cluster -> client -> topology , sd -> id , stream , error );
862863
@@ -898,6 +899,7 @@ _mongoc_cluster_auth_node_cr (mongoc_cluster_t *cluster,
898899 */
899900 mongoc_cmd_parts_init (
900901 & parts , cluster -> client , auth_source , MONGOC_QUERY_SLAVE_OK , & command );
902+ parts .prohibit_lsid = true;
901903 ret = mongoc_cluster_run_command_parts (
902904 cluster , server_stream , & parts , & reply , error );
903905
@@ -983,6 +985,7 @@ _mongoc_cluster_auth_node_plain (mongoc_cluster_t *cluster,
983985
984986 mongoc_cmd_parts_init (
985987 & parts , cluster -> client , "$external" , MONGOC_QUERY_SLAVE_OK , & b );
988+ parts .prohibit_lsid = true;
986989 server_stream = _mongoc_cluster_create_server_stream (
987990 cluster -> client -> topology , sd -> id , stream , error );
988991 ret = mongoc_cluster_run_command_parts (
@@ -1055,6 +1058,7 @@ _mongoc_cluster_auth_node_x509 (mongoc_cluster_t *cluster,
10551058
10561059 mongoc_cmd_parts_init (
10571060 & parts , cluster -> client , "$external" , MONGOC_QUERY_SLAVE_OK , & cmd );
1061+ parts .prohibit_lsid = true;
10581062 server_stream = _mongoc_cluster_create_server_stream (
10591063 cluster -> client -> topology , sd -> id , stream , error );
10601064 ret = mongoc_cluster_run_command_parts (
@@ -1151,6 +1155,7 @@ _mongoc_cluster_auth_node_scram (mongoc_cluster_t *cluster,
11511155
11521156 mongoc_cmd_parts_init (
11531157 & parts , cluster -> client , auth_source , MONGOC_QUERY_SLAVE_OK , & cmd );
1158+ parts .prohibit_lsid = true;
11541159 server_stream = _mongoc_cluster_create_server_stream (
11551160 cluster -> client -> topology , sd -> id , stream , error );
11561161 if (!mongoc_cluster_run_command_parts (
@@ -2234,6 +2239,7 @@ mongoc_cluster_check_interval (mongoc_cluster_t *cluster, uint32_t server_id)
22342239 BSON_APPEND_INT32 (& command , "ping" , 1 );
22352240 mongoc_cmd_parts_init (
22362241 & parts , cluster -> client , "admin" , MONGOC_QUERY_SLAVE_OK , & command );
2242+ parts .prohibit_lsid = true;
22372243 server_stream = _mongoc_cluster_create_server_stream (
22382244 cluster -> client -> topology , server_id , stream , & error );
22392245 r = mongoc_cluster_run_command_parts (
0 commit comments