@@ -857,6 +857,7 @@ _mongoc_cluster_auth_node_cr (mongoc_cluster_t *cluster,
857
857
bson_append_int32 (& command , "getnonce" , 8 , 1 );
858
858
mongoc_cmd_parts_init (
859
859
& parts , cluster -> client , auth_source , MONGOC_QUERY_SLAVE_OK , & command );
860
+ parts .prohibit_lsid = true;
860
861
server_stream = _mongoc_cluster_create_server_stream (
861
862
cluster -> client -> topology , sd -> id , stream , error );
862
863
@@ -898,6 +899,7 @@ _mongoc_cluster_auth_node_cr (mongoc_cluster_t *cluster,
898
899
*/
899
900
mongoc_cmd_parts_init (
900
901
& parts , cluster -> client , auth_source , MONGOC_QUERY_SLAVE_OK , & command );
902
+ parts .prohibit_lsid = true;
901
903
ret = mongoc_cluster_run_command_parts (
902
904
cluster , server_stream , & parts , & reply , error );
903
905
@@ -983,6 +985,7 @@ _mongoc_cluster_auth_node_plain (mongoc_cluster_t *cluster,
983
985
984
986
mongoc_cmd_parts_init (
985
987
& parts , cluster -> client , "$external" , MONGOC_QUERY_SLAVE_OK , & b );
988
+ parts .prohibit_lsid = true;
986
989
server_stream = _mongoc_cluster_create_server_stream (
987
990
cluster -> client -> topology , sd -> id , stream , error );
988
991
ret = mongoc_cluster_run_command_parts (
@@ -1055,6 +1058,7 @@ _mongoc_cluster_auth_node_x509 (mongoc_cluster_t *cluster,
1055
1058
1056
1059
mongoc_cmd_parts_init (
1057
1060
& parts , cluster -> client , "$external" , MONGOC_QUERY_SLAVE_OK , & cmd );
1061
+ parts .prohibit_lsid = true;
1058
1062
server_stream = _mongoc_cluster_create_server_stream (
1059
1063
cluster -> client -> topology , sd -> id , stream , error );
1060
1064
ret = mongoc_cluster_run_command_parts (
@@ -1151,6 +1155,7 @@ _mongoc_cluster_auth_node_scram (mongoc_cluster_t *cluster,
1151
1155
1152
1156
mongoc_cmd_parts_init (
1153
1157
& parts , cluster -> client , auth_source , MONGOC_QUERY_SLAVE_OK , & cmd );
1158
+ parts .prohibit_lsid = true;
1154
1159
server_stream = _mongoc_cluster_create_server_stream (
1155
1160
cluster -> client -> topology , sd -> id , stream , error );
1156
1161
if (!mongoc_cluster_run_command_parts (
@@ -2234,6 +2239,7 @@ mongoc_cluster_check_interval (mongoc_cluster_t *cluster, uint32_t server_id)
2234
2239
BSON_APPEND_INT32 (& command , "ping" , 1 );
2235
2240
mongoc_cmd_parts_init (
2236
2241
& parts , cluster -> client , "admin" , MONGOC_QUERY_SLAVE_OK , & command );
2242
+ parts .prohibit_lsid = true;
2237
2243
server_stream = _mongoc_cluster_create_server_stream (
2238
2244
cluster -> client -> topology , server_id , stream , & error );
2239
2245
r = mongoc_cluster_run_command_parts (
0 commit comments