mongo 2.13.1 → 2.19.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1899) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/README.md +36 -39
  4. data/Rakefile +49 -20
  5. data/bin/mongo_console +2 -0
  6. data/lib/mongo/active_support.rb +3 -0
  7. data/lib/mongo/address/ipv4.rb +4 -1
  8. data/lib/mongo/address/ipv6.rb +4 -1
  9. data/lib/mongo/address/unix.rb +3 -0
  10. data/lib/mongo/address/validator.rb +3 -0
  11. data/lib/mongo/address.rb +4 -1
  12. data/lib/mongo/auth/aws/conversation.rb +4 -8
  13. data/lib/mongo/auth/aws/credentials.rb +38 -0
  14. data/lib/mongo/auth/aws/credentials_cache.rb +75 -0
  15. data/lib/mongo/auth/aws/credentials_retriever.rb +174 -36
  16. data/lib/mongo/auth/aws/request.rb +3 -2
  17. data/lib/mongo/auth/aws.rb +8 -5
  18. data/lib/mongo/auth/base.rb +25 -9
  19. data/lib/mongo/auth/conversation_base.rb +35 -0
  20. data/lib/mongo/auth/cr/conversation.rb +9 -29
  21. data/lib/mongo/auth/cr.rb +3 -0
  22. data/lib/mongo/auth/credential_cache.rb +3 -0
  23. data/lib/mongo/auth/gssapi/conversation.rb +7 -15
  24. data/lib/mongo/auth/gssapi.rb +3 -0
  25. data/lib/mongo/auth/ldap/conversation.rb +6 -14
  26. data/lib/mongo/auth/ldap.rb +3 -0
  27. data/lib/mongo/auth/roles.rb +19 -16
  28. data/lib/mongo/auth/sasl_conversation_base.rb +4 -13
  29. data/lib/mongo/auth/scram/conversation.rb +3 -0
  30. data/lib/mongo/auth/scram.rb +5 -2
  31. data/lib/mongo/auth/scram256/conversation.rb +3 -0
  32. data/lib/mongo/auth/scram256.rb +3 -0
  33. data/lib/mongo/auth/scram_conversation_base.rb +10 -34
  34. data/lib/mongo/auth/stringprep/profiles/sasl.rb +3 -0
  35. data/lib/mongo/auth/stringprep/tables.rb +3 -0
  36. data/lib/mongo/auth/stringprep/unicode_normalize/normalize.rb +2 -2
  37. data/lib/mongo/auth/stringprep/unicode_normalize/tables.rb +2 -1
  38. data/lib/mongo/auth/stringprep.rb +4 -1
  39. data/lib/mongo/auth/user/view.rb +19 -9
  40. data/lib/mongo/auth/user.rb +3 -0
  41. data/lib/mongo/auth/x509/conversation.rb +7 -25
  42. data/lib/mongo/auth/x509.rb +3 -0
  43. data/lib/mongo/auth.rb +16 -2
  44. data/lib/mongo/background_thread.rb +16 -2
  45. data/lib/mongo/bson.rb +3 -0
  46. data/lib/mongo/bulk_write/combineable.rb +3 -0
  47. data/lib/mongo/bulk_write/ordered_combiner.rb +3 -0
  48. data/lib/mongo/bulk_write/result.rb +13 -1
  49. data/lib/mongo/bulk_write/result_combiner.rb +5 -4
  50. data/lib/mongo/bulk_write/transformable.rb +3 -0
  51. data/lib/mongo/bulk_write/unordered_combiner.rb +3 -0
  52. data/lib/mongo/bulk_write/validatable.rb +3 -0
  53. data/lib/mongo/bulk_write.rb +156 -45
  54. data/lib/mongo/caching_cursor.rb +77 -0
  55. data/lib/mongo/client.rb +367 -41
  56. data/lib/mongo/client_encryption.rb +217 -10
  57. data/lib/mongo/cluster/periodic_executor.rb +7 -3
  58. data/lib/mongo/cluster/reapers/cursor_reaper.rb +101 -43
  59. data/lib/mongo/cluster/reapers/socket_reaper.rb +4 -1
  60. data/lib/mongo/cluster/sdam_flow.rb +67 -17
  61. data/lib/mongo/cluster/topology/base.rb +16 -9
  62. data/lib/mongo/cluster/topology/load_balanced.rb +102 -0
  63. data/lib/mongo/cluster/topology/no_replica_set_options.rb +3 -0
  64. data/lib/mongo/cluster/topology/replica_set_no_primary.rb +3 -0
  65. data/lib/mongo/cluster/topology/replica_set_with_primary.rb +3 -0
  66. data/lib/mongo/cluster/topology/sharded.rb +3 -0
  67. data/lib/mongo/cluster/topology/single.rb +4 -1
  68. data/lib/mongo/cluster/topology/unknown.rb +3 -0
  69. data/lib/mongo/cluster/topology.rb +31 -8
  70. data/lib/mongo/cluster.rb +210 -116
  71. data/lib/mongo/cluster_time.rb +3 -0
  72. data/lib/mongo/collection/helpers.rb +43 -0
  73. data/lib/mongo/collection/queryable_encryption.rb +162 -0
  74. data/lib/mongo/collection/view/aggregation.rb +94 -24
  75. data/lib/mongo/collection/view/builder/aggregation.rb +19 -17
  76. data/lib/mongo/collection/view/builder/map_reduce.rb +18 -49
  77. data/lib/mongo/collection/view/builder.rb +3 -4
  78. data/lib/mongo/collection/view/change_stream/retryable.rb +3 -0
  79. data/lib/mongo/collection/view/change_stream.rb +71 -22
  80. data/lib/mongo/collection/view/explainable.rb +30 -8
  81. data/lib/mongo/collection/view/immutable.rb +3 -0
  82. data/lib/mongo/collection/view/iterable.rb +121 -24
  83. data/lib/mongo/collection/view/map_reduce.rb +76 -25
  84. data/lib/mongo/collection/view/readable.rb +147 -67
  85. data/lib/mongo/collection/view/writable.rb +296 -162
  86. data/lib/mongo/collection/view.rb +42 -41
  87. data/lib/mongo/collection.rb +356 -89
  88. data/lib/mongo/condition_variable.rb +58 -0
  89. data/lib/mongo/config/options.rb +63 -0
  90. data/lib/mongo/config/validators/option.rb +27 -0
  91. data/lib/mongo/config.rb +43 -0
  92. data/lib/mongo/crypt/auto_decryption_context.rb +3 -0
  93. data/lib/mongo/crypt/auto_encrypter.rb +142 -15
  94. data/lib/mongo/crypt/auto_encryption_context.rb +3 -0
  95. data/lib/mongo/crypt/binary.rb +3 -0
  96. data/lib/mongo/crypt/binding.rb +717 -151
  97. data/lib/mongo/crypt/context.rb +74 -5
  98. data/lib/mongo/crypt/data_key_context.rb +15 -104
  99. data/lib/mongo/crypt/encryption_io.rb +101 -64
  100. data/lib/mongo/crypt/explicit_decryption_context.rb +3 -0
  101. data/lib/mongo/crypt/explicit_encrypter.rb +235 -29
  102. data/lib/mongo/crypt/explicit_encryption_context.rb +78 -21
  103. data/lib/mongo/crypt/explicit_encryption_expression_context.rb +30 -0
  104. data/lib/mongo/crypt/handle.rb +171 -86
  105. data/lib/mongo/crypt/hooks.rb +28 -2
  106. data/lib/mongo/crypt/kms/aws/credentials.rb +83 -0
  107. data/lib/mongo/crypt/kms/aws/master_document.rb +78 -0
  108. data/lib/mongo/crypt/kms/aws.rb +20 -0
  109. data/lib/mongo/crypt/kms/azure/access_token.rb +54 -0
  110. data/lib/mongo/crypt/kms/azure/credentials.rb +103 -0
  111. data/lib/mongo/crypt/kms/azure/credentials_retriever.rb +122 -0
  112. data/lib/mongo/crypt/kms/azure/master_document.rb +79 -0
  113. data/lib/mongo/crypt/kms/azure.rb +21 -0
  114. data/lib/mongo/crypt/kms/credentials.rb +96 -0
  115. data/lib/mongo/crypt/kms/gcp/credentials.rb +127 -0
  116. data/lib/mongo/crypt/kms/gcp/credentials_retriever.rb +58 -0
  117. data/lib/mongo/crypt/kms/gcp/master_document.rb +99 -0
  118. data/lib/mongo/crypt/kms/gcp.rb +21 -0
  119. data/lib/mongo/crypt/kms/kmip/credentials.rb +68 -0
  120. data/lib/mongo/crypt/kms/kmip/master_document.rb +74 -0
  121. data/lib/mongo/crypt/kms/kmip.rb +19 -0
  122. data/lib/mongo/crypt/kms/local/credentials.rb +65 -0
  123. data/lib/mongo/crypt/kms/local/master_document.rb +43 -0
  124. data/lib/mongo/crypt/kms/local.rb +19 -0
  125. data/lib/mongo/crypt/kms/master_key_document.rb +65 -0
  126. data/lib/mongo/crypt/kms.rb +122 -0
  127. data/lib/mongo/crypt/kms_context.rb +3 -0
  128. data/lib/mongo/crypt/rewrap_many_data_key_context.rb +46 -0
  129. data/lib/mongo/crypt/rewrap_many_data_key_result.rb +37 -0
  130. data/lib/mongo/crypt/status.rb +11 -2
  131. data/lib/mongo/crypt.rb +18 -0
  132. data/lib/mongo/cursor/kill_spec.rb +76 -0
  133. data/lib/mongo/cursor.rb +150 -43
  134. data/lib/mongo/database/view.rb +55 -10
  135. data/lib/mongo/database.rb +95 -25
  136. data/lib/mongo/dbref.rb +4 -105
  137. data/lib/mongo/distinguishing_semaphore.rb +4 -1
  138. data/lib/mongo/error/auth_error.rb +3 -0
  139. data/lib/mongo/error/bad_load_balancer_target.rb +26 -0
  140. data/lib/mongo/error/bulk_write_error.rb +49 -5
  141. data/lib/mongo/error/change_stream_resumable.rb +3 -0
  142. data/lib/mongo/error/client_closed.rb +24 -0
  143. data/lib/mongo/error/closed_stream.rb +3 -0
  144. data/lib/mongo/error/connection_check_out_timeout.rb +3 -0
  145. data/lib/mongo/error/connection_perished.rb +5 -0
  146. data/lib/mongo/error/connection_unavailable.rb +27 -0
  147. data/lib/mongo/error/credential_check_error.rb +3 -0
  148. data/lib/mongo/error/crypt_error.rb +3 -0
  149. data/lib/mongo/error/extra_file_chunk.rb +3 -0
  150. data/lib/mongo/error/failed_string_prep_validation.rb +3 -0
  151. data/lib/mongo/error/file_not_found.rb +3 -0
  152. data/lib/mongo/error/handshake_error.rb +3 -0
  153. data/lib/mongo/error/insufficient_iteration_count.rb +3 -0
  154. data/lib/mongo/error/internal_driver_error.rb +25 -0
  155. data/lib/mongo/error/invalid_address.rb +3 -0
  156. data/lib/mongo/error/invalid_application_name.rb +3 -0
  157. data/lib/mongo/error/invalid_bulk_operation.rb +3 -0
  158. data/lib/mongo/error/invalid_bulk_operation_type.rb +3 -0
  159. data/lib/mongo/error/invalid_collection_name.rb +3 -0
  160. data/lib/mongo/error/invalid_config_option.rb +21 -0
  161. data/lib/mongo/error/invalid_cursor_operation.rb +3 -0
  162. data/lib/mongo/error/invalid_database_name.rb +3 -0
  163. data/lib/mongo/error/invalid_document.rb +3 -0
  164. data/lib/mongo/error/invalid_file.rb +3 -0
  165. data/lib/mongo/error/invalid_file_revision.rb +3 -0
  166. data/lib/mongo/error/invalid_max_connecting.rb +28 -0
  167. data/lib/mongo/error/invalid_min_pool_size.rb +3 -0
  168. data/lib/mongo/error/invalid_nonce.rb +3 -0
  169. data/lib/mongo/error/invalid_read_concern.rb +31 -0
  170. data/lib/mongo/error/invalid_read_option.rb +4 -1
  171. data/lib/mongo/error/invalid_replacement_document.rb +30 -9
  172. data/lib/mongo/error/invalid_server_auth_host.rb +3 -0
  173. data/lib/mongo/error/invalid_server_auth_response.rb +3 -0
  174. data/lib/mongo/error/invalid_server_preference.rb +3 -0
  175. data/lib/mongo/error/invalid_session.rb +3 -0
  176. data/lib/mongo/error/invalid_signature.rb +3 -0
  177. data/lib/mongo/error/invalid_transaction_operation.rb +3 -0
  178. data/lib/mongo/error/invalid_txt_record.rb +3 -0
  179. data/lib/mongo/error/invalid_update_document.rb +30 -7
  180. data/lib/mongo/error/invalid_uri.rb +3 -0
  181. data/lib/mongo/error/invalid_write_concern.rb +3 -0
  182. data/lib/mongo/error/kms_error.rb +3 -0
  183. data/lib/mongo/error/labelable.rb +72 -0
  184. data/lib/mongo/error/lint_error.rb +3 -0
  185. data/lib/mongo/error/max_bson_size.rb +3 -0
  186. data/lib/mongo/error/max_message_size.rb +3 -0
  187. data/lib/mongo/error/mismatched_domain.rb +3 -0
  188. data/lib/mongo/error/missing_connection.rb +27 -0
  189. data/lib/mongo/error/missing_file_chunk.rb +11 -2
  190. data/lib/mongo/error/missing_password.rb +3 -0
  191. data/lib/mongo/error/missing_resume_token.rb +3 -0
  192. data/lib/mongo/error/missing_scram_server_signature.rb +3 -0
  193. data/lib/mongo/error/missing_service_id.rb +26 -0
  194. data/lib/mongo/error/mongocryptd_spawn_error.rb +3 -0
  195. data/lib/mongo/error/multi_index_drop.rb +3 -0
  196. data/lib/mongo/error/need_primary_server.rb +3 -0
  197. data/lib/mongo/error/no_server_available.rb +3 -0
  198. data/lib/mongo/error/no_service_connection_available.rb +49 -0
  199. data/lib/mongo/error/no_srv_records.rb +3 -0
  200. data/lib/mongo/error/notable.rb +24 -0
  201. data/lib/mongo/error/operation_failure.rb +57 -87
  202. data/lib/mongo/error/parser.rb +69 -13
  203. data/lib/mongo/error/pool_cleared_error.rb +40 -0
  204. data/lib/mongo/error/pool_closed_error.rb +6 -16
  205. data/lib/mongo/error/pool_error.rb +45 -0
  206. data/lib/mongo/error/pool_paused_error.rb +40 -0
  207. data/lib/mongo/error/raise_original_error.rb +3 -0
  208. data/lib/mongo/error/read_write_retryable.rb +108 -0
  209. data/lib/mongo/error/sdam_error_detection.rb +16 -5
  210. data/lib/mongo/error/server_api_conflict.rb +26 -0
  211. data/lib/mongo/error/server_api_not_supported.rb +27 -0
  212. data/lib/mongo/error/server_certificate_revoked.rb +25 -0
  213. data/lib/mongo/error/server_not_usable.rb +36 -0
  214. data/lib/mongo/error/session_ended.rb +3 -0
  215. data/lib/mongo/error/session_not_materialized.rb +29 -0
  216. data/lib/mongo/error/sessions_not_supported.rb +3 -0
  217. data/lib/mongo/error/snapshot_session_invalid_server_version.rb +31 -0
  218. data/lib/mongo/error/snapshot_session_transaction_prohibited.rb +30 -0
  219. data/lib/mongo/error/socket_error.rb +3 -0
  220. data/lib/mongo/error/socket_timeout_error.rb +3 -0
  221. data/lib/mongo/error/unchangeable_collection_option.rb +3 -0
  222. data/lib/mongo/error/unexpected_chunk_length.rb +3 -0
  223. data/lib/mongo/error/unexpected_response.rb +3 -0
  224. data/lib/mongo/error/unknown_payload_type.rb +3 -0
  225. data/lib/mongo/error/unmet_dependency.rb +24 -0
  226. data/lib/mongo/error/unsupported_array_filters.rb +3 -0
  227. data/lib/mongo/error/unsupported_collation.rb +3 -0
  228. data/lib/mongo/error/unsupported_features.rb +3 -0
  229. data/lib/mongo/error/unsupported_message_type.rb +3 -0
  230. data/lib/mongo/error/unsupported_option.rb +17 -12
  231. data/lib/mongo/error/write_retryable.rb +3 -0
  232. data/lib/mongo/error.rb +31 -38
  233. data/lib/mongo/event/base.rb +3 -0
  234. data/lib/mongo/event/listeners.rb +3 -0
  235. data/lib/mongo/event/publisher.rb +3 -0
  236. data/lib/mongo/event/subscriber.rb +3 -0
  237. data/lib/mongo/event.rb +3 -0
  238. data/lib/mongo/grid/file/chunk.rb +6 -2
  239. data/lib/mongo/grid/file/info.rb +5 -1
  240. data/lib/mongo/grid/file.rb +3 -0
  241. data/lib/mongo/grid/fs_bucket.rb +86 -46
  242. data/lib/mongo/grid/stream/read.rb +28 -7
  243. data/lib/mongo/grid/stream/write.rb +3 -0
  244. data/lib/mongo/grid/stream.rb +3 -0
  245. data/lib/mongo/grid.rb +3 -0
  246. data/lib/mongo/id.rb +10 -5
  247. data/lib/mongo/index/view.rb +68 -58
  248. data/lib/mongo/index.rb +3 -0
  249. data/lib/mongo/lint.rb +5 -1
  250. data/lib/mongo/loggable.rb +5 -2
  251. data/lib/mongo/logger.rb +6 -3
  252. data/lib/mongo/monitoring/cmap_log_subscriber.rb +3 -0
  253. data/lib/mongo/monitoring/command_log_subscriber.rb +3 -0
  254. data/lib/mongo/monitoring/event/cmap/base.rb +3 -0
  255. data/lib/mongo/monitoring/event/cmap/connection_check_out_failed.rb +3 -0
  256. data/lib/mongo/monitoring/event/cmap/connection_check_out_started.rb +3 -0
  257. data/lib/mongo/monitoring/event/cmap/connection_checked_in.rb +3 -0
  258. data/lib/mongo/monitoring/event/cmap/connection_checked_out.rb +3 -0
  259. data/lib/mongo/monitoring/event/cmap/connection_closed.rb +3 -0
  260. data/lib/mongo/monitoring/event/cmap/connection_created.rb +3 -0
  261. data/lib/mongo/monitoring/event/cmap/connection_ready.rb +3 -0
  262. data/lib/mongo/monitoring/event/cmap/pool_cleared.rb +17 -4
  263. data/lib/mongo/monitoring/event/cmap/pool_closed.rb +3 -0
  264. data/lib/mongo/monitoring/event/cmap/pool_created.rb +3 -0
  265. data/lib/mongo/monitoring/event/cmap/pool_ready.rb +67 -0
  266. data/lib/mongo/monitoring/event/cmap.rb +4 -0
  267. data/lib/mongo/monitoring/event/command_failed.rb +38 -5
  268. data/lib/mongo/monitoring/event/command_started.rb +23 -3
  269. data/lib/mongo/monitoring/event/command_succeeded.rb +36 -3
  270. data/lib/mongo/monitoring/event/secure.rb +39 -5
  271. data/lib/mongo/monitoring/event/server_closed.rb +3 -0
  272. data/lib/mongo/monitoring/event/server_description_changed.rb +4 -1
  273. data/lib/mongo/monitoring/event/server_heartbeat_failed.rb +32 -18
  274. data/lib/mongo/monitoring/event/server_heartbeat_started.rb +3 -0
  275. data/lib/mongo/monitoring/event/server_heartbeat_succeeded.rb +30 -16
  276. data/lib/mongo/monitoring/event/server_opening.rb +3 -0
  277. data/lib/mongo/monitoring/event/topology_changed.rb +3 -0
  278. data/lib/mongo/monitoring/event/topology_closed.rb +3 -0
  279. data/lib/mongo/monitoring/event/topology_opening.rb +3 -0
  280. data/lib/mongo/monitoring/event.rb +3 -0
  281. data/lib/mongo/monitoring/publishable.rb +38 -12
  282. data/lib/mongo/monitoring/sdam_log_subscriber.rb +3 -0
  283. data/lib/mongo/monitoring/server_closed_log_subscriber.rb +3 -0
  284. data/lib/mongo/monitoring/server_description_changed_log_subscriber.rb +3 -0
  285. data/lib/mongo/monitoring/server_opening_log_subscriber.rb +3 -0
  286. data/lib/mongo/monitoring/topology_changed_log_subscriber.rb +3 -0
  287. data/lib/mongo/monitoring/topology_closed_log_subscriber.rb +3 -0
  288. data/lib/mongo/monitoring/topology_opening_log_subscriber.rb +3 -0
  289. data/lib/mongo/monitoring/unified_sdam_log_subscriber.rb +3 -0
  290. data/lib/mongo/monitoring.rb +20 -8
  291. data/lib/mongo/operation/aggregate/op_msg.rb +3 -0
  292. data/lib/mongo/operation/aggregate/result.rb +12 -8
  293. data/lib/mongo/operation/aggregate.rb +4 -2
  294. data/lib/mongo/operation/collections_info/result.rb +24 -1
  295. data/lib/mongo/operation/collections_info.rb +10 -2
  296. data/lib/mongo/operation/command/op_msg.rb +9 -0
  297. data/lib/mongo/operation/command.rb +4 -2
  298. data/lib/mongo/operation/context.rb +138 -0
  299. data/lib/mongo/operation/count/op_msg.rb +12 -0
  300. data/lib/mongo/operation/count.rb +4 -2
  301. data/lib/mongo/operation/create/op_msg.rb +13 -0
  302. data/lib/mongo/operation/create.rb +4 -2
  303. data/lib/mongo/operation/create_index/op_msg.rb +21 -4
  304. data/lib/mongo/operation/create_index.rb +4 -2
  305. data/lib/mongo/operation/create_user/op_msg.rb +3 -0
  306. data/lib/mongo/operation/create_user.rb +4 -2
  307. data/lib/mongo/operation/delete/bulk_result.rb +5 -0
  308. data/lib/mongo/operation/delete/op_msg.rb +13 -1
  309. data/lib/mongo/operation/delete/result.rb +6 -0
  310. data/lib/mongo/operation/delete.rb +3 -2
  311. data/lib/mongo/operation/distinct/op_msg.rb +13 -0
  312. data/lib/mongo/operation/distinct.rb +4 -2
  313. data/lib/mongo/operation/drop/op_msg.rb +3 -0
  314. data/lib/mongo/operation/drop.rb +4 -2
  315. data/lib/mongo/operation/drop_database/op_msg.rb +3 -0
  316. data/lib/mongo/operation/drop_database.rb +4 -2
  317. data/lib/mongo/operation/drop_index/op_msg.rb +8 -1
  318. data/lib/mongo/operation/drop_index.rb +4 -2
  319. data/lib/mongo/operation/explain/op_msg.rb +17 -0
  320. data/lib/mongo/operation/explain/result.rb +6 -0
  321. data/lib/mongo/operation/explain.rb +4 -3
  322. data/lib/mongo/operation/find/builder/command.rb +111 -0
  323. data/lib/mongo/operation/find/builder/flags.rb +61 -0
  324. data/lib/mongo/operation/find/builder/modifiers.rb +89 -0
  325. data/lib/mongo/operation/find/builder.rb +20 -0
  326. data/lib/mongo/operation/find/op_msg.rb +15 -0
  327. data/lib/mongo/operation/find/result.rb +16 -0
  328. data/lib/mongo/operation/find.rb +5 -3
  329. data/lib/mongo/operation/get_more/command_builder.rb +42 -0
  330. data/lib/mongo/operation/get_more/op_msg.rb +4 -0
  331. data/lib/mongo/operation/get_more/result.rb +6 -0
  332. data/lib/mongo/operation/get_more.rb +5 -3
  333. data/lib/mongo/operation/indexes/op_msg.rb +3 -0
  334. data/lib/mongo/operation/indexes/result.rb +8 -0
  335. data/lib/mongo/operation/indexes.rb +4 -3
  336. data/lib/mongo/operation/insert/bulk_result.rb +13 -1
  337. data/lib/mongo/operation/insert/op_msg.rb +11 -5
  338. data/lib/mongo/operation/insert/result.rb +14 -3
  339. data/lib/mongo/operation/insert.rb +3 -2
  340. data/lib/mongo/operation/kill_cursors/command_builder.rb +35 -0
  341. data/lib/mongo/operation/kill_cursors/op_msg.rb +13 -0
  342. data/lib/mongo/operation/kill_cursors.rb +5 -3
  343. data/lib/mongo/operation/list_collections/op_msg.rb +7 -1
  344. data/lib/mongo/operation/list_collections/result.rb +12 -1
  345. data/lib/mongo/operation/list_collections.rb +4 -2
  346. data/lib/mongo/operation/map_reduce/op_msg.rb +4 -1
  347. data/lib/mongo/operation/map_reduce/result.rb +29 -0
  348. data/lib/mongo/operation/map_reduce.rb +4 -2
  349. data/lib/mongo/operation/op_msg_base.rb +3 -0
  350. data/lib/mongo/operation/parallel_scan/op_msg.rb +3 -0
  351. data/lib/mongo/operation/parallel_scan/result.rb +7 -0
  352. data/lib/mongo/operation/parallel_scan.rb +4 -2
  353. data/lib/mongo/operation/remove_user/op_msg.rb +3 -0
  354. data/lib/mongo/operation/remove_user.rb +4 -2
  355. data/lib/mongo/operation/result.rb +67 -11
  356. data/lib/mongo/operation/shared/bypass_document_validation.rb +4 -0
  357. data/lib/mongo/operation/shared/causal_consistency_supported.rb +4 -0
  358. data/lib/mongo/operation/shared/executable.rb +61 -17
  359. data/lib/mongo/operation/shared/executable_no_validate.rb +5 -2
  360. data/lib/mongo/operation/shared/executable_transaction_label.rb +3 -0
  361. data/lib/mongo/operation/shared/idable.rb +5 -1
  362. data/lib/mongo/operation/shared/limited.rb +4 -0
  363. data/lib/mongo/operation/shared/object_id_generator.rb +4 -0
  364. data/lib/mongo/operation/shared/op_msg_executable.rb +59 -0
  365. data/lib/mongo/operation/shared/polymorphic_lookup.rb +3 -0
  366. data/lib/mongo/operation/shared/polymorphic_result.rb +3 -0
  367. data/lib/mongo/operation/shared/read_preference_supported.rb +44 -37
  368. data/lib/mongo/operation/shared/response_handling.rb +32 -27
  369. data/lib/mongo/operation/shared/result/aggregatable.rb +4 -0
  370. data/lib/mongo/operation/shared/result/use_legacy_error_parser.rb +3 -0
  371. data/lib/mongo/operation/shared/sessions_supported.rb +55 -20
  372. data/lib/mongo/operation/shared/specifiable.rb +15 -29
  373. data/lib/mongo/operation/shared/validatable.rb +87 -0
  374. data/lib/mongo/operation/shared/write.rb +28 -28
  375. data/lib/mongo/operation/shared/write_concern_supported.rb +4 -0
  376. data/lib/mongo/operation/update/bulk_result.rb +3 -0
  377. data/lib/mongo/operation/update/op_msg.rb +12 -4
  378. data/lib/mongo/operation/update/result.rb +11 -0
  379. data/lib/mongo/operation/update.rb +3 -2
  380. data/lib/mongo/operation/update_user/op_msg.rb +3 -0
  381. data/lib/mongo/operation/update_user.rb +4 -2
  382. data/lib/mongo/operation/users_info/op_msg.rb +3 -0
  383. data/lib/mongo/operation/users_info/result.rb +6 -0
  384. data/lib/mongo/operation/users_info.rb +4 -2
  385. data/lib/mongo/operation/write_command/op_msg.rb +43 -0
  386. data/lib/mongo/operation/write_command.rb +31 -0
  387. data/lib/mongo/operation.rb +17 -4
  388. data/lib/mongo/options/mapper.rb +3 -0
  389. data/lib/mongo/options/redacted.rb +3 -0
  390. data/lib/mongo/options.rb +3 -0
  391. data/lib/mongo/protocol/bit_vector.rb +6 -1
  392. data/lib/mongo/protocol/caching_hash.rb +52 -0
  393. data/lib/mongo/protocol/compressed.rb +54 -5
  394. data/lib/mongo/protocol/get_more.rb +3 -0
  395. data/lib/mongo/protocol/kill_cursors.rb +3 -0
  396. data/lib/mongo/protocol/message.rb +27 -10
  397. data/lib/mongo/protocol/msg.rb +61 -17
  398. data/lib/mongo/protocol/query.rb +53 -32
  399. data/lib/mongo/protocol/registry.rb +3 -0
  400. data/lib/mongo/protocol/reply.rb +3 -0
  401. data/lib/mongo/protocol/serializers.rb +27 -17
  402. data/lib/mongo/protocol.rb +4 -3
  403. data/lib/mongo/query_cache.rb +300 -0
  404. data/lib/mongo/retryable/base_worker.rb +91 -0
  405. data/lib/mongo/retryable/read_worker.rb +296 -0
  406. data/lib/mongo/retryable/write_worker.rb +364 -0
  407. data/lib/mongo/retryable.rb +33 -446
  408. data/lib/mongo/semaphore.rb +4 -1
  409. data/lib/mongo/server/app_metadata/environment.rb +259 -0
  410. data/lib/mongo/server/app_metadata/platform.rb +114 -0
  411. data/lib/mongo/server/app_metadata/truncator.rb +142 -0
  412. data/lib/mongo/server/app_metadata.rb +117 -94
  413. data/lib/mongo/server/connection.rb +126 -22
  414. data/lib/mongo/server/connection_base.rb +49 -21
  415. data/lib/mongo/server/connection_common.rb +76 -3
  416. data/lib/mongo/server/connection_pool/generation_manager.rb +115 -0
  417. data/lib/mongo/server/connection_pool/populator.rb +35 -30
  418. data/lib/mongo/server/connection_pool.rb +776 -206
  419. data/lib/mongo/server/description/features.rb +34 -25
  420. data/lib/mongo/server/description/load_balancer.rb +33 -0
  421. data/lib/mongo/server/description.rb +126 -17
  422. data/lib/mongo/server/monitor/app_metadata.rb +4 -1
  423. data/lib/mongo/server/monitor/connection.rb +66 -50
  424. data/lib/mongo/server/monitor.rb +62 -32
  425. data/lib/mongo/server/pending_connection.rb +77 -44
  426. data/lib/mongo/server/push_monitor/connection.rb +3 -0
  427. data/lib/mongo/server/push_monitor.rb +54 -20
  428. data/lib/mongo/server/round_trip_time_averager.rb +6 -3
  429. data/lib/mongo/server.rb +197 -67
  430. data/lib/mongo/server_selector/base.rb +65 -11
  431. data/lib/mongo/server_selector/nearest.rb +6 -4
  432. data/lib/mongo/server_selector/primary.rb +6 -4
  433. data/lib/mongo/server_selector/primary_preferred.rb +6 -4
  434. data/lib/mongo/server_selector/secondary.rb +6 -4
  435. data/lib/mongo/server_selector/secondary_preferred.rb +8 -11
  436. data/lib/mongo/server_selector.rb +3 -0
  437. data/lib/mongo/session/server_session.rb +3 -0
  438. data/lib/mongo/session/session_pool.rb +26 -2
  439. data/lib/mongo/session.rb +164 -38
  440. data/lib/mongo/socket/ocsp_cache.rb +99 -0
  441. data/lib/mongo/socket/ocsp_verifier.rb +344 -0
  442. data/lib/mongo/socket/ssl.rb +56 -24
  443. data/lib/mongo/socket/tcp.rb +6 -0
  444. data/lib/mongo/socket/unix.rb +3 -0
  445. data/lib/mongo/socket.rb +71 -16
  446. data/lib/mongo/srv/monitor.rb +10 -26
  447. data/lib/mongo/srv/resolver.rb +41 -13
  448. data/lib/mongo/srv/result.rb +3 -0
  449. data/lib/mongo/srv.rb +3 -0
  450. data/lib/mongo/timeout.rb +6 -1
  451. data/lib/mongo/topology_version.rb +4 -1
  452. data/lib/mongo/uri/options_mapper.rb +867 -0
  453. data/lib/mongo/uri/srv_protocol.rb +13 -11
  454. data/lib/mongo/uri.rb +100 -400
  455. data/lib/mongo/utils.rb +44 -1
  456. data/lib/mongo/version.rb +4 -1
  457. data/lib/mongo/write_concern/acknowledged.rb +3 -0
  458. data/lib/mongo/write_concern/base.rb +3 -0
  459. data/lib/mongo/write_concern/unacknowledged.rb +3 -0
  460. data/lib/mongo/write_concern.rb +3 -0
  461. data/lib/mongo.rb +58 -0
  462. data/mongo.gemspec +16 -7
  463. data/spec/NOTES.aws-auth.md +12 -7
  464. data/spec/README.md +106 -3
  465. data/spec/atlas/atlas_connectivity_spec.rb +3 -0
  466. data/spec/atlas/operations_spec.rb +5 -7
  467. data/spec/integration/auth_spec.rb +58 -15
  468. data/spec/integration/awaited_ismaster_spec.rb +9 -6
  469. data/spec/integration/aws_auth_credentials_cache_spec.rb +51 -0
  470. data/spec/integration/aws_auth_request_spec.rb +4 -1
  471. data/spec/integration/aws_credentials_retriever_spec.rb +34 -1
  472. data/spec/integration/aws_lambda_examples_spec.rb +68 -0
  473. data/spec/integration/bson_symbol_spec.rb +8 -3
  474. data/spec/integration/bulk_insert_spec.rb +3 -0
  475. data/spec/integration/bulk_write_error_message_spec.rb +74 -0
  476. data/spec/integration/bulk_write_spec.rb +67 -0
  477. data/spec/integration/change_stream_examples_spec.rb +3 -0
  478. data/spec/integration/change_stream_spec.rb +18 -9
  479. data/spec/integration/check_clean_slate_spec.rb +3 -0
  480. data/spec/integration/client_authentication_options_spec.rb +76 -36
  481. data/spec/integration/client_connectivity_spec.rb +4 -1
  482. data/spec/integration/client_construction_aws_auth_spec.rb +14 -2
  483. data/spec/integration/client_construction_spec.rb +153 -8
  484. data/spec/integration/client_side_encryption/auto_encryption_bulk_writes_spec.rb +13 -10
  485. data/spec/integration/client_side_encryption/auto_encryption_command_monitoring_spec.rb +172 -169
  486. data/spec/integration/client_side_encryption/auto_encryption_mongocryptd_spawn_spec.rb +3 -1
  487. data/spec/integration/client_side_encryption/auto_encryption_old_wire_version_spec.rb +3 -0
  488. data/spec/integration/client_side_encryption/auto_encryption_reconnect_spec.rb +43 -4
  489. data/spec/integration/client_side_encryption/auto_encryption_spec.rb +148 -2
  490. data/spec/integration/client_side_encryption/automatic_data_encryption_keys_prose_spec.rb +153 -0
  491. data/spec/integration/client_side_encryption/bson_size_limit_spec.rb +6 -3
  492. data/spec/integration/client_side_encryption/bypass_mongocryptd_spawn_spec.rb +6 -3
  493. data/spec/integration/client_side_encryption/client_close_spec.rb +4 -1
  494. data/spec/integration/client_side_encryption/corpus_spec.rb +67 -35
  495. data/spec/integration/client_side_encryption/custom_endpoint_spec.rb +42 -42
  496. data/spec/integration/client_side_encryption/data_key_spec.rb +101 -8
  497. data/spec/integration/client_side_encryption/decryption_events_prose_spec.rb +159 -0
  498. data/spec/integration/client_side_encryption/explicit_encryption_spec.rb +62 -0
  499. data/spec/integration/client_side_encryption/explicit_queryable_encryption_spec.rb +150 -0
  500. data/spec/integration/client_side_encryption/external_key_vault_spec.rb +9 -6
  501. data/spec/integration/client_side_encryption/kms_tls_options_spec.rb +436 -0
  502. data/spec/integration/client_side_encryption/kms_tls_spec.rb +92 -0
  503. data/spec/integration/client_side_encryption/mongocryptd_prose_spec.rb +105 -0
  504. data/spec/integration/client_side_encryption/on_demand_aws_credentials_spec.rb +49 -0
  505. data/spec/integration/client_side_encryption/on_demand_azure_credentials_spec.rb +46 -0
  506. data/spec/integration/client_side_encryption/on_demand_gcp_credentials_spec.rb +47 -0
  507. data/spec/integration/client_side_encryption/queryable_encryption_examples_spec.rb +114 -0
  508. data/spec/integration/client_side_encryption/range_explicit_encryption_prose_spec.rb +536 -0
  509. data/spec/integration/client_side_encryption/rewrap_prose_spec.rb +114 -0
  510. data/spec/integration/client_side_encryption/unique_index_on_key_alt_names_prose_spec.rb +89 -0
  511. data/spec/integration/client_side_encryption/views_spec.rb +4 -1
  512. data/spec/integration/client_spec.rb +14 -4
  513. data/spec/integration/client_update_spec.rb +9 -2
  514. data/spec/integration/collection_indexes_prose_spec.rb +3 -0
  515. data/spec/integration/command_monitoring_spec.rb +64 -26
  516. data/spec/integration/command_spec.rb +5 -24
  517. data/spec/integration/connect_single_rs_name_spec.rb +6 -3
  518. data/spec/integration/connection/faas_env_spec.rb +62 -0
  519. data/spec/integration/connection_pool_populator_spec.rb +33 -8
  520. data/spec/integration/connection_spec.rb +58 -36
  521. data/spec/integration/crud_spec.rb +217 -1
  522. data/spec/integration/cursor_pinning_spec.rb +125 -0
  523. data/spec/integration/cursor_reaping_spec.rb +62 -19
  524. data/spec/integration/docs_examples_spec.rb +12 -2
  525. data/spec/integration/error_detection_spec.rb +3 -0
  526. data/spec/integration/fork_reconnect_spec.rb +73 -9
  527. data/spec/integration/get_more_spec.rb +4 -1
  528. data/spec/integration/grid_fs_bucket_spec.rb +7 -4
  529. data/spec/integration/heartbeat_events_spec.rb +8 -5
  530. data/spec/integration/map_reduce_spec.rb +81 -0
  531. data/spec/integration/mmapv1_spec.rb +3 -0
  532. data/spec/integration/mongos_pinning_spec.rb +3 -0
  533. data/spec/integration/ocsp_connectivity_spec.rb +29 -0
  534. data/spec/integration/ocsp_verifier_cache_spec.rb +191 -0
  535. data/spec/integration/ocsp_verifier_spec.rb +358 -0
  536. data/spec/integration/operation_failure_code_spec.rb +4 -1
  537. data/spec/integration/operation_failure_message_spec.rb +91 -0
  538. data/spec/integration/query_cache_spec.rb +1343 -0
  539. data/spec/integration/query_cache_transactions_spec.rb +193 -0
  540. data/spec/integration/read_concern_spec.rb +4 -1
  541. data/spec/integration/read_preference_spec.rb +20 -13
  542. data/spec/integration/reconnect_spec.rb +39 -13
  543. data/spec/integration/retryable_errors_spec.rb +4 -1
  544. data/spec/integration/retryable_reads_errors_spec.rb +110 -0
  545. data/spec/integration/retryable_writes/retryable_writes_36_and_older_spec.rb +5 -2
  546. data/spec/integration/retryable_writes/retryable_writes_40_and_newer_spec.rb +5 -1
  547. data/spec/integration/retryable_writes/shared/adds_diagnostics.rb +3 -0
  548. data/spec/integration/retryable_writes/shared/does_not_support_retries.rb +3 -0
  549. data/spec/integration/retryable_writes/shared/only_supports_legacy_retries.rb +3 -0
  550. data/spec/integration/retryable_writes/shared/performs_legacy_retries.rb +5 -0
  551. data/spec/integration/retryable_writes/shared/performs_modern_retries.rb +3 -0
  552. data/spec/integration/retryable_writes/shared/performs_no_retries.rb +3 -0
  553. data/spec/integration/retryable_writes/shared/supports_legacy_retries.rb +3 -0
  554. data/spec/integration/retryable_writes/shared/supports_modern_retries.rb +3 -0
  555. data/spec/integration/retryable_writes/shared/supports_retries.rb +3 -0
  556. data/spec/integration/retryable_writes_errors_spec.rb +162 -1
  557. data/spec/integration/sdam_error_handling_spec.rb +159 -8
  558. data/spec/integration/sdam_events_spec.rb +94 -31
  559. data/spec/integration/sdam_prose_spec.rb +7 -4
  560. data/spec/integration/secondary_reads_spec.rb +103 -0
  561. data/spec/integration/server_description_spec.rb +3 -0
  562. data/spec/integration/server_monitor_spec.rb +7 -2
  563. data/spec/integration/server_selection_spec.rb +39 -0
  564. data/spec/integration/server_selector_spec.rb +29 -7
  565. data/spec/integration/server_spec.rb +27 -25
  566. data/spec/integration/shell_examples_spec.rb +3 -0
  567. data/spec/integration/size_limit_spec.rb +7 -1
  568. data/spec/integration/snappy_compression_spec.rb +28 -0
  569. data/spec/integration/snapshot_query_examples_spec.rb +129 -0
  570. data/spec/integration/srv_monitoring_spec.rb +82 -5
  571. data/spec/integration/srv_spec.rb +60 -0
  572. data/spec/integration/ssl_uri_options_spec.rb +3 -0
  573. data/spec/integration/step_down_spec.rb +28 -7
  574. data/spec/integration/time_zone_querying_spec.rb +3 -0
  575. data/spec/integration/transaction_pinning_spec.rb +134 -0
  576. data/spec/integration/transactions_api_examples_spec.rb +3 -0
  577. data/spec/integration/transactions_examples_spec.rb +26 -7
  578. data/spec/integration/truncated_utf8_spec.rb +26 -0
  579. data/spec/integration/versioned_api_examples_spec.rb +120 -0
  580. data/spec/integration/x509_auth_spec.rb +5 -2
  581. data/spec/integration/zlib_compression_spec.rb +4 -1
  582. data/spec/integration/zstd_compression_spec.rb +29 -0
  583. data/spec/kerberos/kerberos_spec.rb +3 -0
  584. data/spec/lite_spec_helper.rb +59 -16
  585. data/spec/mongo/address/ipv4_spec.rb +3 -0
  586. data/spec/mongo/address/ipv6_spec.rb +10 -0
  587. data/spec/mongo/address/unix_spec.rb +4 -0
  588. data/spec/mongo/address/validator_spec.rb +3 -0
  589. data/spec/mongo/address_spec.rb +33 -13
  590. data/spec/mongo/auth/aws/credential_cache_spec.rb +63 -0
  591. data/spec/mongo/auth/aws/credentials_retriever_spec.rb +90 -0
  592. data/spec/mongo/auth/aws/credentials_spec.rb +46 -0
  593. data/spec/mongo/auth/aws/request_region_spec.rb +3 -0
  594. data/spec/mongo/auth/aws/request_spec.rb +3 -0
  595. data/spec/mongo/auth/cr_spec.rb +6 -24
  596. data/spec/mongo/auth/gssapi/conversation_spec.rb +3 -0
  597. data/spec/mongo/auth/invalid_mechanism_spec.rb +3 -0
  598. data/spec/mongo/auth/ldap/conversation_spec.rb +4 -1
  599. data/spec/mongo/auth/ldap_spec.rb +10 -4
  600. data/spec/mongo/auth/scram/conversation_spec.rb +26 -23
  601. data/spec/mongo/auth/scram256/conversation_spec.rb +23 -20
  602. data/spec/mongo/auth/scram_negotiation_spec.rb +5 -1
  603. data/spec/mongo/auth/scram_spec.rb +5 -3
  604. data/spec/mongo/auth/stringprep/profiles/sasl_spec.rb +3 -0
  605. data/spec/mongo/auth/stringprep_spec.rb +3 -0
  606. data/spec/mongo/auth/user/view_spec.rb +99 -1
  607. data/spec/mongo/auth/user_spec.rb +4 -1
  608. data/spec/mongo/auth/x509/conversation_spec.rb +6 -3
  609. data/spec/mongo/auth/x509_spec.rb +5 -3
  610. data/spec/mongo/auth_spec.rb +3 -0
  611. data/spec/mongo/bson_spec.rb +3 -0
  612. data/spec/mongo/bulk_write/ordered_combiner_spec.rb +3 -0
  613. data/spec/mongo/bulk_write/result_spec.rb +18 -1
  614. data/spec/mongo/bulk_write/unordered_combiner_spec.rb +3 -0
  615. data/spec/mongo/bulk_write_spec.rb +149 -25
  616. data/spec/mongo/caching_cursor_spec.rb +73 -0
  617. data/spec/mongo/client_construction_spec.rb +1112 -546
  618. data/spec/mongo/client_encryption_spec.rb +27 -30
  619. data/spec/mongo/client_spec.rb +445 -139
  620. data/spec/mongo/cluster/cursor_reaper_spec.rb +66 -23
  621. data/spec/mongo/cluster/periodic_executor_spec.rb +6 -1
  622. data/spec/mongo/cluster/socket_reaper_spec.rb +3 -0
  623. data/spec/mongo/cluster/topology/replica_set_spec.rb +13 -10
  624. data/spec/mongo/cluster/topology/sharded_spec.rb +6 -3
  625. data/spec/mongo/cluster/topology/single_spec.rb +20 -8
  626. data/spec/mongo/cluster/topology/unknown_spec.rb +4 -1
  627. data/spec/mongo/cluster/topology_spec.rb +4 -1
  628. data/spec/mongo/cluster_spec.rb +183 -192
  629. data/spec/mongo/cluster_time_spec.rb +3 -0
  630. data/spec/mongo/collection/view/aggregation_spec.rb +181 -83
  631. data/spec/mongo/collection/view/builder/find_command_spec.rb +7 -0
  632. data/spec/mongo/collection/view/builder/op_query_spec.rb +7 -0
  633. data/spec/mongo/collection/view/change_stream_resume_spec.rb +8 -3
  634. data/spec/mongo/collection/view/change_stream_spec.rb +18 -2
  635. data/spec/mongo/collection/view/explainable_spec.rb +90 -4
  636. data/spec/mongo/collection/view/immutable_spec.rb +3 -0
  637. data/spec/mongo/collection/view/iterable_spec.rb +3 -0
  638. data/spec/mongo/collection/view/map_reduce_spec.rb +46 -2
  639. data/spec/mongo/collection/view/readable_spec.rb +868 -1
  640. data/spec/mongo/collection/view/writable_spec.rb +147 -32
  641. data/spec/mongo/collection/view_spec.rb +3 -0
  642. data/spec/mongo/collection_crud_spec.rb +4471 -0
  643. data/spec/mongo/collection_ddl_spec.rb +587 -0
  644. data/spec/mongo/collection_spec.rb +106 -4839
  645. data/spec/mongo/condition_variable_spec.rb +104 -0
  646. data/spec/mongo/config/options_spec.rb +76 -0
  647. data/spec/mongo/config_spec.rb +74 -0
  648. data/spec/mongo/crypt/auto_decryption_context_spec.rb +21 -2
  649. data/spec/mongo/crypt/auto_encrypter_spec.rb +266 -5
  650. data/spec/mongo/crypt/auto_encryption_context_spec.rb +21 -2
  651. data/spec/mongo/crypt/binary_spec.rb +3 -5
  652. data/spec/mongo/crypt/binding/binary_spec.rb +3 -5
  653. data/spec/mongo/crypt/binding/context_spec.rb +71 -23
  654. data/spec/mongo/crypt/binding/helpers_spec.rb +3 -5
  655. data/spec/mongo/crypt/binding/mongocrypt_spec.rb +21 -52
  656. data/spec/mongo/crypt/binding/status_spec.rb +3 -5
  657. data/spec/mongo/crypt/binding/version_spec.rb +50 -5
  658. data/spec/mongo/crypt/binding_unloaded_spec.rb +17 -0
  659. data/spec/mongo/crypt/data_key_context_spec.rb +45 -114
  660. data/spec/mongo/crypt/encryption_io_spec.rb +5 -0
  661. data/spec/mongo/crypt/explicit_decryption_context_spec.rb +36 -2
  662. data/spec/mongo/crypt/explicit_encryption_context_spec.rb +98 -2
  663. data/spec/mongo/crypt/handle_spec.rb +189 -155
  664. data/spec/mongo/crypt/helpers/mongo_crypt_spec_helper.rb +3 -0
  665. data/spec/mongo/crypt/hooks_spec.rb +30 -0
  666. data/spec/mongo/crypt/kms/azure/credentials_retriever_spec.rb +86 -0
  667. data/spec/mongo/crypt/kms/credentials_spec.rb +373 -0
  668. data/spec/mongo/crypt/kms_spec.rb +62 -0
  669. data/spec/mongo/crypt/status_spec.rb +3 -5
  670. data/spec/mongo/crypt_spec.rb +21 -0
  671. data/spec/mongo/cursor/builder/get_more_command_spec.rb +11 -2
  672. data/spec/mongo/cursor/builder/op_get_more_spec.rb +11 -2
  673. data/spec/mongo/cursor_spec.rb +230 -19
  674. data/spec/mongo/database_spec.rb +263 -25
  675. data/spec/mongo/distinguishing_semaphore_spec.rb +9 -6
  676. data/spec/mongo/error/bulk_write_error_spec.rb +6 -3
  677. data/spec/mongo/error/crypt_error_spec.rb +3 -0
  678. data/spec/mongo/error/max_bson_size_spec.rb +3 -0
  679. data/spec/mongo/error/no_server_available_spec.rb +4 -1
  680. data/spec/mongo/error/notable_spec.rb +3 -0
  681. data/spec/mongo/error/operation_failure_heavy_spec.rb +53 -1
  682. data/spec/mongo/error/operation_failure_spec.rb +94 -31
  683. data/spec/mongo/error/parser_spec.rb +40 -6
  684. data/spec/mongo/error/unsupported_option_spec.rb +3 -0
  685. data/spec/mongo/event/publisher_spec.rb +3 -0
  686. data/spec/mongo/event/subscriber_spec.rb +3 -0
  687. data/spec/mongo/grid/file/chunk_spec.rb +7 -4
  688. data/spec/mongo/grid/file/info_spec.rb +3 -0
  689. data/spec/mongo/grid/file_spec.rb +4 -1
  690. data/spec/mongo/grid/fs_bucket_spec.rb +40 -17
  691. data/spec/mongo/grid/stream/read_spec.rb +33 -10
  692. data/spec/mongo/grid/stream/write_spec.rb +6 -9
  693. data/spec/mongo/grid/stream_spec.rb +4 -1
  694. data/spec/mongo/id_spec.rb +4 -1
  695. data/spec/mongo/index/view_spec.rb +138 -4
  696. data/spec/mongo/lint_spec.rb +4 -1
  697. data/spec/mongo/logger_spec.rb +16 -11
  698. data/spec/mongo/monitoring/command_log_subscriber_spec.rb +3 -0
  699. data/spec/mongo/monitoring/event/cmap/connection_check_out_failed_spec.rb +4 -1
  700. data/spec/mongo/monitoring/event/cmap/connection_check_out_started_spec.rb +4 -1
  701. data/spec/mongo/monitoring/event/cmap/connection_checked_in_spec.rb +4 -1
  702. data/spec/mongo/monitoring/event/cmap/connection_checked_out_spec.rb +4 -1
  703. data/spec/mongo/monitoring/event/cmap/connection_closed_spec.rb +4 -1
  704. data/spec/mongo/monitoring/event/cmap/connection_created_spec.rb +4 -1
  705. data/spec/mongo/monitoring/event/cmap/connection_ready_spec.rb +4 -1
  706. data/spec/mongo/monitoring/event/cmap/pool_cleared_spec.rb +4 -1
  707. data/spec/mongo/monitoring/event/cmap/pool_closed_spec.rb +4 -1
  708. data/spec/mongo/monitoring/event/cmap/pool_created_spec.rb +4 -1
  709. data/spec/mongo/monitoring/event/command_failed_spec.rb +59 -2
  710. data/spec/mongo/monitoring/event/command_started_spec.rb +3 -0
  711. data/spec/mongo/monitoring/event/command_succeeded_spec.rb +46 -6
  712. data/spec/mongo/monitoring/event/secure_spec.rb +28 -4
  713. data/spec/mongo/monitoring/event/server_closed_spec.rb +4 -1
  714. data/spec/mongo/monitoring/event/server_description_changed_spec.rb +3 -0
  715. data/spec/mongo/monitoring/event/server_heartbeat_failed_spec.rb +4 -1
  716. data/spec/mongo/monitoring/event/server_heartbeat_started_spec.rb +3 -0
  717. data/spec/mongo/monitoring/event/server_heartbeat_succeeded_spec.rb +4 -1
  718. data/spec/mongo/monitoring/event/server_opening_spec.rb +4 -1
  719. data/spec/mongo/monitoring/event/topology_changed_spec.rb +4 -1
  720. data/spec/mongo/monitoring/event/topology_closed_spec.rb +4 -1
  721. data/spec/mongo/monitoring/event/topology_opening_spec.rb +4 -1
  722. data/spec/mongo/monitoring_spec.rb +3 -0
  723. data/spec/mongo/operation/aggregate/result_spec.rb +7 -2
  724. data/spec/mongo/operation/aggregate_spec.rb +5 -1
  725. data/spec/mongo/operation/collections_info_spec.rb +7 -1
  726. data/spec/mongo/operation/command_spec.rb +11 -5
  727. data/spec/mongo/operation/create/op_msg_spec.rb +244 -0
  728. data/spec/mongo/operation/create_index_spec.rb +9 -3
  729. data/spec/mongo/operation/create_user_spec.rb +9 -3
  730. data/spec/mongo/operation/delete/bulk_spec.rb +12 -6
  731. data/spec/mongo/operation/delete/op_msg_spec.rb +20 -8
  732. data/spec/mongo/operation/delete_spec.rb +13 -36
  733. data/spec/mongo/operation/drop_index_spec.rb +9 -2
  734. data/spec/mongo/operation/find/builder/flags_spec.rb +109 -0
  735. data/spec/mongo/operation/find/builder/modifiers_spec.rb +213 -0
  736. data/spec/mongo/operation/indexes_spec.rb +8 -1
  737. data/spec/mongo/operation/insert/bulk_spec.rb +14 -8
  738. data/spec/mongo/operation/insert/op_msg_spec.rb +25 -14
  739. data/spec/mongo/operation/insert_spec.rb +17 -43
  740. data/spec/mongo/operation/limited_spec.rb +3 -0
  741. data/spec/mongo/operation/map_reduce_spec.rb +8 -2
  742. data/spec/mongo/operation/read_preference_legacy_spec.rb +39 -42
  743. data/spec/mongo/operation/read_preference_op_msg_spec.rb +33 -5
  744. data/spec/mongo/operation/remove_user_spec.rb +9 -3
  745. data/spec/mongo/operation/result_spec.rb +30 -5
  746. data/spec/mongo/operation/specifiable_spec.rb +3 -0
  747. data/spec/mongo/operation/update/bulk_spec.rb +13 -7
  748. data/spec/mongo/operation/update/op_msg_spec.rb +20 -8
  749. data/spec/mongo/operation/update_spec.rb +12 -35
  750. data/spec/mongo/operation/update_user_spec.rb +7 -1
  751. data/spec/mongo/options/redacted_spec.rb +4 -1
  752. data/spec/mongo/protocol/caching_hash_spec.rb +37 -0
  753. data/spec/mongo/protocol/compressed_spec.rb +29 -12
  754. data/spec/mongo/protocol/get_more_spec.rb +3 -0
  755. data/spec/mongo/protocol/kill_cursors_spec.rb +3 -0
  756. data/spec/mongo/protocol/msg_spec.rb +48 -66
  757. data/spec/mongo/protocol/query_spec.rb +6 -3
  758. data/spec/mongo/protocol/registry_spec.rb +3 -0
  759. data/spec/mongo/protocol/reply_spec.rb +3 -0
  760. data/spec/mongo/query_cache_middleware_spec.rb +55 -0
  761. data/spec/mongo/query_cache_spec.rb +453 -0
  762. data/spec/mongo/retryable_spec.rb +42 -7
  763. data/spec/mongo/semaphore_spec.rb +9 -6
  764. data/spec/mongo/server/app_metadata/environment_spec.rb +209 -0
  765. data/spec/mongo/server/app_metadata/truncator_spec.rb +158 -0
  766. data/spec/mongo/server/app_metadata_spec.rb +55 -52
  767. data/spec/mongo/server/connection_auth_spec.rb +9 -10
  768. data/spec/mongo/server/connection_common_spec.rb +87 -0
  769. data/spec/mongo/server/connection_pool/populator_spec.rb +22 -3
  770. data/spec/mongo/server/connection_pool_spec.rb +635 -58
  771. data/spec/mongo/server/connection_spec.rb +226 -204
  772. data/spec/mongo/server/description/features_spec.rb +27 -0
  773. data/spec/mongo/server/description_query_methods_spec.rb +4 -1
  774. data/spec/mongo/server/description_spec.rb +625 -594
  775. data/spec/mongo/server/monitor/app_metadata_spec.rb +3 -1
  776. data/spec/mongo/server/monitor/connection_spec.rb +81 -9
  777. data/spec/mongo/server/monitor_spec.rb +31 -18
  778. data/spec/mongo/server/push_monitor_spec.rb +95 -0
  779. data/spec/mongo/server/round_trip_time_averager_spec.rb +3 -0
  780. data/spec/mongo/server_selector/nearest_spec.rb +8 -2
  781. data/spec/mongo/server_selector/primary_preferred_spec.rb +8 -2
  782. data/spec/mongo/server_selector/primary_spec.rb +8 -2
  783. data/spec/mongo/server_selector/secondary_preferred_spec.rb +14 -8
  784. data/spec/mongo/server_selector/secondary_spec.rb +8 -2
  785. data/spec/mongo/server_selector_spec.rb +143 -18
  786. data/spec/mongo/server_spec.rb +49 -6
  787. data/spec/mongo/session/server_session_spec.rb +3 -0
  788. data/spec/mongo/session/session_pool_spec.rb +45 -10
  789. data/spec/mongo/session_spec.rb +29 -6
  790. data/spec/mongo/session_transaction_spec.rb +17 -36
  791. data/spec/mongo/socket/ssl_spec.rb +91 -75
  792. data/spec/mongo/socket/tcp_spec.rb +3 -0
  793. data/spec/mongo/socket/unix_spec.rb +4 -0
  794. data/spec/mongo/socket_spec.rb +5 -2
  795. data/spec/mongo/srv/monitor_spec.rb +3 -0
  796. data/spec/mongo/srv/result_spec.rb +3 -0
  797. data/spec/mongo/timeout_spec.rb +3 -0
  798. data/spec/mongo/tls_context_hooks_spec.rb +40 -0
  799. data/spec/mongo/uri/options_mapper_spec.rb +1605 -0
  800. data/spec/mongo/uri/srv_protocol_spec.rb +330 -36
  801. data/spec/mongo/uri_option_parsing_spec.rb +52 -16
  802. data/spec/mongo/uri_spec.rb +238 -42
  803. data/spec/mongo/utils_spec.rb +42 -0
  804. data/spec/mongo/write_concern/acknowledged_spec.rb +3 -0
  805. data/spec/mongo/write_concern/unacknowledged_spec.rb +3 -0
  806. data/spec/mongo/write_concern_spec.rb +3 -0
  807. data/spec/runners/auth.rb +26 -2
  808. data/spec/runners/change_streams/outcome.rb +3 -0
  809. data/spec/runners/change_streams/spec.rb +4 -1
  810. data/spec/runners/change_streams/test.rb +5 -2
  811. data/spec/runners/cmap/verifier.rb +4 -1
  812. data/spec/runners/cmap.rb +192 -46
  813. data/spec/runners/command_monitoring.rb +4 -1
  814. data/spec/runners/connection_string.rb +48 -126
  815. data/spec/runners/crud/context.rb +3 -0
  816. data/spec/runners/crud/operation.rb +21 -7
  817. data/spec/runners/crud/outcome.rb +3 -0
  818. data/spec/runners/crud/requirement.rb +76 -6
  819. data/spec/runners/crud/spec.rb +9 -3
  820. data/spec/runners/crud/test.rb +4 -1
  821. data/spec/runners/crud/test_base.rb +4 -20
  822. data/spec/runners/crud/verifier.rb +20 -4
  823. data/spec/runners/crud.rb +23 -1
  824. data/spec/runners/gridfs.rb +4 -1
  825. data/spec/runners/read_write_concern_document.rb +4 -1
  826. data/spec/runners/sdam/verifier.rb +3 -0
  827. data/spec/runners/sdam.rb +9 -5
  828. data/spec/runners/server_selection.rb +5 -2
  829. data/spec/runners/server_selection_rtt.rb +5 -2
  830. data/spec/runners/transactions/operation.rb +30 -10
  831. data/spec/runners/transactions/spec.rb +5 -2
  832. data/spec/runners/transactions/test.rb +69 -21
  833. data/spec/runners/transactions.rb +14 -8
  834. data/spec/runners/unified/assertions.rb +379 -0
  835. data/spec/runners/unified/change_stream_operations.rb +52 -0
  836. data/spec/runners/unified/client_side_encryption_operations.rb +83 -0
  837. data/spec/runners/unified/crud_operations.rb +332 -0
  838. data/spec/runners/unified/ddl_operations.rb +255 -0
  839. data/spec/runners/unified/entity_map.rb +42 -0
  840. data/spec/runners/unified/error.rb +29 -0
  841. data/spec/runners/unified/event_subscriber.rb +110 -0
  842. data/spec/runners/unified/exceptions.rb +24 -0
  843. data/spec/runners/unified/grid_fs_operations.rb +79 -0
  844. data/spec/runners/unified/support_operations.rb +333 -0
  845. data/spec/runners/unified/test.rb +585 -0
  846. data/spec/runners/unified/test_group.rb +31 -0
  847. data/spec/runners/unified/thread_operations.rb +73 -0
  848. data/spec/runners/unified.rb +109 -0
  849. data/spec/shared/LICENSE +20 -0
  850. data/spec/shared/bin/get-mongodb-download-url +17 -0
  851. data/spec/shared/bin/s3-copy +45 -0
  852. data/spec/shared/bin/s3-upload +69 -0
  853. data/spec/shared/lib/mrss/child_process_helper.rb +80 -0
  854. data/spec/shared/lib/mrss/cluster_config.rb +231 -0
  855. data/spec/shared/lib/mrss/constraints.rb +378 -0
  856. data/spec/shared/lib/mrss/docker_runner.rb +295 -0
  857. data/spec/shared/lib/mrss/eg_config_utils.rb +51 -0
  858. data/spec/shared/lib/mrss/event_subscriber.rb +210 -0
  859. data/spec/shared/lib/mrss/lite_constraints.rb +238 -0
  860. data/spec/shared/lib/mrss/server_version_registry.rb +113 -0
  861. data/spec/shared/lib/mrss/session_registry.rb +69 -0
  862. data/spec/shared/lib/mrss/session_registry_legacy.rb +60 -0
  863. data/spec/shared/lib/mrss/spec_organizer.rb +179 -0
  864. data/spec/shared/lib/mrss/utils.rb +37 -0
  865. data/spec/shared/share/Dockerfile.erb +330 -0
  866. data/spec/shared/share/haproxy-1.conf +16 -0
  867. data/spec/shared/share/haproxy-2.conf +17 -0
  868. data/spec/shared/shlib/config.sh +27 -0
  869. data/spec/shared/shlib/distro.sh +74 -0
  870. data/spec/shared/shlib/server.sh +416 -0
  871. data/spec/shared/shlib/set_env.sh +169 -0
  872. data/spec/solo/clean_exit_spec.rb +22 -0
  873. data/spec/spec_helper.rb +11 -5
  874. data/spec/spec_tests/auth_spec.rb +30 -13
  875. data/spec/spec_tests/change_streams_unified_spec.rb +14 -0
  876. data/spec/spec_tests/client_side_encryption_spec.rb +27 -1
  877. data/spec/spec_tests/client_side_encryption_unified_spec.rb +26 -0
  878. data/spec/spec_tests/cmap_spec.rb +41 -17
  879. data/spec/spec_tests/collection_management_spec.rb +13 -0
  880. data/spec/spec_tests/command_monitoring_unified_spec.rb +13 -0
  881. data/spec/spec_tests/connection_string_spec.rb +3 -0
  882. data/spec/spec_tests/crud_spec.rb +3 -10
  883. data/spec/spec_tests/crud_unified_spec.rb +13 -0
  884. data/spec/spec_tests/data/change_streams_unified/change-streams-clusterTime.yml +41 -0
  885. data/spec/spec_tests/data/change_streams_unified/change-streams-disambiguatedPaths.yml +103 -0
  886. data/spec/spec_tests/data/change_streams_unified/change-streams-errors.yml +120 -0
  887. data/spec/spec_tests/data/change_streams_unified/change-streams-pre_and_post_images.yml +351 -0
  888. data/spec/spec_tests/data/change_streams_unified/change-streams-resume-allowlist.yml +1169 -0
  889. data/spec/spec_tests/data/change_streams_unified/change-streams-resume-errorLabels.yml +1069 -0
  890. data/spec/spec_tests/data/change_streams_unified/change-streams-showExpandedEvents.yml +307 -0
  891. data/spec/spec_tests/data/change_streams_unified/change-streams.yml +927 -0
  892. data/spec/spec_tests/data/client_side_encryption/aggregate.yml +3 -17
  893. data/spec/spec_tests/data/client_side_encryption/awsTemporary.yml +57 -0
  894. data/spec/spec_tests/data/client_side_encryption/azureKMS.yml +46 -0
  895. data/spec/spec_tests/data/client_side_encryption/badQueries.yml +12 -2
  896. data/spec/spec_tests/data/client_side_encryption/basic.yml +3 -17
  897. data/spec/spec_tests/data/client_side_encryption/bulk.yml +1 -8
  898. data/spec/spec_tests/data/client_side_encryption/bypassAutoEncryption.yml +2 -2
  899. data/spec/spec_tests/data/client_side_encryption/bypassedCommand.yml +5 -4
  900. data/spec/spec_tests/data/client_side_encryption/count.yml +1 -8
  901. data/spec/spec_tests/data/client_side_encryption/countDocuments.yml +1 -8
  902. data/spec/spec_tests/data/client_side_encryption/create-and-createIndexes.yml +58 -0
  903. data/spec/spec_tests/data/client_side_encryption/delete.yml +2 -16
  904. data/spec/spec_tests/data/client_side_encryption/distinct.yml +1 -8
  905. data/spec/spec_tests/data/client_side_encryption/explain.yml +1 -8
  906. data/spec/spec_tests/data/client_side_encryption/find.yml +2 -16
  907. data/spec/spec_tests/data/client_side_encryption/findOneAndDelete.yml +1 -8
  908. data/spec/spec_tests/data/client_side_encryption/findOneAndReplace.yml +1 -8
  909. data/spec/spec_tests/data/client_side_encryption/findOneAndUpdate.yml +1 -8
  910. data/spec/spec_tests/data/client_side_encryption/fle2v2-BypassQueryAnalysis.yml +89 -0
  911. data/spec/spec_tests/data/client_side_encryption/fle2v2-Compact.yml +82 -0
  912. data/spec/spec_tests/data/client_side_encryption/fle2v2-CreateCollection-OldServer.yml +61 -0
  913. data/spec/spec_tests/data/client_side_encryption/fle2v2-CreateCollection.yml +937 -0
  914. data/spec/spec_tests/data/client_side_encryption/fle2v2-DecryptExistingData.yml +66 -0
  915. data/spec/spec_tests/data/client_side_encryption/fle2v2-Delete.yml +100 -0
  916. data/spec/spec_tests/data/client_side_encryption/fle2v2-EncryptedFields-vs-EncryptedFieldsMap.yml +79 -0
  917. data/spec/spec_tests/data/client_side_encryption/fle2v2-EncryptedFields-vs-jsonSchema.yml +102 -0
  918. data/spec/spec_tests/data/client_side_encryption/fle2v2-EncryptedFieldsMap-defaults.yml +58 -0
  919. data/spec/spec_tests/data/client_side_encryption/fle2v2-FindOneAndUpdate.yml +200 -0
  920. data/spec/spec_tests/data/client_side_encryption/fle2v2-InsertFind-Indexed.yml +96 -0
  921. data/spec/spec_tests/data/client_side_encryption/fle2v2-InsertFind-Unindexed.yml +89 -0
  922. data/spec/spec_tests/data/client_side_encryption/fle2v2-MissingKey.yml +43 -0
  923. data/spec/spec_tests/data/client_side_encryption/fle2v2-NoEncryption.yml +44 -0
  924. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Aggregate.yml +241 -0
  925. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Correctness.yml +422 -0
  926. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Delete.yml +182 -0
  927. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-FindOneAndUpdate.yml +239 -0
  928. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-InsertFind.yml +235 -0
  929. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Update.yml +252 -0
  930. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Aggregate.yml +1687 -0
  931. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Correctness.yml +293 -0
  932. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Delete.yml +905 -0
  933. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-FindOneAndUpdate.yml +1684 -0
  934. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-InsertFind.yml +1680 -0
  935. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Update.yml +1697 -0
  936. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Aggregate.yml +329 -0
  937. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Correctness.yml +424 -0
  938. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Delete.yml +226 -0
  939. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-FindOneAndUpdate.yml +327 -0
  940. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-InsertFind.yml +319 -0
  941. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Update.yml +336 -0
  942. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Aggregate.yml +913 -0
  943. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Correctness.yml +292 -0
  944. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Delete.yml +518 -0
  945. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-FindOneAndUpdate.yml +911 -0
  946. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-InsertFind.yml +907 -0
  947. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Update.yml +924 -0
  948. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Aggregate.yml +325 -0
  949. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Correctness.yml +424 -0
  950. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Delete.yml +224 -0
  951. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-FindOneAndUpdate.yml +323 -0
  952. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-InsertFind.yml +319 -0
  953. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Update.yml +338 -0
  954. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Aggregate.yml +241 -0
  955. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Correctness.yml +423 -0
  956. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Delete.yml +182 -0
  957. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-FindOneAndUpdate.yml +239 -0
  958. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-InsertFind.yml +235 -0
  959. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Update.yml +254 -0
  960. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Aggregate.yml +241 -0
  961. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Correctness.yml +422 -0
  962. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Delete.yml +182 -0
  963. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-FindOneAndUpdate.yml +239 -0
  964. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-InsertFind.yml +235 -0
  965. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Update.yml +254 -0
  966. data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-WrongType.yml +43 -0
  967. data/spec/spec_tests/data/client_side_encryption/fle2v2-Update.yml +210 -0
  968. data/spec/spec_tests/data/client_side_encryption/fle2v2-validatorAndPartialFieldExpression.yml +169 -0
  969. data/spec/spec_tests/data/client_side_encryption/gcpKMS.yml +46 -0
  970. data/spec/spec_tests/data/client_side_encryption/getMore.yml +1 -8
  971. data/spec/spec_tests/data/client_side_encryption/insert.yml +2 -16
  972. data/spec/spec_tests/data/client_side_encryption/keyAltName.yml +1 -8
  973. data/spec/spec_tests/data/client_side_encryption/localKMS.yml +1 -8
  974. data/spec/spec_tests/data/client_side_encryption/localSchema.yml +1 -8
  975. data/spec/spec_tests/data/client_side_encryption/maxWireVersion.yml +3 -1
  976. data/spec/spec_tests/data/client_side_encryption/missingKey.yml +2 -9
  977. data/spec/spec_tests/data/client_side_encryption/noSchema.yml +39 -0
  978. data/spec/spec_tests/data/client_side_encryption/replaceOne.yml +1 -8
  979. data/spec/spec_tests/data/client_side_encryption/types.yml +44 -70
  980. data/spec/spec_tests/data/client_side_encryption/unified/addKeyAltName.yml +194 -0
  981. data/spec/spec_tests/data/client_side_encryption/unified/createDataKey-kms_providers-invalid.yml +67 -0
  982. data/spec/spec_tests/data/client_side_encryption/unified/createDataKey.yml +309 -0
  983. data/spec/spec_tests/data/client_side_encryption/unified/deleteKey.yml +159 -0
  984. data/spec/spec_tests/data/client_side_encryption/unified/getKey.yml +105 -0
  985. data/spec/spec_tests/data/client_side_encryption/unified/getKeyByAltName.yml +104 -0
  986. data/spec/spec_tests/data/client_side_encryption/unified/getKeys.yml +122 -0
  987. data/spec/spec_tests/data/client_side_encryption/unified/removeKeyAltName.yml +157 -0
  988. data/spec/spec_tests/data/client_side_encryption/unified/rewrapManyDataKey-decrypt_failure.yml +69 -0
  989. data/spec/spec_tests/data/client_side_encryption/unified/rewrapManyDataKey-encrypt_failure.yml +122 -0
  990. data/spec/spec_tests/data/client_side_encryption/unified/rewrapManyDataKey.yml +432 -0
  991. data/spec/spec_tests/data/client_side_encryption/updateMany.yml +1 -8
  992. data/spec/spec_tests/data/client_side_encryption/updateOne.yml +1 -8
  993. data/spec/spec_tests/data/client_side_encryption/validatorAndPartialFieldExpression.yml +166 -0
  994. data/spec/spec_tests/data/cmap/connection-must-have-id.yml +2 -0
  995. data/spec/spec_tests/data/cmap/connection-must-order-ids.yml +2 -0
  996. data/spec/spec_tests/data/cmap/pool-checkin-destroy-closed.yml +2 -0
  997. data/spec/spec_tests/data/cmap/pool-checkin-destroy-stale.yml +2 -0
  998. data/spec/spec_tests/data/cmap/pool-checkin-make-available.yml +3 -1
  999. data/spec/spec_tests/data/cmap/pool-checkin.yml +5 -0
  1000. data/spec/spec_tests/data/cmap/pool-checkout-connection.yml +8 -2
  1001. data/spec/spec_tests/data/cmap/pool-checkout-custom-maxConnecting-is-enforced.yml +50 -0
  1002. data/spec/spec_tests/data/cmap/pool-checkout-error-closed.yml +2 -0
  1003. data/spec/spec_tests/data/cmap/pool-checkout-maxConnecting-is-enforced.yml +81 -0
  1004. data/spec/spec_tests/data/cmap/pool-checkout-maxConnecting-timeout.yml +71 -0
  1005. data/spec/spec_tests/data/cmap/pool-checkout-minPoolSize-connection-maxConnecting.yml +64 -0
  1006. data/spec/spec_tests/data/cmap/pool-checkout-multiple.yml +2 -0
  1007. data/spec/spec_tests/data/cmap/pool-checkout-no-idle.yml +6 -0
  1008. data/spec/spec_tests/data/cmap/pool-checkout-no-stale.yml +8 -0
  1009. data/spec/spec_tests/data/cmap/pool-checkout-returned-connection-maxConnecting.yml +88 -0
  1010. data/spec/spec_tests/data/cmap/pool-clear-interrupt-immediately.yml +49 -0
  1011. data/spec/spec_tests/data/cmap/pool-clear-interrupting-pending-connections.yml +43 -0
  1012. data/spec/spec_tests/data/cmap/pool-clear-min-size.yml +41 -0
  1013. data/spec/spec_tests/data/cmap/pool-clear-paused.yml +18 -0
  1014. data/spec/spec_tests/data/cmap/pool-clear-ready.yml +39 -0
  1015. data/spec/spec_tests/data/cmap/pool-clear-schedule-run-interruptInUseConnections-false.yml +48 -0
  1016. data/spec/spec_tests/data/cmap/pool-close-destroy-conns.yml +2 -0
  1017. data/spec/spec_tests/data/cmap/pool-create-max-size.yml +2 -0
  1018. data/spec/spec_tests/data/cmap/pool-create-min-size-error.yml +43 -0
  1019. data/spec/spec_tests/data/cmap/pool-create-min-size.yml +12 -0
  1020. data/spec/spec_tests/data/cmap/pool-ready-ready.yml +22 -0
  1021. data/spec/spec_tests/data/cmap/pool-ready.yml +30 -0
  1022. data/spec/spec_tests/data/cmap/wait-queue-fairness.yml +2 -0
  1023. data/spec/spec_tests/data/cmap/wait-queue-timeout.yml +6 -1
  1024. data/spec/spec_tests/data/collection_management/clustered-indexes.yml +135 -0
  1025. data/spec/spec_tests/data/collection_management/createCollection-pre_and_post_images.yml +50 -0
  1026. data/spec/spec_tests/data/collection_management/modifyCollection-errorResponse.yml +59 -0
  1027. data/spec/spec_tests/data/collection_management/modifyCollection-pre_and_post_images.yml +58 -0
  1028. data/spec/spec_tests/data/collection_management/timeseries-collection.yml +164 -0
  1029. data/spec/spec_tests/data/command_monitoring_unified/bulkWrite.yml +68 -0
  1030. data/spec/spec_tests/data/command_monitoring_unified/command.yml +50 -0
  1031. data/spec/spec_tests/data/command_monitoring_unified/deleteMany.yml +79 -0
  1032. data/spec/spec_tests/data/command_monitoring_unified/deleteOne.yml +79 -0
  1033. data/spec/spec_tests/data/command_monitoring_unified/find.yml +254 -0
  1034. data/spec/spec_tests/data/command_monitoring_unified/insertMany.yml +79 -0
  1035. data/spec/spec_tests/data/command_monitoring_unified/insertOne.yml +77 -0
  1036. data/spec/spec_tests/data/command_monitoring_unified/pre-42-server-connection-id.yml +56 -0
  1037. data/spec/spec_tests/data/command_monitoring_unified/redacted-commands.yml +348 -0
  1038. data/spec/spec_tests/data/command_monitoring_unified/server-connection-id.yml +56 -0
  1039. data/spec/spec_tests/data/command_monitoring_unified/unacknowledgedBulkWrite.yml +55 -0
  1040. data/spec/spec_tests/data/command_monitoring_unified/updateMany.yml +87 -0
  1041. data/spec/spec_tests/data/command_monitoring_unified/updateOne.yml +118 -0
  1042. data/spec/spec_tests/data/command_monitoring_unified/writeConcernError.yml +80 -0
  1043. data/spec/spec_tests/data/connection_string/valid-warnings.yml +24 -0
  1044. data/spec/spec_tests/data/crud/read/aggregate-collation.yml +2 -1
  1045. data/spec/spec_tests/data/crud/read/aggregate-out.yml +1 -0
  1046. data/spec/spec_tests/data/crud/read/count-collation.yml +2 -1
  1047. data/spec/spec_tests/data/crud/read/distinct-collation.yml +2 -1
  1048. data/spec/spec_tests/data/crud/read/find-collation.yml +2 -1
  1049. data/spec/spec_tests/data/crud/write/bulkWrite-collation.yml +2 -1
  1050. data/spec/spec_tests/data/crud/write/bulkWrite.yml +26 -22
  1051. data/spec/spec_tests/data/crud/write/deleteMany-collation.yml +2 -1
  1052. data/spec/spec_tests/data/crud/write/deleteOne-collation.yml +2 -1
  1053. data/spec/spec_tests/data/crud/write/findOneAndDelete-collation.yml +3 -2
  1054. data/spec/spec_tests/data/crud/write/findOneAndReplace-collation.yml +2 -1
  1055. data/spec/spec_tests/data/crud/write/findOneAndUpdate-collation.yml +3 -2
  1056. data/spec/spec_tests/data/crud/write/insertMany.yml +26 -22
  1057. data/spec/spec_tests/data/crud/write/replaceOne-collation.yml +3 -2
  1058. data/spec/spec_tests/data/crud/write/updateMany-collation.yml +2 -1
  1059. data/spec/spec_tests/data/crud/write/updateOne-collation.yml +2 -1
  1060. data/spec/spec_tests/data/crud_unified/aggregate-allowdiskuse.yml +75 -0
  1061. data/spec/spec_tests/data/crud_unified/aggregate-let.yml +138 -0
  1062. data/spec/spec_tests/data/crud_unified/aggregate-merge-errorResponse.yml +42 -0
  1063. data/spec/spec_tests/data/crud_unified/aggregate-merge.yml +185 -0
  1064. data/spec/spec_tests/data/crud_unified/aggregate-out-readConcern.yml +171 -0
  1065. data/spec/spec_tests/data/crud_unified/aggregate-write-readPreference.yml +155 -0
  1066. data/spec/spec_tests/data/crud_unified/aggregate.yml +215 -0
  1067. data/spec/spec_tests/data/crud_unified/bulkWrite-arrayFilters-clientError.yml +98 -0
  1068. data/spec/spec_tests/data/crud_unified/bulkWrite-arrayFilters.yml +174 -0
  1069. data/spec/spec_tests/data/crud_unified/bulkWrite-comment.yml +189 -0
  1070. data/spec/spec_tests/data/crud_unified/bulkWrite-delete-hint-clientError.yml +113 -0
  1071. data/spec/spec_tests/data/crud_unified/bulkWrite-delete-hint-serverError.yml +142 -0
  1072. data/spec/spec_tests/data/crud_unified/bulkWrite-delete-hint.yml +154 -0
  1073. data/spec/spec_tests/data/crud_unified/bulkWrite-deleteMany-hint-unacknowledged.yml +98 -0
  1074. data/spec/spec_tests/data/crud_unified/bulkWrite-deleteMany-let.yml +86 -0
  1075. data/spec/spec_tests/data/crud_unified/bulkWrite-deleteOne-hint-unacknowledged.yml +97 -0
  1076. data/spec/spec_tests/data/crud_unified/bulkWrite-deleteOne-let.yml +86 -0
  1077. data/spec/spec_tests/data/crud_unified/bulkWrite-errorResponse.yml +50 -0
  1078. data/spec/spec_tests/data/crud_unified/bulkWrite-insertOne-dots_and_dollars.yml +138 -0
  1079. data/spec/spec_tests/data/crud_unified/bulkWrite-replaceOne-dots_and_dollars.yml +165 -0
  1080. data/spec/spec_tests/data/crud_unified/bulkWrite-replaceOne-hint-unacknowledged.yml +103 -0
  1081. data/spec/spec_tests/data/crud_unified/bulkWrite-replaceOne-let.yml +93 -0
  1082. data/spec/spec_tests/data/crud_unified/bulkWrite-update-hint-clientError.yml +148 -0
  1083. data/spec/spec_tests/data/crud_unified/bulkWrite-update-hint-serverError.yml +239 -0
  1084. data/spec/spec_tests/data/crud_unified/bulkWrite-update-hint.yml +256 -0
  1085. data/spec/spec_tests/data/crud_unified/bulkWrite-update-validation.yml +73 -0
  1086. data/spec/spec_tests/data/crud_unified/bulkWrite-updateMany-dots_and_dollars.yml +150 -0
  1087. data/spec/spec_tests/data/crud_unified/bulkWrite-updateMany-hint-unacknowledged.yml +104 -0
  1088. data/spec/spec_tests/data/crud_unified/bulkWrite-updateMany-let.yml +96 -0
  1089. data/spec/spec_tests/data/crud_unified/bulkWrite-updateOne-dots_and_dollars.yml +150 -0
  1090. data/spec/spec_tests/data/crud_unified/bulkWrite-updateOne-hint-unacknowledged.yml +103 -0
  1091. data/spec/spec_tests/data/crud_unified/bulkWrite-updateOne-let.yml +95 -0
  1092. data/spec/spec_tests/data/crud_unified/countDocuments-comment.yml +92 -0
  1093. data/spec/spec_tests/data/crud_unified/db-aggregate-write-readPreference.yml +151 -0
  1094. data/spec/spec_tests/data/crud_unified/db-aggregate.yml +73 -0
  1095. data/spec/spec_tests/data/crud_unified/deleteMany-comment.yml +97 -0
  1096. data/spec/spec_tests/data/crud_unified/deleteMany-hint-clientError.yml +87 -0
  1097. data/spec/spec_tests/data/crud_unified/deleteMany-hint-serverError.yml +107 -0
  1098. data/spec/spec_tests/data/crud_unified/deleteMany-hint-unacknowledged.yml +90 -0
  1099. data/spec/spec_tests/data/crud_unified/deleteMany-hint.yml +99 -0
  1100. data/spec/spec_tests/data/crud_unified/deleteMany-let.yml +93 -0
  1101. data/spec/spec_tests/data/crud_unified/deleteOne-comment.yml +98 -0
  1102. data/spec/spec_tests/data/crud_unified/deleteOne-errorResponse.yml +46 -0
  1103. data/spec/spec_tests/data/crud_unified/deleteOne-hint-clientError.yml +80 -0
  1104. data/spec/spec_tests/data/crud_unified/deleteOne-hint-serverError.yml +100 -0
  1105. data/spec/spec_tests/data/crud_unified/deleteOne-hint-unacknowledged.yml +89 -0
  1106. data/spec/spec_tests/data/crud_unified/deleteOne-hint.yml +95 -0
  1107. data/spec/spec_tests/data/crud_unified/deleteOne-let.yml +91 -0
  1108. data/spec/spec_tests/data/crud_unified/distinct-comment.yml +98 -0
  1109. data/spec/spec_tests/data/crud_unified/estimatedDocumentCount-comment.yml +95 -0
  1110. data/spec/spec_tests/data/crud_unified/estimatedDocumentCount.yml +181 -0
  1111. data/spec/spec_tests/data/crud_unified/find-allowdiskuse-clientError.yml +55 -0
  1112. data/spec/spec_tests/data/crud_unified/find-allowdiskuse-serverError.yml +68 -0
  1113. data/spec/spec_tests/data/crud_unified/find-allowdiskuse.yml +79 -0
  1114. data/spec/spec_tests/data/crud_unified/find-comment.yml +166 -0
  1115. data/spec/spec_tests/data/crud_unified/find-let.yml +71 -0
  1116. data/spec/spec_tests/data/crud_unified/find.yml +68 -0
  1117. data/spec/spec_tests/data/crud_unified/findOneAndDelete-comment.yml +96 -0
  1118. data/spec/spec_tests/data/crud_unified/findOneAndDelete-hint-clientError.yml +91 -0
  1119. data/spec/spec_tests/data/crud_unified/findOneAndDelete-hint-serverError.yml +107 -0
  1120. data/spec/spec_tests/data/crud_unified/findOneAndDelete-hint-unacknowledged.yml +88 -0
  1121. data/spec/spec_tests/data/crud_unified/findOneAndDelete-hint.yml +102 -0
  1122. data/spec/spec_tests/data/crud_unified/findOneAndDelete-let.yml +86 -0
  1123. data/spec/spec_tests/data/crud_unified/findOneAndReplace-comment.yml +101 -0
  1124. data/spec/spec_tests/data/crud_unified/findOneAndReplace-dots_and_dollars.yml +140 -0
  1125. data/spec/spec_tests/data/crud_unified/findOneAndReplace-hint-clientError.yml +83 -0
  1126. data/spec/spec_tests/data/crud_unified/findOneAndReplace-hint-serverError.yml +99 -0
  1127. data/spec/spec_tests/data/crud_unified/findOneAndReplace-hint-unacknowledged.yml +96 -0
  1128. data/spec/spec_tests/data/crud_unified/findOneAndReplace-hint.yml +98 -0
  1129. data/spec/spec_tests/data/crud_unified/findOneAndReplace-let.yml +94 -0
  1130. data/spec/spec_tests/data/crud_unified/findOneAndUpdate-comment.yml +95 -0
  1131. data/spec/spec_tests/data/crud_unified/findOneAndUpdate-dots_and_dollars.yml +127 -0
  1132. data/spec/spec_tests/data/crud_unified/findOneAndUpdate-errorResponse.yml +69 -0
  1133. data/spec/spec_tests/data/crud_unified/findOneAndUpdate-hint-clientError.yml +84 -0
  1134. data/spec/spec_tests/data/crud_unified/findOneAndUpdate-hint-serverError.yml +100 -0
  1135. data/spec/spec_tests/data/crud_unified/findOneAndUpdate-hint-unacknowledged.yml +92 -0
  1136. data/spec/spec_tests/data/crud_unified/findOneAndUpdate-hint.yml +99 -0
  1137. data/spec/spec_tests/data/crud_unified/findOneAndUpdate-let.yml +96 -0
  1138. data/spec/spec_tests/data/crud_unified/insertMany-comment.yml +93 -0
  1139. data/spec/spec_tests/data/crud_unified/insertMany-dots_and_dollars.yml +128 -0
  1140. data/spec/spec_tests/data/crud_unified/insertOne-comment.yml +91 -0
  1141. data/spec/spec_tests/data/crud_unified/insertOne-dots_and_dollars.yml +238 -0
  1142. data/spec/spec_tests/data/crud_unified/insertOne-errorResponse.yml +46 -0
  1143. data/spec/spec_tests/data/crud_unified/replaceOne-comment.yml +105 -0
  1144. data/spec/spec_tests/data/crud_unified/replaceOne-dots_and_dollars.yml +180 -0
  1145. data/spec/spec_tests/data/crud_unified/replaceOne-hint-unacknowledged.yml +95 -0
  1146. data/spec/spec_tests/data/crud_unified/replaceOne-hint.yml +108 -0
  1147. data/spec/spec_tests/data/crud_unified/replaceOne-let.yml +98 -0
  1148. data/spec/spec_tests/data/crud_unified/replaceOne-validation.yml +37 -0
  1149. data/spec/spec_tests/data/crud_unified/updateMany-comment.yml +104 -0
  1150. data/spec/spec_tests/data/crud_unified/updateMany-dots_and_dollars.yml +138 -0
  1151. data/spec/spec_tests/data/crud_unified/updateMany-hint-clientError.yml +91 -0
  1152. data/spec/spec_tests/data/crud_unified/updateMany-hint-serverError.yml +115 -0
  1153. data/spec/spec_tests/data/crud_unified/updateMany-hint-unacknowledged.yml +96 -0
  1154. data/spec/spec_tests/data/crud_unified/updateMany-hint.yml +115 -0
  1155. data/spec/spec_tests/data/crud_unified/updateMany-let.yml +107 -0
  1156. data/spec/spec_tests/data/crud_unified/updateMany-validation.yml +39 -0
  1157. data/spec/spec_tests/data/crud_unified/updateOne-comment.yml +104 -0
  1158. data/spec/spec_tests/data/crud_unified/updateOne-dots_and_dollars.yml +138 -0
  1159. data/spec/spec_tests/data/crud_unified/updateOne-errorResponse.yml +47 -0
  1160. data/spec/spec_tests/data/crud_unified/updateOne-hint-clientError.yml +85 -0
  1161. data/spec/spec_tests/data/crud_unified/updateOne-hint-serverError.yml +109 -0
  1162. data/spec/spec_tests/data/crud_unified/updateOne-hint-unacknowledged.yml +95 -0
  1163. data/spec/spec_tests/data/crud_unified/updateOne-hint.yml +109 -0
  1164. data/spec/spec_tests/data/crud_unified/updateOne-let.yml +102 -0
  1165. data/spec/spec_tests/data/crud_unified/updateOne-validation.yml +37 -0
  1166. data/spec/spec_tests/data/crud_unified/updateWithPipelines.yml +299 -0
  1167. data/spec/spec_tests/data/gridfs_unified/delete.yml +198 -0
  1168. data/spec/spec_tests/data/gridfs_unified/download.yml +241 -0
  1169. data/spec/spec_tests/data/gridfs_unified/downloadByName.yml +159 -0
  1170. data/spec/spec_tests/data/gridfs_unified/upload-disableMD5.yml +92 -0
  1171. data/spec/spec_tests/data/gridfs_unified/upload.yml +288 -0
  1172. data/spec/spec_tests/data/load_balancers/event-monitoring.yml +99 -0
  1173. data/spec/spec_tests/data/load_balancers/lb-connection-establishment.yml +36 -0
  1174. data/spec/spec_tests/data/load_balancers/non-lb-connection-establishment.yml +56 -0
  1175. data/spec/spec_tests/data/load_balancers/server-selection.yml +50 -0
  1176. data/spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/DefaultNoMaxStaleness.yml +2 -2
  1177. data/spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/LastUpdateTime.yml +3 -3
  1178. data/spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Nearest.yml +3 -3
  1179. data/spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Nearest2.yml +3 -3
  1180. data/spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/PrimaryPreferred.yml +2 -2
  1181. data/spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/PrimaryPreferred_tags.yml +2 -2
  1182. data/spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Secondary.yml +4 -4
  1183. data/spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/SecondaryPreferred.yml +2 -2
  1184. data/spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/SecondaryPreferred_tags.yml +4 -4
  1185. data/spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/ZeroMaxStaleness.yml +2 -2
  1186. data/spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/DefaultNoMaxStaleness.yml +2 -2
  1187. data/spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LastUpdateTime.yml +3 -3
  1188. data/spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LongHeartbeat.yml +2 -2
  1189. data/spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LongHeartbeat2.yml +2 -2
  1190. data/spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/MaxStalenessTooSmall.yml +2 -2
  1191. data/spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/MaxStalenessWithModePrimary.yml +2 -2
  1192. data/spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest.yml +3 -3
  1193. data/spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest2.yml +3 -3
  1194. data/spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest_tags.yml +2 -2
  1195. data/spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/PrimaryPreferred.yml +2 -2
  1196. data/spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred.yml +2 -2
  1197. data/spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred_tags.yml +5 -5
  1198. data/spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred_tags2.yml +3 -3
  1199. data/spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Secondary_tags.yml +5 -5
  1200. data/spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Secondary_tags2.yml +3 -3
  1201. data/spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/ZeroMaxStaleness.yml +2 -2
  1202. data/spec/spec_tests/data/max_staleness/Sharded/SmallMaxStaleness.yml +2 -2
  1203. data/spec/spec_tests/data/max_staleness/Single/SmallMaxStaleness.yml +1 -1
  1204. data/spec/spec_tests/data/max_staleness/Unknown/SmallMaxStaleness.yml +1 -1
  1205. data/spec/spec_tests/data/retryable_reads/legacy/aggregate-serverErrors.yml +157 -0
  1206. data/spec/spec_tests/data/retryable_reads/legacy/changeStreams-client.watch-serverErrors.yml +150 -0
  1207. data/spec/spec_tests/data/retryable_reads/legacy/changeStreams-client.watch.yml +62 -0
  1208. data/spec/spec_tests/data/retryable_reads/legacy/changeStreams-db.coll.watch-serverErrors.yml +150 -0
  1209. data/spec/spec_tests/data/retryable_reads/legacy/changeStreams-db.coll.watch.yml +66 -0
  1210. data/spec/spec_tests/data/retryable_reads/legacy/changeStreams-db.watch-serverErrors.yml +154 -0
  1211. data/spec/spec_tests/data/retryable_reads/legacy/changeStreams-db.watch.yml +62 -0
  1212. data/spec/spec_tests/data/retryable_reads/legacy/count-serverErrors.yml +150 -0
  1213. data/spec/spec_tests/data/retryable_reads/legacy/countDocuments-serverErrors.yml +150 -0
  1214. data/spec/spec_tests/data/retryable_reads/legacy/distinct-serverErrors.yml +156 -0
  1215. data/spec/spec_tests/data/retryable_reads/legacy/estimatedDocumentCount-serverErrors.yml +148 -0
  1216. data/spec/spec_tests/data/retryable_reads/legacy/find-serverErrors.yml +160 -0
  1217. data/spec/spec_tests/data/retryable_reads/legacy/findOne-serverErrors.yml +154 -0
  1218. data/spec/spec_tests/data/retryable_reads/legacy/gridfs-download-serverErrors.yml +173 -0
  1219. data/spec/spec_tests/data/retryable_reads/legacy/gridfs-downloadByName-serverErrors.yml +174 -0
  1220. data/spec/spec_tests/data/retryable_reads/legacy/listCollectionNames-serverErrors.yml +143 -0
  1221. data/spec/spec_tests/data/retryable_reads/legacy/listCollectionObjects-serverErrors.yml +144 -0
  1222. data/spec/spec_tests/data/retryable_reads/legacy/listCollections-serverErrors.yml +143 -0
  1223. data/spec/spec_tests/data/retryable_reads/legacy/listDatabaseNames-serverErrors.yml +143 -0
  1224. data/spec/spec_tests/data/retryable_reads/legacy/listDatabaseObjects-serverErrors.yml +144 -0
  1225. data/spec/spec_tests/data/retryable_reads/legacy/listDatabases-serverErrors.yml +144 -0
  1226. data/spec/spec_tests/data/retryable_reads/legacy/listIndexNames-serverErrors.yml +144 -0
  1227. data/spec/spec_tests/data/retryable_reads/legacy/listIndexNames.yml +60 -0
  1228. data/spec/spec_tests/data/retryable_reads/legacy/listIndexes-serverErrors.yml +145 -0
  1229. data/spec/spec_tests/data/retryable_reads/legacy/mapReduce.yml +62 -0
  1230. data/spec/spec_tests/data/retryable_reads/unified/handshakeError.yml +1342 -0
  1231. data/spec/spec_tests/data/retryable_writes/legacy/bulkWrite-serverErrors.yml +130 -0
  1232. data/spec/spec_tests/data/retryable_writes/legacy/bulkWrite.yml +402 -0
  1233. data/spec/spec_tests/data/retryable_writes/legacy/deleteOne-serverErrors.yml +73 -0
  1234. data/spec/spec_tests/data/retryable_writes/legacy/findOneAndDelete-serverErrors.yml +74 -0
  1235. data/spec/spec_tests/data/retryable_writes/legacy/findOneAndReplace-serverErrors.yml +80 -0
  1236. data/spec/spec_tests/data/retryable_writes/legacy/findOneAndUpdate-serverErrors.yml +79 -0
  1237. data/spec/spec_tests/data/retryable_writes/legacy/insertMany-serverErrors.yml +84 -0
  1238. data/spec/spec_tests/data/retryable_writes/legacy/insertOne-serverErrors.yml +527 -0
  1239. data/spec/spec_tests/data/retryable_writes/legacy/replaceOne-serverErrors.yml +82 -0
  1240. data/spec/spec_tests/data/retryable_writes/legacy/updateOne-serverErrors.yml +82 -0
  1241. data/spec/spec_tests/data/retryable_writes/unified/bulkWrite-serverErrors.yml +96 -0
  1242. data/spec/spec_tests/data/retryable_writes/unified/handshakeError.yml +785 -0
  1243. data/spec/spec_tests/data/retryable_writes/unified/insertOne-noWritesPerformedError.yml +54 -0
  1244. data/spec/spec_tests/data/retryable_writes/unified/insertOne-serverErrors.yml +78 -0
  1245. data/spec/spec_tests/data/sdam/errors/error_handling_handshake.yml +2 -1
  1246. data/spec/spec_tests/data/sdam/errors/non-stale-network-error.yml +2 -1
  1247. data/spec/spec_tests/data/sdam/errors/non-stale-network-timeout-error.yml +2 -1
  1248. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-InterruptedAtShutdown.yml +2 -1
  1249. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-InterruptedDueToReplStateChange.yml +2 -1
  1250. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-LegacyNotPrimary.yml +61 -0
  1251. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotPrimaryNoSecondaryOk.yml +61 -0
  1252. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotPrimaryOrSecondary.yml +61 -0
  1253. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotWritablePrimary.yml +61 -0
  1254. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-PrimarySteppedDown.yml +2 -1
  1255. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-ShutdownInProgress.yml +2 -1
  1256. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-InterruptedAtShutdown.yml +2 -1
  1257. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-InterruptedDueToReplStateChange.yml +2 -1
  1258. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-LegacyNotPrimary.yml +52 -0
  1259. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotPrimaryNoSecondaryOk.yml +52 -0
  1260. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotPrimaryOrSecondary.yml +52 -0
  1261. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotWritablePrimary.yml +52 -0
  1262. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-PrimarySteppedDown.yml +2 -1
  1263. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-ShutdownInProgress.yml +2 -1
  1264. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-InterruptedAtShutdown.yml +2 -1
  1265. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-InterruptedDueToReplStateChange.yml +2 -1
  1266. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-LegacyNotPrimary.yml +61 -0
  1267. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotPrimaryNoSecondaryOk.yml +61 -0
  1268. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotPrimaryOrSecondary.yml +61 -0
  1269. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotWritablePrimary.yml +61 -0
  1270. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-PrimarySteppedDown.yml +2 -1
  1271. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-ShutdownInProgress.yml +2 -1
  1272. data/spec/spec_tests/data/sdam/errors/post-42-InterruptedAtShutdown.yml +2 -1
  1273. data/spec/spec_tests/data/sdam/errors/post-42-InterruptedDueToReplStateChange.yml +2 -1
  1274. data/spec/spec_tests/data/sdam/errors/post-42-LegacyNotPrimary.yml +47 -0
  1275. data/spec/spec_tests/data/sdam/errors/post-42-NotPrimaryNoSecondaryOk.yml +47 -0
  1276. data/spec/spec_tests/data/sdam/errors/post-42-NotPrimaryOrSecondary.yml +47 -0
  1277. data/spec/spec_tests/data/sdam/errors/post-42-NotWritablePrimary.yml +47 -0
  1278. data/spec/spec_tests/data/sdam/errors/post-42-PrimarySteppedDown.yml +2 -1
  1279. data/spec/spec_tests/data/sdam/errors/post-42-ShutdownInProgress.yml +2 -1
  1280. data/spec/spec_tests/data/sdam/errors/pre-42-InterruptedAtShutdown.yml +2 -1
  1281. data/spec/spec_tests/data/sdam/errors/pre-42-InterruptedDueToReplStateChange.yml +2 -1
  1282. data/spec/spec_tests/data/sdam/errors/pre-42-LegacyNotPrimary.yml +47 -0
  1283. data/spec/spec_tests/data/sdam/errors/pre-42-NotPrimaryNoSecondaryOk.yml +47 -0
  1284. data/spec/spec_tests/data/sdam/errors/pre-42-NotPrimaryOrSecondary.yml +47 -0
  1285. data/spec/spec_tests/data/sdam/errors/pre-42-NotWritablePrimary.yml +47 -0
  1286. data/spec/spec_tests/data/sdam/errors/pre-42-PrimarySteppedDown.yml +2 -1
  1287. data/spec/spec_tests/data/sdam/errors/pre-42-ShutdownInProgress.yml +2 -1
  1288. data/spec/spec_tests/data/sdam/errors/prefer-error-code.yml +54 -0
  1289. data/spec/spec_tests/data/sdam/errors/stale-generation-InterruptedAtShutdown.yml +4 -2
  1290. data/spec/spec_tests/data/sdam/errors/stale-generation-InterruptedDueToReplStateChange.yml +4 -2
  1291. data/spec/spec_tests/data/sdam/errors/stale-generation-NotPrimaryNoSecondaryOk.yml +91 -0
  1292. data/spec/spec_tests/data/sdam/errors/stale-generation-NotPrimaryOrSecondary.yml +91 -0
  1293. data/spec/spec_tests/data/sdam/errors/stale-generation-NotWritablePrimary.yml +91 -0
  1294. data/spec/spec_tests/data/sdam/errors/stale-generation-PrimarySteppedDown.yml +4 -2
  1295. data/spec/spec_tests/data/sdam/errors/stale-generation-ShutdownInProgress.yml +4 -2
  1296. data/spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-InterruptedAtShutdown.yml +4 -2
  1297. data/spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-InterruptedDueToReplStateChange.yml +4 -2
  1298. data/spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-LegacyNotPrimary.yml +91 -0
  1299. data/spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotPrimaryNoSecondaryOk.yml +91 -0
  1300. data/spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotPrimaryOrSecondary.yml +91 -0
  1301. data/spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotWritablePrimary.yml +91 -0
  1302. data/spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-PrimarySteppedDown.yml +4 -2
  1303. data/spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-ShutdownInProgress.yml +4 -2
  1304. data/spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-network.yml +6 -4
  1305. data/spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-timeout.yml +6 -4
  1306. data/spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-InterruptedAtShutdown.yml +4 -2
  1307. data/spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-InterruptedDueToReplStateChange.yml +4 -2
  1308. data/spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-LegacyNotPrimary.yml +91 -0
  1309. data/spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotPrimaryNoSecondaryOk.yml +91 -0
  1310. data/spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotPrimaryOrSecondary.yml +91 -0
  1311. data/spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotWritablePrimary.yml +91 -0
  1312. data/spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-PrimarySteppedDown.yml +4 -2
  1313. data/spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-ShutdownInProgress.yml +4 -2
  1314. data/spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-network.yml +6 -4
  1315. data/spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-timeout.yml +6 -4
  1316. data/spec/spec_tests/data/sdam/errors/stale-topologyVersion-InterruptedAtShutdown.yml +2 -1
  1317. data/spec/spec_tests/data/sdam/errors/stale-topologyVersion-InterruptedDueToReplStateChange.yml +2 -1
  1318. data/spec/spec_tests/data/sdam/errors/stale-topologyVersion-LegacyNotPrimary.yml +65 -0
  1319. data/spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotPrimaryNoSecondaryOk.yml +65 -0
  1320. data/spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotPrimaryOrSecondary.yml +65 -0
  1321. data/spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotWritablePrimary.yml +65 -0
  1322. data/spec/spec_tests/data/sdam/errors/stale-topologyVersion-PrimarySteppedDown.yml +2 -1
  1323. data/spec/spec_tests/data/sdam/errors/stale-topologyVersion-ShutdownInProgress.yml +2 -1
  1324. data/spec/spec_tests/data/sdam/errors/write_errors_ignored.yml +42 -0
  1325. data/spec/spec_tests/data/sdam/load-balanced/discover_load_balancer.yml +25 -0
  1326. data/spec/spec_tests/data/sdam/rs/compatible.yml +4 -2
  1327. data/spec/spec_tests/data/sdam/rs/compatible_unknown.yml +2 -1
  1328. data/spec/spec_tests/data/sdam/rs/discover_arbiters.yml +2 -1
  1329. data/spec/spec_tests/data/sdam/rs/discover_arbiters_replicaset.yml +2 -1
  1330. data/spec/spec_tests/data/sdam/rs/discover_ghost.yml +2 -1
  1331. data/spec/spec_tests/data/sdam/rs/discover_ghost_replicaset.yml +2 -1
  1332. data/spec/spec_tests/data/sdam/rs/discover_hidden.yml +2 -1
  1333. data/spec/spec_tests/data/sdam/rs/discover_hidden_replicaset.yml +2 -1
  1334. data/spec/spec_tests/data/sdam/rs/discover_passives.yml +4 -2
  1335. data/spec/spec_tests/data/sdam/rs/discover_passives_replicaset.yml +4 -2
  1336. data/spec/spec_tests/data/sdam/rs/discover_primary.yml +2 -1
  1337. data/spec/spec_tests/data/sdam/rs/discover_primary_replicaset.yml +2 -1
  1338. data/spec/spec_tests/data/sdam/rs/discover_rsother.yml +2 -1
  1339. data/spec/spec_tests/data/sdam/rs/discover_rsother_replicaset.yml +4 -2
  1340. data/spec/spec_tests/data/sdam/rs/discover_secondary.yml +2 -1
  1341. data/spec/spec_tests/data/sdam/rs/discover_secondary_replicaset.yml +2 -1
  1342. data/spec/spec_tests/data/sdam/rs/discovery.yml +8 -4
  1343. data/spec/spec_tests/data/sdam/rs/electionId_precedence_setVersion.yml +62 -0
  1344. data/spec/spec_tests/data/sdam/rs/equal_electionids.yml +4 -2
  1345. data/spec/spec_tests/data/sdam/rs/hosts_differ_from_seeds.yml +2 -1
  1346. data/spec/spec_tests/data/sdam/rs/incompatible_arbiter.yml +3 -1
  1347. data/spec/spec_tests/data/sdam/rs/incompatible_ghost.yml +3 -1
  1348. data/spec/spec_tests/data/sdam/rs/incompatible_other.yml +3 -1
  1349. data/spec/spec_tests/data/sdam/rs/ls_timeout.yml +12 -6
  1350. data/spec/spec_tests/data/sdam/rs/member_reconfig.yml +4 -2
  1351. data/spec/spec_tests/data/sdam/rs/member_standalone.yml +4 -2
  1352. data/spec/spec_tests/data/sdam/rs/new_primary.yml +4 -2
  1353. data/spec/spec_tests/data/sdam/rs/new_primary_new_electionid.yml +6 -3
  1354. data/spec/spec_tests/data/sdam/rs/new_primary_new_setversion.yml +6 -3
  1355. data/spec/spec_tests/data/sdam/rs/new_primary_wrong_set_name.yml +4 -2
  1356. data/spec/spec_tests/data/sdam/rs/non_rs_member.yml +1 -0
  1357. data/spec/spec_tests/data/sdam/rs/normalize_case.yml +2 -1
  1358. data/spec/spec_tests/data/sdam/rs/normalize_case_me.yml +4 -2
  1359. data/spec/spec_tests/data/sdam/rs/null_election_id-pre-6.0.yml +175 -0
  1360. data/spec/spec_tests/data/sdam/rs/null_election_id.yml +28 -22
  1361. data/spec/spec_tests/data/sdam/rs/primary_becomes_ghost.yml +4 -2
  1362. data/spec/spec_tests/data/sdam/rs/primary_becomes_mongos.yml +4 -2
  1363. data/spec/spec_tests/data/sdam/rs/primary_becomes_standalone.yml +2 -1
  1364. data/spec/spec_tests/data/sdam/rs/primary_changes_set_name.yml +4 -2
  1365. data/spec/spec_tests/data/sdam/rs/primary_disconnect.yml +2 -1
  1366. data/spec/spec_tests/data/sdam/rs/primary_disconnect_electionid.yml +10 -5
  1367. data/spec/spec_tests/data/sdam/rs/primary_disconnect_setversion.yml +10 -5
  1368. data/spec/spec_tests/data/sdam/rs/primary_hint_from_secondary_with_mismatched_me.yml +4 -2
  1369. data/spec/spec_tests/data/sdam/rs/primary_mismatched_me.yml +2 -1
  1370. data/spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml +5 -3
  1371. data/spec/spec_tests/data/sdam/rs/primary_reports_new_member.yml +8 -4
  1372. data/spec/spec_tests/data/sdam/rs/primary_to_no_primary_mismatched_me.yml +4 -2
  1373. data/spec/spec_tests/data/sdam/rs/primary_wrong_set_name.yml +2 -1
  1374. data/spec/spec_tests/data/sdam/rs/repeated.yml +9 -5
  1375. data/spec/spec_tests/data/sdam/rs/replicaset_rsnp.yml +2 -1
  1376. data/spec/spec_tests/data/sdam/rs/response_from_removed.yml +4 -2
  1377. data/spec/spec_tests/data/sdam/rs/sec_not_auth.yml +4 -2
  1378. data/spec/spec_tests/data/sdam/rs/secondary_ignore_ok_0-pre-6.0.yml +87 -0
  1379. data/spec/spec_tests/data/sdam/rs/secondary_ignore_ok_0.yml +5 -3
  1380. data/spec/spec_tests/data/sdam/rs/secondary_mismatched_me.yml +2 -1
  1381. data/spec/spec_tests/data/sdam/rs/secondary_wrong_set_name.yml +2 -1
  1382. data/spec/spec_tests/data/sdam/rs/secondary_wrong_set_name_with_primary.yml +4 -2
  1383. data/spec/spec_tests/data/sdam/rs/set_version_can_rollback.yml +101 -0
  1384. data/spec/spec_tests/data/sdam/rs/setversion_equal_max_without_electionid.yml +78 -0
  1385. data/spec/spec_tests/data/sdam/rs/setversion_greaterthan_max_without_electionid.yml +79 -0
  1386. data/spec/spec_tests/data/sdam/rs/setversion_without_electionid-pre-6.0.yml +79 -0
  1387. data/spec/spec_tests/data/sdam/rs/setversion_without_electionid.yml +13 -12
  1388. data/spec/spec_tests/data/sdam/rs/stepdown_change_set_name.yml +4 -2
  1389. data/spec/spec_tests/data/sdam/rs/too_new.yml +4 -2
  1390. data/spec/spec_tests/data/sdam/rs/too_old.yml +4 -2
  1391. data/spec/spec_tests/data/sdam/rs/topology_version_equal.yml +4 -2
  1392. data/spec/spec_tests/data/sdam/rs/topology_version_greater.yml +10 -5
  1393. data/spec/spec_tests/data/sdam/rs/topology_version_less.yml +4 -2
  1394. data/spec/spec_tests/data/sdam/rs/unexpected_mongos.yml +2 -1
  1395. data/spec/spec_tests/data/sdam/rs/use_setversion_without_electionid-pre-6.0.yml +117 -0
  1396. data/spec/spec_tests/data/sdam/rs/use_setversion_without_electionid.yml +29 -24
  1397. data/spec/spec_tests/data/sdam/rs/wrong_set_name.yml +2 -1
  1398. data/spec/spec_tests/data/sdam/sharded/compatible.yml +4 -2
  1399. data/spec/spec_tests/data/sdam/sharded/discover_single_mongos.yml +2 -1
  1400. data/spec/spec_tests/data/sdam/sharded/ls_timeout_mongos.yml +9 -5
  1401. data/spec/spec_tests/data/sdam/sharded/mongos_disconnect.yml +6 -3
  1402. data/spec/spec_tests/data/sdam/sharded/multiple_mongoses.yml +4 -2
  1403. data/spec/spec_tests/data/sdam/sharded/non_mongos_removed.yml +4 -2
  1404. data/spec/spec_tests/data/sdam/sharded/too_new.yml +4 -2
  1405. data/spec/spec_tests/data/sdam/sharded/too_old.yml +4 -2
  1406. data/spec/spec_tests/data/sdam/single/compatible.yml +2 -1
  1407. data/spec/spec_tests/data/sdam/single/direct_connection_external_ip.yml +2 -1
  1408. data/spec/spec_tests/data/sdam/single/direct_connection_mongos.yml +2 -1
  1409. data/spec/spec_tests/data/sdam/single/direct_connection_replicaset.yml +2 -1
  1410. data/spec/spec_tests/data/sdam/single/direct_connection_rsarbiter.yml +2 -1
  1411. data/spec/spec_tests/data/sdam/single/direct_connection_rsprimary.yml +2 -1
  1412. data/spec/spec_tests/data/sdam/single/direct_connection_rssecondary.yml +2 -1
  1413. data/spec/spec_tests/data/sdam/single/direct_connection_standalone.yml +2 -1
  1414. data/spec/spec_tests/data/sdam/single/direct_connection_wrong_set_name.yml +4 -2
  1415. data/spec/spec_tests/data/sdam/single/discover_standalone.yml +2 -1
  1416. data/spec/spec_tests/data/sdam/single/ls_timeout_standalone.yml +2 -1
  1417. data/spec/spec_tests/data/sdam/single/not_ok_response.yml +5 -3
  1418. data/spec/spec_tests/data/sdam/single/standalone_removed.yml +2 -1
  1419. data/spec/spec_tests/data/sdam/single/standalone_using_legacy_hello.yml +34 -0
  1420. data/spec/spec_tests/data/sdam/single/too_new.yml +2 -1
  1421. data/spec/spec_tests/data/sdam/single/too_old.yml +2 -1
  1422. data/spec/spec_tests/data/sdam/single/too_old_then_upgraded.yml +4 -2
  1423. data/spec/spec_tests/data/sdam_monitoring/discovered_standalone.yml +2 -4
  1424. data/spec/spec_tests/data/sdam_monitoring/load_balancer.yml +65 -0
  1425. data/spec/spec_tests/data/sdam_monitoring/replica_set_with_no_primary.yml +40 -40
  1426. data/spec/spec_tests/data/sdam_monitoring/replica_set_with_primary.yml +40 -40
  1427. data/spec/spec_tests/data/sdam_monitoring/replica_set_with_removal.yml +4 -3
  1428. data/spec/spec_tests/data/sdam_monitoring/required_replica_set.yml +3 -2
  1429. data/spec/spec_tests/data/sdam_monitoring/standalone.yml +3 -3
  1430. data/spec/spec_tests/data/sdam_monitoring/standalone_repeated.yml +2 -2
  1431. data/spec/spec_tests/data/sdam_monitoring/standalone_suppress_equal_description_changes.yml +4 -4
  1432. data/spec/spec_tests/data/sdam_monitoring/standalone_to_rs_with_me_mismatch.yml +2 -2
  1433. data/spec/spec_tests/data/sdam_unified/auth-error.yml +130 -0
  1434. data/spec/spec_tests/data/sdam_unified/auth-misc-command-error.yml +132 -0
  1435. data/spec/spec_tests/data/sdam_unified/auth-network-error.yml +132 -0
  1436. data/spec/spec_tests/data/sdam_unified/auth-network-timeout-error.yml +138 -0
  1437. data/spec/spec_tests/data/sdam_unified/auth-shutdown-error.yml +133 -0
  1438. data/spec/spec_tests/data/sdam_unified/cancel-server-check.yml +143 -0
  1439. data/spec/spec_tests/data/sdam_unified/connectTimeoutMS.yml +130 -0
  1440. data/spec/spec_tests/data/sdam_unified/find-network-error.yml +135 -0
  1441. data/spec/spec_tests/data/sdam_unified/find-network-timeout-error.yml +119 -0
  1442. data/spec/spec_tests/data/sdam_unified/find-shutdown-error.yml +163 -0
  1443. data/spec/spec_tests/data/sdam_unified/hello-command-error.yml +233 -0
  1444. data/spec/spec_tests/data/sdam_unified/hello-network-error.yml +228 -0
  1445. data/spec/spec_tests/data/sdam_unified/hello-timeout.yml +318 -0
  1446. data/spec/spec_tests/data/sdam_unified/insert-network-error.yml +137 -0
  1447. data/spec/spec_tests/data/sdam_unified/insert-shutdown-error.yml +162 -0
  1448. data/spec/spec_tests/data/sdam_unified/interruptInUse-pool-clear.yml +340 -0
  1449. data/spec/spec_tests/data/sdam_unified/minPoolSize-error.yml +125 -0
  1450. data/spec/spec_tests/data/sdam_unified/pool-cleared-error.yml +239 -0
  1451. data/spec/spec_tests/data/sdam_unified/rediscover-quickly-after-step-down.yml +144 -0
  1452. data/spec/spec_tests/data/seed_list_discovery/load-balanced/loadBalanced-directConnection.yml +14 -0
  1453. data/spec/spec_tests/data/seed_list_discovery/load-balanced/loadBalanced-no-results.yml +5 -0
  1454. data/spec/spec_tests/data/seed_list_discovery/load-balanced/loadBalanced-replicaSet-errors.yml +6 -0
  1455. data/spec/spec_tests/data/seed_list_discovery/load-balanced/loadBalanced-true-multiple-hosts.yml +5 -0
  1456. data/spec/spec_tests/data/seed_list_discovery/load-balanced/loadBalanced-true-txt.yml +11 -0
  1457. data/spec/spec_tests/data/seed_list_discovery/load-balanced/srvMaxHosts-conflicts_with_loadBalanced-true-txt.yml +5 -0
  1458. data/spec/spec_tests/data/seed_list_discovery/load-balanced/srvMaxHosts-conflicts_with_loadBalanced-true.yml +5 -0
  1459. data/spec/spec_tests/data/seed_list_discovery/load-balanced/srvMaxHosts-zero-txt.yml +11 -0
  1460. data/spec/spec_tests/data/seed_list_discovery/load-balanced/srvMaxHosts-zero.yml +11 -0
  1461. data/spec/spec_tests/data/seed_list_discovery/replica-set/encoded-userinfo-and-db.yml +15 -0
  1462. data/spec/spec_tests/data/seed_list_discovery/replica-set/loadBalanced-false-txt.yml +10 -0
  1463. data/spec/spec_tests/data/seed_list_discovery/replica-set/srv-service-name.yml +11 -0
  1464. data/spec/spec_tests/data/seed_list_discovery/replica-set/srvMaxHosts-conflicts_with_replicaSet-txt.yml +5 -0
  1465. data/spec/spec_tests/data/seed_list_discovery/replica-set/srvMaxHosts-conflicts_with_replicaSet.yml +5 -0
  1466. data/spec/spec_tests/data/seed_list_discovery/replica-set/srvMaxHosts-equal_to_srv_records.yml +16 -0
  1467. data/spec/spec_tests/data/seed_list_discovery/replica-set/srvMaxHosts-greater_than_srv_records.yml +15 -0
  1468. data/spec/spec_tests/data/seed_list_discovery/replica-set/srvMaxHosts-less_than_srv_records.yml +15 -0
  1469. data/spec/spec_tests/data/seed_list_discovery/replica-set/srvMaxHosts-zero-txt.yml +15 -0
  1470. data/spec/spec_tests/data/seed_list_discovery/replica-set/srvMaxHosts-zero.yml +15 -0
  1471. data/spec/spec_tests/data/seed_list_discovery/replica-set/uri-with-admin-database.yml +13 -0
  1472. data/spec/spec_tests/data/seed_list_discovery/replica-set/uri-with-auth.yml +12 -0
  1473. data/spec/spec_tests/data/seed_list_discovery/sharded/srvMaxHosts-equal_to_srv_records.yml +13 -0
  1474. data/spec/spec_tests/data/seed_list_discovery/sharded/srvMaxHosts-greater_than_srv_records.yml +12 -0
  1475. data/spec/spec_tests/data/seed_list_discovery/sharded/srvMaxHosts-less_than_srv_records.yml +10 -0
  1476. data/spec/spec_tests/data/seed_list_discovery/sharded/srvMaxHosts-zero.yml +11 -0
  1477. data/spec/spec_tests/data/server_selection/Unknown/read/ghost.yml +11 -0
  1478. data/spec/spec_tests/data/server_selection/Unknown/write/ghost.yml +11 -0
  1479. data/spec/spec_tests/data/sessions_unified/driver-sessions-server-support.yml +123 -0
  1480. data/spec/spec_tests/data/sessions_unified/implicit-sessions-default-causal-consistency.yml +119 -0
  1481. data/spec/spec_tests/data/sessions_unified/snapshot-sessions-not-supported-client-error.yml +75 -0
  1482. data/spec/spec_tests/data/sessions_unified/snapshot-sessions-not-supported-server-error.yml +102 -0
  1483. data/spec/spec_tests/data/sessions_unified/snapshot-sessions-unsupported-ops.yml +258 -0
  1484. data/spec/spec_tests/data/sessions_unified/snapshot-sessions.yml +482 -0
  1485. data/spec/spec_tests/data/transactions/error-labels.yml +4 -1
  1486. data/spec/spec_tests/data/transactions/errors-client.yml +8 -9
  1487. data/spec/spec_tests/data/transactions/mongos-pin-auto.yml +3 -0
  1488. data/spec/spec_tests/data/transactions/mongos-recovery-token.yml +3 -1
  1489. data/spec/spec_tests/data/transactions/pin-mongos.yml +6 -3
  1490. data/spec/spec_tests/data/transactions/retryable-abort.yml +7 -7
  1491. data/spec/spec_tests/data/transactions/retryable-commit.yml +7 -7
  1492. data/spec/spec_tests/data/transactions_unified/do-not-retry-read-in-transaction.yml +64 -0
  1493. data/spec/spec_tests/data/transactions_unified/mongos-unpin.yml +172 -0
  1494. data/spec/spec_tests/data/transactions_unified/retryable-abort-handshake.yml +118 -0
  1495. data/spec/spec_tests/data/transactions_unified/retryable-commit-handshake.yml +118 -0
  1496. data/spec/spec_tests/data/unified/valid-fail/entity-findCursor-malformed.yml +31 -0
  1497. data/spec/spec_tests/data/unified/valid-fail/entity-findCursor.yml +31 -0
  1498. data/spec/spec_tests/data/unified/valid-fail/ignoreResultAndError-malformed.yml +34 -0
  1499. data/spec/spec_tests/data/unified/valid-fail/ignoreResultAndError.yml +35 -0
  1500. data/spec/spec_tests/data/unified/valid-fail/operation-failure.yml +31 -0
  1501. data/spec/spec_tests/data/unified/valid-fail/operation-unsupported.yml +13 -0
  1502. data/spec/spec_tests/data/unified/valid-pass/assertNumberConnectionsCheckedOut.yml +17 -0
  1503. data/spec/spec_tests/data/unified/valid-pass/collectionData-createOptions.yml +37 -0
  1504. data/spec/spec_tests/data/unified/valid-pass/entity-client-cmap-events.yml +40 -0
  1505. data/spec/spec_tests/data/unified/valid-pass/entity-client-storeEventsAsEntities.yml +37 -0
  1506. data/spec/spec_tests/data/unified/valid-pass/expectedError-errorResponse.yml +39 -0
  1507. data/spec/spec_tests/data/unified/valid-pass/expectedEventsForClient-eventType.yml +66 -0
  1508. data/spec/spec_tests/data/unified/valid-pass/expectedEventsForClient-ignoreExtraEvents.yml +78 -0
  1509. data/spec/spec_tests/data/unified/valid-pass/ignoreResultAndError.yml +34 -0
  1510. data/spec/spec_tests/data/unified/valid-pass/observeSensitiveCommands.yml +255 -0
  1511. data/spec/spec_tests/data/unified/valid-pass/poc-change-streams.yml +241 -0
  1512. data/spec/spec_tests/data/unified/valid-pass/poc-command-monitoring.yml +102 -0
  1513. data/spec/spec_tests/data/unified/valid-pass/poc-crud.yml +190 -0
  1514. data/spec/spec_tests/data/unified/valid-pass/poc-gridfs.yml +155 -0
  1515. data/spec/spec_tests/data/unified/valid-pass/poc-retryable-reads.yml +193 -0
  1516. data/spec/spec_tests/data/unified/valid-pass/poc-retryable-writes.yml +210 -0
  1517. data/spec/spec_tests/data/unified/valid-pass/poc-sessions.yml +215 -0
  1518. data/spec/spec_tests/data/unified/valid-pass/poc-transactions-convenient-api.yml +235 -0
  1519. data/spec/spec_tests/data/unified/valid-pass/poc-transactions-mongos-pin-auto.yml +169 -0
  1520. data/spec/spec_tests/data/unified/valid-pass/poc-transactions.yml +171 -0
  1521. data/spec/spec_tests/data/uri_options/auth-options.yml +25 -0
  1522. data/spec/spec_tests/data/uri_options/compression-options.yml +7 -4
  1523. data/spec/spec_tests/data/uri_options/connection-options.yml +60 -0
  1524. data/spec/spec_tests/data/uri_options/read-preference-options.yml +24 -0
  1525. data/spec/spec_tests/data/uri_options/ruby-connection-options.yml +1 -0
  1526. data/spec/spec_tests/data/uri_options/srv-options.yml +96 -0
  1527. data/spec/spec_tests/data/uri_options/tls-options.yml +160 -4
  1528. data/spec/spec_tests/data/versioned_api/crud-api-version-1-strict.yml +419 -0
  1529. data/spec/spec_tests/data/versioned_api/crud-api-version-1.yml +413 -0
  1530. data/spec/spec_tests/data/versioned_api/runcommand-helper-no-api-version-declared.yml +75 -0
  1531. data/spec/spec_tests/data/versioned_api/test-commands-deprecation-errors.yml +47 -0
  1532. data/spec/spec_tests/data/versioned_api/test-commands-strict-mode.yml +46 -0
  1533. data/spec/spec_tests/data/versioned_api/transaction-handling.yml +128 -0
  1534. data/spec/spec_tests/gridfs_spec.rb +3 -0
  1535. data/spec/spec_tests/gridfs_unified_spec.rb +13 -0
  1536. data/spec/spec_tests/load_balancers_spec.rb +15 -0
  1537. data/spec/spec_tests/max_staleness_spec.rb +3 -0
  1538. data/spec/spec_tests/read_write_concern_connection_string_spec.rb +3 -0
  1539. data/spec/spec_tests/read_write_concern_document_spec.rb +3 -0
  1540. data/spec/spec_tests/read_write_concern_operaton_spec.rb +3 -0
  1541. data/spec/spec_tests/retryable_reads_spec.rb +11 -3
  1542. data/spec/spec_tests/retryable_reads_unified_spec.rb +22 -0
  1543. data/spec/spec_tests/retryable_writes_spec.rb +14 -8
  1544. data/spec/spec_tests/retryable_writes_unified_spec.rb +21 -0
  1545. data/spec/spec_tests/sdam_monitoring_spec.rb +14 -6
  1546. data/spec/spec_tests/sdam_spec.rb +9 -2
  1547. data/spec/spec_tests/sdam_unified_spec.rb +13 -0
  1548. data/spec/spec_tests/seed_list_discovery_spec.rb +127 -0
  1549. data/spec/spec_tests/server_selection_rtt_spec.rb +3 -0
  1550. data/spec/spec_tests/server_selection_spec.rb +3 -0
  1551. data/spec/spec_tests/sessions_unified_spec.rb +13 -0
  1552. data/spec/spec_tests/transactions_api_spec.rb +3 -0
  1553. data/spec/spec_tests/transactions_spec.rb +3 -0
  1554. data/spec/spec_tests/transactions_unified_spec.rb +13 -0
  1555. data/spec/spec_tests/unified_spec.rb +18 -0
  1556. data/spec/spec_tests/uri_options_spec.rb +50 -33
  1557. data/spec/spec_tests/versioned_api_spec.rb +13 -0
  1558. data/spec/stress/cleanup_spec.rb +3 -0
  1559. data/spec/stress/connection_pool_stress_spec.rb +3 -61
  1560. data/spec/stress/connection_pool_timing_spec.rb +14 -35
  1561. data/spec/stress/fork_reconnect_stress_spec.rb +17 -18
  1562. data/spec/stress/push_monitor_close_spec.rb +44 -0
  1563. data/spec/support/authorization.rb +4 -1
  1564. data/spec/support/aws_utils/base.rb +3 -0
  1565. data/spec/support/aws_utils/inspector.rb +3 -0
  1566. data/spec/support/aws_utils/orchestrator.rb +22 -7
  1567. data/spec/support/aws_utils/provisioner.rb +3 -0
  1568. data/spec/support/aws_utils.rb +6 -2
  1569. data/spec/support/background_thread_registry.rb +7 -14
  1570. data/spec/support/certificates/README.md +3 -2
  1571. data/spec/support/certificates/atlas-ocsp-ca.crt +103 -0
  1572. data/spec/support/certificates/atlas-ocsp.crt +152 -0
  1573. data/spec/support/certificates/retrieve-atlas-cert +40 -0
  1574. data/spec/support/client_registry.rb +17 -6
  1575. data/spec/support/client_registry_macros.rb +17 -5
  1576. data/spec/support/cluster_tools.rb +17 -9
  1577. data/spec/support/common_shortcuts.rb +134 -10
  1578. data/spec/support/constraints.rb +16 -246
  1579. data/spec/support/crypt/corpus/corpus-encrypted.json +9515 -0
  1580. data/spec/support/crypt/corpus/corpus-key-aws.json +32 -32
  1581. data/spec/support/crypt/corpus/corpus-key-azure.json +33 -0
  1582. data/spec/support/crypt/corpus/corpus-key-gcp.json +35 -0
  1583. data/spec/support/crypt/corpus/corpus-key-kmip.json +32 -0
  1584. data/spec/support/crypt/corpus/corpus-key-local.json +30 -30
  1585. data/spec/support/crypt/corpus/corpus-schema.json +4399 -121
  1586. data/spec/support/crypt/corpus/corpus.json +4999 -37
  1587. data/spec/support/crypt/data_keys/key_document_azure.json +33 -0
  1588. data/spec/support/crypt/data_keys/key_document_gcp.json +37 -0
  1589. data/spec/support/crypt/data_keys/key_document_kmip.json +32 -0
  1590. data/spec/support/crypt/encrypted_fields/encryptedFields.json +32 -0
  1591. data/spec/support/crypt/encrypted_fields/range-encryptedFields-Date.json +30 -0
  1592. data/spec/support/crypt/encrypted_fields/range-encryptedFields-DecimalNoPrecision.json +21 -0
  1593. data/spec/support/crypt/encrypted_fields/range-encryptedFields-DecimalPrecision.json +29 -0
  1594. data/spec/support/crypt/encrypted_fields/range-encryptedFields-DoubleNoPrecision.json +21 -0
  1595. data/spec/support/crypt/encrypted_fields/range-encryptedFields-DoublePrecision.json +30 -0
  1596. data/spec/support/crypt/encrypted_fields/range-encryptedFields-Int.json +27 -0
  1597. data/spec/support/crypt/encrypted_fields/range-encryptedFields-Long.json +27 -0
  1598. data/spec/support/crypt/keys/key1-document.json +30 -0
  1599. data/spec/support/crypt/schema_maps/schema_map_azure.json +17 -0
  1600. data/spec/support/crypt/schema_maps/schema_map_azure_key_alt_names.json +12 -0
  1601. data/spec/support/crypt/schema_maps/schema_map_gcp.json +17 -0
  1602. data/spec/support/crypt/schema_maps/schema_map_gcp_key_alt_names.json +12 -0
  1603. data/spec/support/crypt/schema_maps/schema_map_kmip.json +17 -0
  1604. data/spec/support/crypt/schema_maps/schema_map_kmip_key_alt_names.json +12 -0
  1605. data/spec/support/crypt.rb +271 -13
  1606. data/spec/support/dns.rb +3 -0
  1607. data/spec/support/json_ext_formatter.rb +3 -0
  1608. data/spec/support/keyword_struct.rb +3 -0
  1609. data/spec/support/local_resource_registry.rb +3 -0
  1610. data/spec/support/macros.rb +29 -0
  1611. data/spec/support/matchers.rb +33 -1
  1612. data/spec/support/mongos_macros.rb +24 -0
  1613. data/spec/support/monitoring_ext.rb +3 -0
  1614. data/spec/support/ocsp +1 -0
  1615. data/spec/support/primary_socket.rb +3 -0
  1616. data/spec/support/sdam_formatter_integration.rb +3 -0
  1617. data/spec/support/shared/app_metadata.rb +179 -0
  1618. data/spec/support/shared/auth_context.rb +17 -0
  1619. data/spec/support/shared/protocol.rb +3 -0
  1620. data/spec/support/shared/scram_conversation.rb +5 -1
  1621. data/spec/support/shared/server_selector.rb +6 -3
  1622. data/spec/support/shared/session.rb +20 -11
  1623. data/spec/support/spec_config.rb +248 -24
  1624. data/spec/support/spec_setup.rb +51 -38
  1625. data/spec/support/using_hash.rb +40 -0
  1626. data/spec/support/utils.rb +353 -172
  1627. data.tar.gz.sig +0 -0
  1628. metadata +2052 -1217
  1629. metadata.gz.sig +0 -0
  1630. data/lib/mongo/collection/view/builder/find_command.rb +0 -150
  1631. data/lib/mongo/collection/view/builder/flags.rb +0 -62
  1632. data/lib/mongo/collection/view/builder/modifiers.rb +0 -80
  1633. data/lib/mongo/collection/view/builder/op_query.rb +0 -91
  1634. data/lib/mongo/cursor/builder/get_more_command.rb +0 -77
  1635. data/lib/mongo/cursor/builder/kill_cursors_command.rb +0 -108
  1636. data/lib/mongo/cursor/builder/op_get_more.rb +0 -61
  1637. data/lib/mongo/cursor/builder/op_kill_cursors.rb +0 -103
  1638. data/lib/mongo/cursor/builder.rb +0 -18
  1639. data/lib/mongo/operation/aggregate/command.rb +0 -44
  1640. data/lib/mongo/operation/collections_info/command.rb +0 -40
  1641. data/lib/mongo/operation/command/command.rb +0 -38
  1642. data/lib/mongo/operation/count/command.rb +0 -38
  1643. data/lib/mongo/operation/create/command.rb +0 -38
  1644. data/lib/mongo/operation/create_index/command.rb +0 -42
  1645. data/lib/mongo/operation/create_user/command.rb +0 -43
  1646. data/lib/mongo/operation/delete/command.rb +0 -46
  1647. data/lib/mongo/operation/delete/legacy.rb +0 -54
  1648. data/lib/mongo/operation/distinct/command.rb +0 -38
  1649. data/lib/mongo/operation/drop/command.rb +0 -38
  1650. data/lib/mongo/operation/drop_database/command.rb +0 -38
  1651. data/lib/mongo/operation/drop_index/command.rb +0 -42
  1652. data/lib/mongo/operation/explain/command.rb +0 -39
  1653. data/lib/mongo/operation/explain/legacy.rb +0 -38
  1654. data/lib/mongo/operation/find/command.rb +0 -39
  1655. data/lib/mongo/operation/find/legacy/result.rb +0 -41
  1656. data/lib/mongo/operation/find/legacy.rb +0 -40
  1657. data/lib/mongo/operation/get_more/command.rb +0 -39
  1658. data/lib/mongo/operation/get_more/legacy.rb +0 -36
  1659. data/lib/mongo/operation/indexes/command.rb +0 -39
  1660. data/lib/mongo/operation/indexes/legacy.rb +0 -45
  1661. data/lib/mongo/operation/insert/command.rb +0 -56
  1662. data/lib/mongo/operation/insert/legacy.rb +0 -65
  1663. data/lib/mongo/operation/kill_cursors/command.rb +0 -37
  1664. data/lib/mongo/operation/kill_cursors/legacy.rb +0 -37
  1665. data/lib/mongo/operation/list_collections/command.rb +0 -43
  1666. data/lib/mongo/operation/map_reduce/command.rb +0 -40
  1667. data/lib/mongo/operation/parallel_scan/command.rb +0 -55
  1668. data/lib/mongo/operation/remove_user/command.rb +0 -43
  1669. data/lib/mongo/operation/shared/collections_info_or_list_collections.rb +0 -56
  1670. data/lib/mongo/operation/shared/op_msg_or_command.rb +0 -44
  1671. data/lib/mongo/operation/shared/op_msg_or_find_command.rb +0 -47
  1672. data/lib/mongo/operation/shared/op_msg_or_list_indexes_command.rb +0 -47
  1673. data/lib/mongo/operation/update/command.rb +0 -47
  1674. data/lib/mongo/operation/update/legacy/result.rb +0 -102
  1675. data/lib/mongo/operation/update/legacy.rb +0 -65
  1676. data/lib/mongo/operation/update_user/command.rb +0 -42
  1677. data/lib/mongo/operation/users_info/command.rb +0 -43
  1678. data/lib/mongo/protocol/delete.rb +0 -169
  1679. data/lib/mongo/protocol/insert.rb +0 -178
  1680. data/lib/mongo/protocol/update.rb +0 -211
  1681. data/lib/mongo/server/context.rb +0 -69
  1682. data/spec/mongo/collection/view/builder/flags_spec.rb +0 -106
  1683. data/spec/mongo/collection/view/builder/modifiers_spec.rb +0 -210
  1684. data/spec/mongo/cursor/builder/op_kill_cursors_spec.rb +0 -61
  1685. data/spec/mongo/dbref_spec.rb +0 -149
  1686. data/spec/mongo/operation/delete/command_spec.rb +0 -112
  1687. data/spec/mongo/operation/find/legacy_spec.rb +0 -125
  1688. data/spec/mongo/operation/get_more_spec.rb +0 -58
  1689. data/spec/mongo/operation/insert/command_spec.rb +0 -115
  1690. data/spec/mongo/operation/kill_cursors_spec.rb +0 -41
  1691. data/spec/mongo/operation/update/command_spec.rb +0 -119
  1692. data/spec/mongo/protocol/delete_spec.rb +0 -182
  1693. data/spec/mongo/protocol/insert_spec.rb +0 -176
  1694. data/spec/mongo/protocol/update_spec.rb +0 -201
  1695. data/spec/mongo/server/app_metadata_shared.rb +0 -136
  1696. data/spec/spec_tests/change_streams_spec.rb +0 -90
  1697. data/spec/spec_tests/command_monitoring_spec.rb +0 -66
  1698. data/spec/spec_tests/data/change_streams/change-streams-errors.yml +0 -102
  1699. data/spec/spec_tests/data/change_streams/change-streams-resume-errorLabels.yml +0 -1105
  1700. data/spec/spec_tests/data/change_streams/change-streams-resume-whitelist.yml +0 -1173
  1701. data/spec/spec_tests/data/change_streams/change-streams.yml +0 -537
  1702. data/spec/spec_tests/data/command_monitoring/bulkWrite.yml +0 -49
  1703. data/spec/spec_tests/data/command_monitoring/command.yml +0 -61
  1704. data/spec/spec_tests/data/command_monitoring/deleteMany.yml +0 -55
  1705. data/spec/spec_tests/data/command_monitoring/deleteOne.yml +0 -55
  1706. data/spec/spec_tests/data/command_monitoring/find.yml +0 -266
  1707. data/spec/spec_tests/data/command_monitoring/insertMany.yml +0 -75
  1708. data/spec/spec_tests/data/command_monitoring/insertOne.yml +0 -51
  1709. data/spec/spec_tests/data/command_monitoring/unacknowledgedBulkWrite.yml +0 -34
  1710. data/spec/spec_tests/data/command_monitoring/updateMany.yml +0 -65
  1711. data/spec/spec_tests/data/command_monitoring/updateOne.yml +0 -90
  1712. data/spec/spec_tests/data/crud_v2/aggregate-merge.yml +0 -103
  1713. data/spec/spec_tests/data/crud_v2/aggregate-out-readConcern.yml +0 -110
  1714. data/spec/spec_tests/data/crud_v2/bulkWrite-arrayFilters.yml +0 -103
  1715. data/spec/spec_tests/data/crud_v2/bulkWrite-delete-hint-clientError.yml +0 -63
  1716. data/spec/spec_tests/data/crud_v2/bulkWrite-delete-hint-serverError.yml +0 -92
  1717. data/spec/spec_tests/data/crud_v2/bulkWrite-delete-hint.yml +0 -103
  1718. data/spec/spec_tests/data/crud_v2/bulkWrite-update-hint-clientError.yml +0 -90
  1719. data/spec/spec_tests/data/crud_v2/bulkWrite-update-hint-serverError.yml +0 -147
  1720. data/spec/spec_tests/data/crud_v2/bulkWrite-update-hint.yml +0 -164
  1721. data/spec/spec_tests/data/crud_v2/db-aggregate.yml +0 -38
  1722. data/spec/spec_tests/data/crud_v2/deleteMany-hint-clientError.yml +0 -43
  1723. data/spec/spec_tests/data/crud_v2/deleteMany-hint-serverError.yml +0 -62
  1724. data/spec/spec_tests/data/crud_v2/deleteMany-hint.yml +0 -58
  1725. data/spec/spec_tests/data/crud_v2/deleteOne-hint-clientError.yml +0 -41
  1726. data/spec/spec_tests/data/crud_v2/deleteOne-hint-serverError.yml +0 -60
  1727. data/spec/spec_tests/data/crud_v2/deleteOne-hint.yml +0 -57
  1728. data/spec/spec_tests/data/crud_v2/find-allowdiskuse-clientError.yml +0 -28
  1729. data/spec/spec_tests/data/crud_v2/find-allowdiskuse-serverError.yml +0 -44
  1730. data/spec/spec_tests/data/crud_v2/find-allowdiskuse.yml +0 -50
  1731. data/spec/spec_tests/data/crud_v2/findOneAndDelete-hint-clientError.yml +0 -45
  1732. data/spec/spec_tests/data/crud_v2/findOneAndDelete-hint-serverError.yml +0 -60
  1733. data/spec/spec_tests/data/crud_v2/findOneAndDelete-hint.yml +0 -56
  1734. data/spec/spec_tests/data/crud_v2/findOneAndReplace-hint-clientError.yml +0 -40
  1735. data/spec/spec_tests/data/crud_v2/findOneAndReplace-hint-serverError.yml +0 -59
  1736. data/spec/spec_tests/data/crud_v2/findOneAndReplace-hint.yml +0 -55
  1737. data/spec/spec_tests/data/crud_v2/findOneAndUpdate-hint-clientError.yml +0 -40
  1738. data/spec/spec_tests/data/crud_v2/findOneAndUpdate-hint-serverError.yml +0 -58
  1739. data/spec/spec_tests/data/crud_v2/findOneAndUpdate-hint.yml +0 -55
  1740. data/spec/spec_tests/data/crud_v2/replaceOne-hint.yml +0 -61
  1741. data/spec/spec_tests/data/crud_v2/unacknowledged-bulkWrite-delete-hint-clientError.yml +0 -60
  1742. data/spec/spec_tests/data/crud_v2/unacknowledged-bulkWrite-update-hint-clientError.yml +0 -88
  1743. data/spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml +0 -40
  1744. data/spec/spec_tests/data/crud_v2/unacknowledged-deleteOne-hint-clientError.yml +0 -38
  1745. data/spec/spec_tests/data/crud_v2/unacknowledged-findOneAndDelete-hint-clientError.yml +0 -42
  1746. data/spec/spec_tests/data/crud_v2/unacknowledged-findOneAndReplace-hint-clientError.yml +0 -40
  1747. data/spec/spec_tests/data/crud_v2/unacknowledged-findOneAndUpdate-hint-clientError.yml +0 -40
  1748. data/spec/spec_tests/data/crud_v2/unacknowledged-replaceOne-hint-clientError.yml +0 -40
  1749. data/spec/spec_tests/data/crud_v2/unacknowledged-updateMany-hint-clientError.yml +0 -43
  1750. data/spec/spec_tests/data/crud_v2/unacknowledged-updateOne-hint-clientError.yml +0 -40
  1751. data/spec/spec_tests/data/crud_v2/updateMany-hint-clientError.yml +0 -45
  1752. data/spec/spec_tests/data/crud_v2/updateMany-hint-serverError.yml +0 -66
  1753. data/spec/spec_tests/data/crud_v2/updateMany-hint.yml +0 -65
  1754. data/spec/spec_tests/data/crud_v2/updateOne-hint-clientError.yml +0 -43
  1755. data/spec/spec_tests/data/crud_v2/updateOne-hint-serverError.yml +0 -62
  1756. data/spec/spec_tests/data/crud_v2/updateOne-hint.yml +0 -61
  1757. data/spec/spec_tests/data/crud_v2/updateWithPipelines.yml +0 -157
  1758. data/spec/spec_tests/data/retryable_reads/aggregate-serverErrors.yml +0 -157
  1759. data/spec/spec_tests/data/retryable_reads/changeStreams-client.watch-serverErrors.yml +0 -149
  1760. data/spec/spec_tests/data/retryable_reads/changeStreams-client.watch.yml +0 -61
  1761. data/spec/spec_tests/data/retryable_reads/changeStreams-db.coll.watch-serverErrors.yml +0 -149
  1762. data/spec/spec_tests/data/retryable_reads/changeStreams-db.coll.watch.yml +0 -65
  1763. data/spec/spec_tests/data/retryable_reads/changeStreams-db.watch-serverErrors.yml +0 -153
  1764. data/spec/spec_tests/data/retryable_reads/changeStreams-db.watch.yml +0 -61
  1765. data/spec/spec_tests/data/retryable_reads/count-serverErrors.yml +0 -150
  1766. data/spec/spec_tests/data/retryable_reads/countDocuments-serverErrors.yml +0 -150
  1767. data/spec/spec_tests/data/retryable_reads/distinct-serverErrors.yml +0 -156
  1768. data/spec/spec_tests/data/retryable_reads/estimatedDocumentCount-serverErrors.yml +0 -148
  1769. data/spec/spec_tests/data/retryable_reads/find-serverErrors.yml +0 -160
  1770. data/spec/spec_tests/data/retryable_reads/findOne-serverErrors.yml +0 -154
  1771. data/spec/spec_tests/data/retryable_reads/gridfs-download-serverErrors.yml +0 -173
  1772. data/spec/spec_tests/data/retryable_reads/gridfs-downloadByName-serverErrors.yml +0 -174
  1773. data/spec/spec_tests/data/retryable_reads/listCollectionNames-serverErrors.yml +0 -143
  1774. data/spec/spec_tests/data/retryable_reads/listCollectionObjects-serverErrors.yml +0 -144
  1775. data/spec/spec_tests/data/retryable_reads/listCollections-serverErrors.yml +0 -143
  1776. data/spec/spec_tests/data/retryable_reads/listDatabaseNames-serverErrors.yml +0 -143
  1777. data/spec/spec_tests/data/retryable_reads/listDatabaseObjects-serverErrors.yml +0 -144
  1778. data/spec/spec_tests/data/retryable_reads/listDatabases-serverErrors.yml +0 -144
  1779. data/spec/spec_tests/data/retryable_reads/listIndexNames-serverErrors.yml +0 -144
  1780. data/spec/spec_tests/data/retryable_reads/listIndexNames.yml +0 -60
  1781. data/spec/spec_tests/data/retryable_reads/listIndexes-serverErrors.yml +0 -145
  1782. data/spec/spec_tests/data/retryable_reads/mapReduce.yml +0 -60
  1783. data/spec/spec_tests/data/retryable_writes/bulkWrite-serverErrors.yml +0 -130
  1784. data/spec/spec_tests/data/retryable_writes/bulkWrite.yml +0 -396
  1785. data/spec/spec_tests/data/retryable_writes/deleteOne-serverErrors.yml +0 -73
  1786. data/spec/spec_tests/data/retryable_writes/findOneAndDelete-serverErrors.yml +0 -74
  1787. data/spec/spec_tests/data/retryable_writes/findOneAndReplace-serverErrors.yml +0 -80
  1788. data/spec/spec_tests/data/retryable_writes/findOneAndUpdate-serverErrors.yml +0 -79
  1789. data/spec/spec_tests/data/retryable_writes/insertMany-serverErrors.yml +0 -84
  1790. data/spec/spec_tests/data/retryable_writes/insertOne-serverErrors.yml +0 -526
  1791. data/spec/spec_tests/data/retryable_writes/replaceOne-serverErrors.yml +0 -82
  1792. data/spec/spec_tests/data/retryable_writes/updateOne-serverErrors.yml +0 -82
  1793. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotMaster.yml +0 -60
  1794. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotMasterNoSlaveOk.yml +0 -60
  1795. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotMasterOrSecondary.yml +0 -60
  1796. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotMaster.yml +0 -51
  1797. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotMasterNoSlaveOk.yml +0 -51
  1798. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotMasterOrSecondary.yml +0 -51
  1799. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotMaster.yml +0 -60
  1800. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotMasterNoSlaveOk.yml +0 -60
  1801. data/spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotMasterOrSecondary.yml +0 -60
  1802. data/spec/spec_tests/data/sdam/errors/post-42-NotMaster.yml +0 -46
  1803. data/spec/spec_tests/data/sdam/errors/post-42-NotMasterNoSlaveOk.yml +0 -46
  1804. data/spec/spec_tests/data/sdam/errors/post-42-NotMasterOrSecondary.yml +0 -46
  1805. data/spec/spec_tests/data/sdam/errors/pre-42-NotMaster.yml +0 -46
  1806. data/spec/spec_tests/data/sdam/errors/pre-42-NotMasterNoSlaveOk.yml +0 -46
  1807. data/spec/spec_tests/data/sdam/errors/pre-42-NotMasterOrSecondary.yml +0 -46
  1808. data/spec/spec_tests/data/sdam/errors/stale-generation-NotMaster.yml +0 -89
  1809. data/spec/spec_tests/data/sdam/errors/stale-generation-NotMasterNoSlaveOk.yml +0 -89
  1810. data/spec/spec_tests/data/sdam/errors/stale-generation-NotMasterOrSecondary.yml +0 -89
  1811. data/spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotMaster.yml +0 -89
  1812. data/spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotMasterNoSlaveOk.yml +0 -89
  1813. data/spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotMasterOrSecondary.yml +0 -89
  1814. data/spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotMaster.yml +0 -89
  1815. data/spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotMasterNoSlaveOk.yml +0 -89
  1816. data/spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotMasterOrSecondary.yml +0 -89
  1817. data/spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotMaster.yml +0 -64
  1818. data/spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotMasterNoSlaveOk.yml +0 -64
  1819. data/spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotMasterOrSecondary.yml +0 -64
  1820. data/spec/spec_tests/data/sdam/single/direct_connection_slave.yml +0 -34
  1821. data/spec/spec_tests/data/sdam_integration/cancel-server-check.yml +0 -96
  1822. data/spec/spec_tests/data/sdam_integration/connectTimeoutMS.yml +0 -88
  1823. data/spec/spec_tests/data/sdam_integration/find-network-error.yml +0 -83
  1824. data/spec/spec_tests/data/sdam_integration/find-shutdown-error.yml +0 -116
  1825. data/spec/spec_tests/data/sdam_integration/insert-network-error.yml +0 -86
  1826. data/spec/spec_tests/data/sdam_integration/insert-shutdown-error.yml +0 -115
  1827. data/spec/spec_tests/data/sdam_integration/isMaster-command-error.yml +0 -168
  1828. data/spec/spec_tests/data/sdam_integration/isMaster-network-error.yml +0 -162
  1829. data/spec/spec_tests/data/sdam_integration/isMaster-timeout.yml +0 -229
  1830. data/spec/spec_tests/data/sdam_integration/rediscover-quickly-after-step-down.yml +0 -87
  1831. data/spec/spec_tests/dns_seedlist_discovery_spec.rb +0 -68
  1832. data/spec/spec_tests/sdam_integration_spec.rb +0 -13
  1833. data/spec/support/child_process_helper.rb +0 -78
  1834. data/spec/support/cluster_config.rb +0 -207
  1835. data/spec/support/crypt/corpus/corpus_encrypted.json +0 -4152
  1836. data/spec/support/event_subscriber.rb +0 -212
  1837. data/spec/support/lite_constraints.rb +0 -141
  1838. data/spec/support/spec_organizer.rb +0 -129
  1839. /data/spec/spec_tests/data/retryable_reads/{aggregate-merge.yml → legacy/aggregate-merge.yml} +0 -0
  1840. /data/spec/spec_tests/data/retryable_reads/{aggregate.yml → legacy/aggregate.yml} +0 -0
  1841. /data/spec/spec_tests/data/retryable_reads/{count.yml → legacy/count.yml} +0 -0
  1842. /data/spec/spec_tests/data/retryable_reads/{countDocuments.yml → legacy/countDocuments.yml} +0 -0
  1843. /data/spec/spec_tests/data/retryable_reads/{distinct.yml → legacy/distinct.yml} +0 -0
  1844. /data/spec/spec_tests/data/retryable_reads/{estimatedDocumentCount.yml → legacy/estimatedDocumentCount.yml} +0 -0
  1845. /data/spec/spec_tests/data/retryable_reads/{find.yml → legacy/find.yml} +0 -0
  1846. /data/spec/spec_tests/data/retryable_reads/{findOne.yml → legacy/findOne.yml} +0 -0
  1847. /data/spec/spec_tests/data/retryable_reads/{gridfs-download.yml → legacy/gridfs-download.yml} +0 -0
  1848. /data/spec/spec_tests/data/retryable_reads/{gridfs-downloadByName.yml → legacy/gridfs-downloadByName.yml} +0 -0
  1849. /data/spec/spec_tests/data/retryable_reads/{listCollectionNames.yml → legacy/listCollectionNames.yml} +0 -0
  1850. /data/spec/spec_tests/data/retryable_reads/{listCollectionObjects.yml → legacy/listCollectionObjects.yml} +0 -0
  1851. /data/spec/spec_tests/data/retryable_reads/{listCollections.yml → legacy/listCollections.yml} +0 -0
  1852. /data/spec/spec_tests/data/retryable_reads/{listDatabaseNames.yml → legacy/listDatabaseNames.yml} +0 -0
  1853. /data/spec/spec_tests/data/retryable_reads/{listDatabaseObjects.yml → legacy/listDatabaseObjects.yml} +0 -0
  1854. /data/spec/spec_tests/data/retryable_reads/{listDatabases.yml → legacy/listDatabases.yml} +0 -0
  1855. /data/spec/spec_tests/data/retryable_reads/{listIndexes.yml → legacy/listIndexes.yml} +0 -0
  1856. /data/spec/spec_tests/data/retryable_writes/{bulkWrite-errorLabels.yml → legacy/bulkWrite-errorLabels.yml} +0 -0
  1857. /data/spec/spec_tests/data/retryable_writes/{deleteMany.yml → legacy/deleteMany.yml} +0 -0
  1858. /data/spec/spec_tests/data/retryable_writes/{deleteOne-errorLabels.yml → legacy/deleteOne-errorLabels.yml} +0 -0
  1859. /data/spec/spec_tests/data/retryable_writes/{deleteOne.yml → legacy/deleteOne.yml} +0 -0
  1860. /data/spec/spec_tests/data/retryable_writes/{findOneAndDelete-errorLabels.yml → legacy/findOneAndDelete-errorLabels.yml} +0 -0
  1861. /data/spec/spec_tests/data/retryable_writes/{findOneAndDelete.yml → legacy/findOneAndDelete.yml} +0 -0
  1862. /data/spec/spec_tests/data/retryable_writes/{findOneAndReplace-errorLabels.yml → legacy/findOneAndReplace-errorLabels.yml} +0 -0
  1863. /data/spec/spec_tests/data/retryable_writes/{findOneAndReplace.yml → legacy/findOneAndReplace.yml} +0 -0
  1864. /data/spec/spec_tests/data/retryable_writes/{findOneAndUpdate-errorLabels.yml → legacy/findOneAndUpdate-errorLabels.yml} +0 -0
  1865. /data/spec/spec_tests/data/retryable_writes/{findOneAndUpdate.yml → legacy/findOneAndUpdate.yml} +0 -0
  1866. /data/spec/spec_tests/data/retryable_writes/{insertMany-errorLabels.yml → legacy/insertMany-errorLabels.yml} +0 -0
  1867. /data/spec/spec_tests/data/retryable_writes/{insertMany.yml → legacy/insertMany.yml} +0 -0
  1868. /data/spec/spec_tests/data/retryable_writes/{insertOne-errorLabels.yml → legacy/insertOne-errorLabels.yml} +0 -0
  1869. /data/spec/spec_tests/data/retryable_writes/{insertOne.yml → legacy/insertOne.yml} +0 -0
  1870. /data/spec/spec_tests/data/retryable_writes/{replaceOne-errorLabels.yml → legacy/replaceOne-errorLabels.yml} +0 -0
  1871. /data/spec/spec_tests/data/retryable_writes/{replaceOne.yml → legacy/replaceOne.yml} +0 -0
  1872. /data/spec/spec_tests/data/retryable_writes/{updateMany.yml → legacy/updateMany.yml} +0 -0
  1873. /data/spec/spec_tests/data/retryable_writes/{updateOne-errorLabels.yml → legacy/updateOne-errorLabels.yml} +0 -0
  1874. /data/spec/spec_tests/data/retryable_writes/{updateOne.yml → legacy/updateOne.yml} +0 -0
  1875. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/direct-connection-false.yml +0 -0
  1876. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/direct-connection-true.yml +0 -0
  1877. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/longer-parent-in-return.yml +0 -0
  1878. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/misformatted-option.yml +0 -0
  1879. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/no-results.yml +0 -0
  1880. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/not-enough-parts.yml +0 -0
  1881. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/one-result-default-port.yml +0 -0
  1882. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/one-txt-record-multiple-strings.yml +0 -0
  1883. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/one-txt-record.yml +0 -0
  1884. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/parent-part-mismatch1.yml +0 -0
  1885. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/parent-part-mismatch2.yml +0 -0
  1886. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/parent-part-mismatch3.yml +0 -0
  1887. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/parent-part-mismatch4.yml +0 -0
  1888. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/parent-part-mismatch5.yml +0 -0
  1889. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/returned-parent-too-short.yml +0 -0
  1890. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/returned-parent-wrong.yml +0 -0
  1891. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/two-results-default-port.yml +0 -0
  1892. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/two-results-nonstandard-port.yml +0 -0
  1893. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/two-txt-records.yml +0 -0
  1894. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/txt-record-not-allowed-option.yml +0 -0
  1895. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/txt-record-with-overridden-ssl-option.yml +0 -0
  1896. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/txt-record-with-overridden-uri-option.yml +0 -0
  1897. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/txt-record-with-unallowed-option.yml +0 -0
  1898. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/uri-with-port.yml +0 -0
  1899. /data/spec/spec_tests/data/{dns_seedlist_discovery → seed_list_discovery/replica-set}/uri-with-two-hosts.yml +0 -0
metadata CHANGED
@@ -1,37 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.13.1
4
+ version: 2.19.1
5
5
  platform: ruby
6
6
  authors:
7
- - Tyler Brock
8
- - Emily Stolfo
9
- - Durran Jordan
7
+ - The MongoDB Ruby Team
10
8
  autorequire:
11
9
  bindir: bin
12
10
  cert_chain:
13
11
  - |
14
12
  -----BEGIN CERTIFICATE-----
15
- MIIDRDCCAiygAwIBAgIBATANBgkqhkiG9w0BAQsFADAmMSQwIgYDVQQDDBtkcml2
16
- ZXItcnVieS9EQz0xMGdlbi9EQz1jb20wHhcNMjAwMTIzMTkzNjAxWhcNMjEwMTIy
17
- MTkzNjAxWjAmMSQwIgYDVQQDDBtkcml2ZXItcnVieS9EQz0xMGdlbi9EQz1jb20w
18
- ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDRXUgGvH0ZtWwDPc2umdHw
19
- B+INNm6jNTRp8PMyUKxPzxaxX2OiBQk9gLC3zsK9ZmlZu4lNfpHVSCEPoiP/fhPg
20
- Kyfq2xld3Qz0Pki5d5i0/r14343MTKiNiFulLlbbdlN0cXeEFNJHUycZnD2LOXwz
21
- egYGHOl14FI8t5visIWtqRnLXXIlDsBHzmeEZjUZRGSgjC0R3RT/I+Fk5yUhn1w4
22
- rqFyAiW+cjjzmT7mmqT0jV6fd0JFHbKnSgt9iPijKSimBgUOsorHwOTMlTzwsy0d
23
- ZT+al1RiT5zqlAJLxFHwmoYOxD/bSNtKsYl60ek0hK2mISBVy9BBmLvCgHDx5uSp
24
- AgMBAAGjfTB7MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBRbd1mx
25
- fvSaVIwKI+tnEAYDW/B81zAgBgNVHREEGTAXgRVkcml2ZXItcnVieUAxMGdlbi5j
26
- b20wIAYDVR0SBBkwF4EVZHJpdmVyLXJ1YnlAMTBnZW4uY29tMA0GCSqGSIb3DQEB
27
- CwUAA4IBAQBfX4dwxG5PhtxES/LDEOaZIZXyaX6CKe367zhW+HxWbSOXMQJFkIQj
28
- m7tzT+sDFJXyiOv5cPtfpUam5pTiryzRw5HD6oxlPIt5vO15EJ69v++3m7shMLbw
29
- amZOajKXmu2ZGZfhOtj7bOTwmOj1AnWLKeOQIR3STvvfZCD+6dt1XenW7CdjCsxE
30
- ifervPjLFqFPsMOgaxikhgPK6bRtszrQhJSYlifKKzxbX1hYAsmGL7IxjubFSV5r
31
- gpvfPNWMwyBDlHaNS3GfO6cRRxBOvEG05GUCsvtTY4Bpe8yjE64wg1ymb47LMOnv
32
- Qb1lGORmf/opg45mluKUYl7pQNZHD0d3
13
+ MIIEeDCCAuCgAwIBAgIBATANBgkqhkiG9w0BAQsFADBBMREwDwYDVQQDDAhkYngt
14
+ cnVieTEXMBUGCgmSJomT8ixkARkWB21vbmdvZGIxEzARBgoJkiaJk/IsZAEZFgNj
15
+ b20wHhcNMjMwMTMxMTE1NjM1WhcNMjQwMTMxMTE1NjM1WjBBMREwDwYDVQQDDAhk
16
+ YngtcnVieTEXMBUGCgmSJomT8ixkARkWB21vbmdvZGIxEzARBgoJkiaJk/IsZAEZ
17
+ FgNjb20wggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQC0/Veq9l47cTfX
18
+ tQ+kHq2NOCwJuJGt1iXWQ/vH/yp7pZ/bLej7gPDl2CfIngAXRjM7r1FkR9ya7VAm
19
+ IneBFcVU3HhpIXWi4ByXGjBOXFD1Dfbz4C4zedIWRk/hNzXa+rQY4KPwpOwG/hZg
20
+ id+rSXWSbNlkyN97XfonweVh7JsIa9X/2JY9ADYjhCfEZF+b0+Wl7+jgwzLWb46I
21
+ 0WH0bZBIZ0BbKAwUXIgvq5mQf9PzukmMVYCwnkJ/P4wrHO22HuwnbMyvJuGjVwqi
22
+ j1NRp/2vjmKBFWxIfhlSXEIiqAmeEVNXzhPvTVeyo+rma+7R3Bo+4WHkcnPpXJJZ
23
+ Jd63qXMvTB0GplEcMJPztWhrJOmcxIOVoQyigEPSQT8JpzFVXby4SGioizv2eT7l
24
+ VYSiCHuc3yEDyq5M+98WGX2etbj6esYtzI3rDevpIAHPB6HQmtoJIA4dSl3gjFb+
25
+ D+YQSuB2qYu021FI9zeY9sbZyWysEXBxhwrmTk+XUV0qz+OQZkMCAwEAAaN7MHkw
26
+ CQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFH4nnr4tYlatU57RbExW
27
+ jG86YM5nMB8GA1UdEQQYMBaBFGRieC1ydWJ5QG1vbmdvZGIuY29tMB8GA1UdEgQY
28
+ MBaBFGRieC1ydWJ5QG1vbmdvZGIuY29tMA0GCSqGSIb3DQEBCwUAA4IBgQAVSlgM
29
+ nFDWCCNLOCqG5/Lj4U62XoALkdCI+OZ30+WrA8qiRLSL9ZEziVK9AV7ylez+sriQ
30
+ m8XKZKsCN5ON4+zXw1S+6Ftz/R4zDg7nTb9Wgw8ibzsoiP6e4pRW3Fls3ZdaG4pW
31
+ +qMTbae9OiSrgI2bxNTII+v+1FcbQjOlMu8HPZ3ZfXnurXPgN5GxSyyclZI1QONO
32
+ HbUoKHRirZu0F7JCvQQq4EkSuLWPplRJfYEeJIYm05zhhFeEyqea2B/TTlCtXa42
33
+ 84vxXsxGzumuO8F2Q9m6/p95sNhqCp0B/SkKXIrRGJ7FBzupoORNRXHviS2OC3ty
34
+ 4lwUzOlLTF/yO0wwYYfmtQOALQwKnW838vbYthMXvTjxB0EgVZ5PKto99WbjsXzy
35
+ wkeAWhd5b+5JS0zgDL4SvGB8/W2IY+y0zELkojBMgJPyrpAWHL/WSsSBMuhyI2Pv
36
+ xxaBVLklnJJ/qCCOZ3lG2MyVc/Nb0Mmq8ygWNsfwHmKKYuuWcviit0D0Tek=
33
37
  -----END CERTIFICATE-----
34
- date: 2020-10-09 00:00:00.000000000 Z
38
+ date: 2023-07-24 00:00:00.000000000 Z
35
39
  dependencies:
36
40
  - !ruby/object:Gem::Dependency
37
41
  name: bson
@@ -39,7 +43,7 @@ dependencies:
39
43
  requirements:
40
44
  - - ">="
41
45
  - !ruby/object:Gem::Version
42
- version: 4.8.2
46
+ version: 4.14.1
43
47
  - - "<"
44
48
  - !ruby/object:Gem::Version
45
49
  version: 5.0.0
@@ -49,12 +53,12 @@ dependencies:
49
53
  requirements:
50
54
  - - ">="
51
55
  - !ruby/object:Gem::Version
52
- version: 4.8.2
56
+ version: 4.14.1
53
57
  - - "<"
54
58
  - !ruby/object:Gem::Version
55
59
  version: 5.0.0
56
60
  description: A Ruby driver for MongoDB
57
- email:
61
+ email: dbx-ruby@mongodb.com
58
62
  executables:
59
63
  - mongo_console
60
64
  extensions: []
@@ -75,6 +79,8 @@ files:
75
79
  - lib/mongo/auth.rb
76
80
  - lib/mongo/auth/aws.rb
77
81
  - lib/mongo/auth/aws/conversation.rb
82
+ - lib/mongo/auth/aws/credentials.rb
83
+ - lib/mongo/auth/aws/credentials_cache.rb
78
84
  - lib/mongo/auth/aws/credentials_retriever.rb
79
85
  - lib/mongo/auth/aws/request.rb
80
86
  - lib/mongo/auth/base.rb
@@ -112,6 +118,7 @@ files:
112
118
  - lib/mongo/bulk_write/transformable.rb
113
119
  - lib/mongo/bulk_write/unordered_combiner.rb
114
120
  - lib/mongo/bulk_write/validatable.rb
121
+ - lib/mongo/caching_cursor.rb
115
122
  - lib/mongo/client.rb
116
123
  - lib/mongo/client_encryption.rb
117
124
  - lib/mongo/cluster.rb
@@ -121,6 +128,7 @@ files:
121
128
  - lib/mongo/cluster/sdam_flow.rb
122
129
  - lib/mongo/cluster/topology.rb
123
130
  - lib/mongo/cluster/topology/base.rb
131
+ - lib/mongo/cluster/topology/load_balanced.rb
124
132
  - lib/mongo/cluster/topology/no_replica_set_options.rb
125
133
  - lib/mongo/cluster/topology/replica_set_no_primary.rb
126
134
  - lib/mongo/cluster/topology/replica_set_with_primary.rb
@@ -129,15 +137,13 @@ files:
129
137
  - lib/mongo/cluster/topology/unknown.rb
130
138
  - lib/mongo/cluster_time.rb
131
139
  - lib/mongo/collection.rb
140
+ - lib/mongo/collection/helpers.rb
141
+ - lib/mongo/collection/queryable_encryption.rb
132
142
  - lib/mongo/collection/view.rb
133
143
  - lib/mongo/collection/view/aggregation.rb
134
144
  - lib/mongo/collection/view/builder.rb
135
145
  - lib/mongo/collection/view/builder/aggregation.rb
136
- - lib/mongo/collection/view/builder/find_command.rb
137
- - lib/mongo/collection/view/builder/flags.rb
138
146
  - lib/mongo/collection/view/builder/map_reduce.rb
139
- - lib/mongo/collection/view/builder/modifiers.rb
140
- - lib/mongo/collection/view/builder/op_query.rb
141
147
  - lib/mongo/collection/view/change_stream.rb
142
148
  - lib/mongo/collection/view/change_stream/retryable.rb
143
149
  - lib/mongo/collection/view/explainable.rb
@@ -146,6 +152,10 @@ files:
146
152
  - lib/mongo/collection/view/map_reduce.rb
147
153
  - lib/mongo/collection/view/readable.rb
148
154
  - lib/mongo/collection/view/writable.rb
155
+ - lib/mongo/condition_variable.rb
156
+ - lib/mongo/config.rb
157
+ - lib/mongo/config/options.rb
158
+ - lib/mongo/config/validators/option.rb
149
159
  - lib/mongo/crypt.rb
150
160
  - lib/mongo/crypt/auto_decryption_context.rb
151
161
  - lib/mongo/crypt/auto_encrypter.rb
@@ -158,27 +168,50 @@ files:
158
168
  - lib/mongo/crypt/explicit_decryption_context.rb
159
169
  - lib/mongo/crypt/explicit_encrypter.rb
160
170
  - lib/mongo/crypt/explicit_encryption_context.rb
171
+ - lib/mongo/crypt/explicit_encryption_expression_context.rb
161
172
  - lib/mongo/crypt/handle.rb
162
173
  - lib/mongo/crypt/hooks.rb
174
+ - lib/mongo/crypt/kms.rb
175
+ - lib/mongo/crypt/kms/aws.rb
176
+ - lib/mongo/crypt/kms/aws/credentials.rb
177
+ - lib/mongo/crypt/kms/aws/master_document.rb
178
+ - lib/mongo/crypt/kms/azure.rb
179
+ - lib/mongo/crypt/kms/azure/access_token.rb
180
+ - lib/mongo/crypt/kms/azure/credentials.rb
181
+ - lib/mongo/crypt/kms/azure/credentials_retriever.rb
182
+ - lib/mongo/crypt/kms/azure/master_document.rb
183
+ - lib/mongo/crypt/kms/credentials.rb
184
+ - lib/mongo/crypt/kms/gcp.rb
185
+ - lib/mongo/crypt/kms/gcp/credentials.rb
186
+ - lib/mongo/crypt/kms/gcp/credentials_retriever.rb
187
+ - lib/mongo/crypt/kms/gcp/master_document.rb
188
+ - lib/mongo/crypt/kms/kmip.rb
189
+ - lib/mongo/crypt/kms/kmip/credentials.rb
190
+ - lib/mongo/crypt/kms/kmip/master_document.rb
191
+ - lib/mongo/crypt/kms/local.rb
192
+ - lib/mongo/crypt/kms/local/credentials.rb
193
+ - lib/mongo/crypt/kms/local/master_document.rb
194
+ - lib/mongo/crypt/kms/master_key_document.rb
163
195
  - lib/mongo/crypt/kms_context.rb
196
+ - lib/mongo/crypt/rewrap_many_data_key_context.rb
197
+ - lib/mongo/crypt/rewrap_many_data_key_result.rb
164
198
  - lib/mongo/crypt/status.rb
165
199
  - lib/mongo/cursor.rb
166
- - lib/mongo/cursor/builder.rb
167
- - lib/mongo/cursor/builder/get_more_command.rb
168
- - lib/mongo/cursor/builder/kill_cursors_command.rb
169
- - lib/mongo/cursor/builder/op_get_more.rb
170
- - lib/mongo/cursor/builder/op_kill_cursors.rb
200
+ - lib/mongo/cursor/kill_spec.rb
171
201
  - lib/mongo/database.rb
172
202
  - lib/mongo/database/view.rb
173
203
  - lib/mongo/dbref.rb
174
204
  - lib/mongo/distinguishing_semaphore.rb
175
205
  - lib/mongo/error.rb
176
206
  - lib/mongo/error/auth_error.rb
207
+ - lib/mongo/error/bad_load_balancer_target.rb
177
208
  - lib/mongo/error/bulk_write_error.rb
178
209
  - lib/mongo/error/change_stream_resumable.rb
210
+ - lib/mongo/error/client_closed.rb
179
211
  - lib/mongo/error/closed_stream.rb
180
212
  - lib/mongo/error/connection_check_out_timeout.rb
181
213
  - lib/mongo/error/connection_perished.rb
214
+ - lib/mongo/error/connection_unavailable.rb
182
215
  - lib/mongo/error/credential_check_error.rb
183
216
  - lib/mongo/error/crypt_error.rb
184
217
  - lib/mongo/error/extra_file_chunk.rb
@@ -186,18 +219,22 @@ files:
186
219
  - lib/mongo/error/file_not_found.rb
187
220
  - lib/mongo/error/handshake_error.rb
188
221
  - lib/mongo/error/insufficient_iteration_count.rb
222
+ - lib/mongo/error/internal_driver_error.rb
189
223
  - lib/mongo/error/invalid_address.rb
190
224
  - lib/mongo/error/invalid_application_name.rb
191
225
  - lib/mongo/error/invalid_bulk_operation.rb
192
226
  - lib/mongo/error/invalid_bulk_operation_type.rb
193
227
  - lib/mongo/error/invalid_collection_name.rb
228
+ - lib/mongo/error/invalid_config_option.rb
194
229
  - lib/mongo/error/invalid_cursor_operation.rb
195
230
  - lib/mongo/error/invalid_database_name.rb
196
231
  - lib/mongo/error/invalid_document.rb
197
232
  - lib/mongo/error/invalid_file.rb
198
233
  - lib/mongo/error/invalid_file_revision.rb
234
+ - lib/mongo/error/invalid_max_connecting.rb
199
235
  - lib/mongo/error/invalid_min_pool_size.rb
200
236
  - lib/mongo/error/invalid_nonce.rb
237
+ - lib/mongo/error/invalid_read_concern.rb
201
238
  - lib/mongo/error/invalid_read_option.rb
202
239
  - lib/mongo/error/invalid_replacement_document.rb
203
240
  - lib/mongo/error/invalid_server_auth_host.rb
@@ -211,33 +248,49 @@ files:
211
248
  - lib/mongo/error/invalid_uri.rb
212
249
  - lib/mongo/error/invalid_write_concern.rb
213
250
  - lib/mongo/error/kms_error.rb
251
+ - lib/mongo/error/labelable.rb
214
252
  - lib/mongo/error/lint_error.rb
215
253
  - lib/mongo/error/max_bson_size.rb
216
254
  - lib/mongo/error/max_message_size.rb
217
255
  - lib/mongo/error/mismatched_domain.rb
256
+ - lib/mongo/error/missing_connection.rb
218
257
  - lib/mongo/error/missing_file_chunk.rb
219
258
  - lib/mongo/error/missing_password.rb
220
259
  - lib/mongo/error/missing_resume_token.rb
221
260
  - lib/mongo/error/missing_scram_server_signature.rb
261
+ - lib/mongo/error/missing_service_id.rb
222
262
  - lib/mongo/error/mongocryptd_spawn_error.rb
223
263
  - lib/mongo/error/multi_index_drop.rb
224
264
  - lib/mongo/error/need_primary_server.rb
225
265
  - lib/mongo/error/no_server_available.rb
266
+ - lib/mongo/error/no_service_connection_available.rb
226
267
  - lib/mongo/error/no_srv_records.rb
227
268
  - lib/mongo/error/notable.rb
228
269
  - lib/mongo/error/operation_failure.rb
229
270
  - lib/mongo/error/parser.rb
271
+ - lib/mongo/error/pool_cleared_error.rb
230
272
  - lib/mongo/error/pool_closed_error.rb
273
+ - lib/mongo/error/pool_error.rb
274
+ - lib/mongo/error/pool_paused_error.rb
231
275
  - lib/mongo/error/raise_original_error.rb
276
+ - lib/mongo/error/read_write_retryable.rb
232
277
  - lib/mongo/error/sdam_error_detection.rb
278
+ - lib/mongo/error/server_api_conflict.rb
279
+ - lib/mongo/error/server_api_not_supported.rb
280
+ - lib/mongo/error/server_certificate_revoked.rb
281
+ - lib/mongo/error/server_not_usable.rb
233
282
  - lib/mongo/error/session_ended.rb
283
+ - lib/mongo/error/session_not_materialized.rb
234
284
  - lib/mongo/error/sessions_not_supported.rb
285
+ - lib/mongo/error/snapshot_session_invalid_server_version.rb
286
+ - lib/mongo/error/snapshot_session_transaction_prohibited.rb
235
287
  - lib/mongo/error/socket_error.rb
236
288
  - lib/mongo/error/socket_timeout_error.rb
237
289
  - lib/mongo/error/unchangeable_collection_option.rb
238
290
  - lib/mongo/error/unexpected_chunk_length.rb
239
291
  - lib/mongo/error/unexpected_response.rb
240
292
  - lib/mongo/error/unknown_payload_type.rb
293
+ - lib/mongo/error/unmet_dependency.rb
241
294
  - lib/mongo/error/unsupported_array_filters.rb
242
295
  - lib/mongo/error/unsupported_collation.rb
243
296
  - lib/mongo/error/unsupported_features.rb
@@ -279,6 +332,7 @@ files:
279
332
  - lib/mongo/monitoring/event/cmap/pool_cleared.rb
280
333
  - lib/mongo/monitoring/event/cmap/pool_closed.rb
281
334
  - lib/mongo/monitoring/event/cmap/pool_created.rb
335
+ - lib/mongo/monitoring/event/cmap/pool_ready.rb
282
336
  - lib/mongo/monitoring/event/command_failed.rb
283
337
  - lib/mongo/monitoring/event/command_started.rb
284
338
  - lib/mongo/monitoring/event/command_succeeded.rb
@@ -303,105 +357,79 @@ files:
303
357
  - lib/mongo/monitoring/unified_sdam_log_subscriber.rb
304
358
  - lib/mongo/operation.rb
305
359
  - lib/mongo/operation/aggregate.rb
306
- - lib/mongo/operation/aggregate/command.rb
307
360
  - lib/mongo/operation/aggregate/op_msg.rb
308
361
  - lib/mongo/operation/aggregate/result.rb
309
362
  - lib/mongo/operation/collections_info.rb
310
- - lib/mongo/operation/collections_info/command.rb
311
363
  - lib/mongo/operation/collections_info/result.rb
312
364
  - lib/mongo/operation/command.rb
313
- - lib/mongo/operation/command/command.rb
314
365
  - lib/mongo/operation/command/op_msg.rb
366
+ - lib/mongo/operation/context.rb
315
367
  - lib/mongo/operation/count.rb
316
- - lib/mongo/operation/count/command.rb
317
368
  - lib/mongo/operation/count/op_msg.rb
318
369
  - lib/mongo/operation/create.rb
319
- - lib/mongo/operation/create/command.rb
320
370
  - lib/mongo/operation/create/op_msg.rb
321
371
  - lib/mongo/operation/create_index.rb
322
- - lib/mongo/operation/create_index/command.rb
323
372
  - lib/mongo/operation/create_index/op_msg.rb
324
373
  - lib/mongo/operation/create_user.rb
325
- - lib/mongo/operation/create_user/command.rb
326
374
  - lib/mongo/operation/create_user/op_msg.rb
327
375
  - lib/mongo/operation/delete.rb
328
376
  - lib/mongo/operation/delete/bulk_result.rb
329
- - lib/mongo/operation/delete/command.rb
330
- - lib/mongo/operation/delete/legacy.rb
331
377
  - lib/mongo/operation/delete/op_msg.rb
332
378
  - lib/mongo/operation/delete/result.rb
333
379
  - lib/mongo/operation/distinct.rb
334
- - lib/mongo/operation/distinct/command.rb
335
380
  - lib/mongo/operation/distinct/op_msg.rb
336
381
  - lib/mongo/operation/drop.rb
337
- - lib/mongo/operation/drop/command.rb
338
382
  - lib/mongo/operation/drop/op_msg.rb
339
383
  - lib/mongo/operation/drop_database.rb
340
- - lib/mongo/operation/drop_database/command.rb
341
384
  - lib/mongo/operation/drop_database/op_msg.rb
342
385
  - lib/mongo/operation/drop_index.rb
343
- - lib/mongo/operation/drop_index/command.rb
344
386
  - lib/mongo/operation/drop_index/op_msg.rb
345
387
  - lib/mongo/operation/explain.rb
346
- - lib/mongo/operation/explain/command.rb
347
- - lib/mongo/operation/explain/legacy.rb
348
388
  - lib/mongo/operation/explain/op_msg.rb
349
389
  - lib/mongo/operation/explain/result.rb
350
390
  - lib/mongo/operation/find.rb
351
- - lib/mongo/operation/find/command.rb
352
- - lib/mongo/operation/find/legacy.rb
353
- - lib/mongo/operation/find/legacy/result.rb
391
+ - lib/mongo/operation/find/builder.rb
392
+ - lib/mongo/operation/find/builder/command.rb
393
+ - lib/mongo/operation/find/builder/flags.rb
394
+ - lib/mongo/operation/find/builder/modifiers.rb
354
395
  - lib/mongo/operation/find/op_msg.rb
355
396
  - lib/mongo/operation/find/result.rb
356
397
  - lib/mongo/operation/get_more.rb
357
- - lib/mongo/operation/get_more/command.rb
358
- - lib/mongo/operation/get_more/legacy.rb
398
+ - lib/mongo/operation/get_more/command_builder.rb
359
399
  - lib/mongo/operation/get_more/op_msg.rb
360
400
  - lib/mongo/operation/get_more/result.rb
361
401
  - lib/mongo/operation/indexes.rb
362
- - lib/mongo/operation/indexes/command.rb
363
- - lib/mongo/operation/indexes/legacy.rb
364
402
  - lib/mongo/operation/indexes/op_msg.rb
365
403
  - lib/mongo/operation/indexes/result.rb
366
404
  - lib/mongo/operation/insert.rb
367
405
  - lib/mongo/operation/insert/bulk_result.rb
368
- - lib/mongo/operation/insert/command.rb
369
- - lib/mongo/operation/insert/legacy.rb
370
406
  - lib/mongo/operation/insert/op_msg.rb
371
407
  - lib/mongo/operation/insert/result.rb
372
408
  - lib/mongo/operation/kill_cursors.rb
373
- - lib/mongo/operation/kill_cursors/command.rb
374
- - lib/mongo/operation/kill_cursors/legacy.rb
409
+ - lib/mongo/operation/kill_cursors/command_builder.rb
375
410
  - lib/mongo/operation/kill_cursors/op_msg.rb
376
411
  - lib/mongo/operation/list_collections.rb
377
- - lib/mongo/operation/list_collections/command.rb
378
412
  - lib/mongo/operation/list_collections/op_msg.rb
379
413
  - lib/mongo/operation/list_collections/result.rb
380
414
  - lib/mongo/operation/map_reduce.rb
381
- - lib/mongo/operation/map_reduce/command.rb
382
415
  - lib/mongo/operation/map_reduce/op_msg.rb
383
416
  - lib/mongo/operation/map_reduce/result.rb
384
417
  - lib/mongo/operation/op_msg_base.rb
385
418
  - lib/mongo/operation/parallel_scan.rb
386
- - lib/mongo/operation/parallel_scan/command.rb
387
419
  - lib/mongo/operation/parallel_scan/op_msg.rb
388
420
  - lib/mongo/operation/parallel_scan/result.rb
389
421
  - lib/mongo/operation/remove_user.rb
390
- - lib/mongo/operation/remove_user/command.rb
391
422
  - lib/mongo/operation/remove_user/op_msg.rb
392
423
  - lib/mongo/operation/result.rb
393
424
  - lib/mongo/operation/shared/bypass_document_validation.rb
394
425
  - lib/mongo/operation/shared/causal_consistency_supported.rb
395
- - lib/mongo/operation/shared/collections_info_or_list_collections.rb
396
426
  - lib/mongo/operation/shared/executable.rb
397
427
  - lib/mongo/operation/shared/executable_no_validate.rb
398
428
  - lib/mongo/operation/shared/executable_transaction_label.rb
399
429
  - lib/mongo/operation/shared/idable.rb
400
430
  - lib/mongo/operation/shared/limited.rb
401
431
  - lib/mongo/operation/shared/object_id_generator.rb
402
- - lib/mongo/operation/shared/op_msg_or_command.rb
403
- - lib/mongo/operation/shared/op_msg_or_find_command.rb
404
- - lib/mongo/operation/shared/op_msg_or_list_indexes_command.rb
432
+ - lib/mongo/operation/shared/op_msg_executable.rb
405
433
  - lib/mongo/operation/shared/polymorphic_lookup.rb
406
434
  - lib/mongo/operation/shared/polymorphic_result.rb
407
435
  - lib/mongo/operation/shared/read_preference_supported.rb
@@ -410,31 +438,28 @@ files:
410
438
  - lib/mongo/operation/shared/result/use_legacy_error_parser.rb
411
439
  - lib/mongo/operation/shared/sessions_supported.rb
412
440
  - lib/mongo/operation/shared/specifiable.rb
441
+ - lib/mongo/operation/shared/validatable.rb
413
442
  - lib/mongo/operation/shared/write.rb
414
443
  - lib/mongo/operation/shared/write_concern_supported.rb
415
444
  - lib/mongo/operation/update.rb
416
445
  - lib/mongo/operation/update/bulk_result.rb
417
- - lib/mongo/operation/update/command.rb
418
- - lib/mongo/operation/update/legacy.rb
419
- - lib/mongo/operation/update/legacy/result.rb
420
446
  - lib/mongo/operation/update/op_msg.rb
421
447
  - lib/mongo/operation/update/result.rb
422
448
  - lib/mongo/operation/update_user.rb
423
- - lib/mongo/operation/update_user/command.rb
424
449
  - lib/mongo/operation/update_user/op_msg.rb
425
450
  - lib/mongo/operation/users_info.rb
426
- - lib/mongo/operation/users_info/command.rb
427
451
  - lib/mongo/operation/users_info/op_msg.rb
428
452
  - lib/mongo/operation/users_info/result.rb
453
+ - lib/mongo/operation/write_command.rb
454
+ - lib/mongo/operation/write_command/op_msg.rb
429
455
  - lib/mongo/options.rb
430
456
  - lib/mongo/options/mapper.rb
431
457
  - lib/mongo/options/redacted.rb
432
458
  - lib/mongo/protocol.rb
433
459
  - lib/mongo/protocol/bit_vector.rb
460
+ - lib/mongo/protocol/caching_hash.rb
434
461
  - lib/mongo/protocol/compressed.rb
435
- - lib/mongo/protocol/delete.rb
436
462
  - lib/mongo/protocol/get_more.rb
437
- - lib/mongo/protocol/insert.rb
438
463
  - lib/mongo/protocol/kill_cursors.rb
439
464
  - lib/mongo/protocol/message.rb
440
465
  - lib/mongo/protocol/msg.rb
@@ -442,19 +467,26 @@ files:
442
467
  - lib/mongo/protocol/registry.rb
443
468
  - lib/mongo/protocol/reply.rb
444
469
  - lib/mongo/protocol/serializers.rb
445
- - lib/mongo/protocol/update.rb
470
+ - lib/mongo/query_cache.rb
446
471
  - lib/mongo/retryable.rb
472
+ - lib/mongo/retryable/base_worker.rb
473
+ - lib/mongo/retryable/read_worker.rb
474
+ - lib/mongo/retryable/write_worker.rb
447
475
  - lib/mongo/semaphore.rb
448
476
  - lib/mongo/server.rb
449
477
  - lib/mongo/server/app_metadata.rb
478
+ - lib/mongo/server/app_metadata/environment.rb
479
+ - lib/mongo/server/app_metadata/platform.rb
480
+ - lib/mongo/server/app_metadata/truncator.rb
450
481
  - lib/mongo/server/connection.rb
451
482
  - lib/mongo/server/connection_base.rb
452
483
  - lib/mongo/server/connection_common.rb
453
484
  - lib/mongo/server/connection_pool.rb
485
+ - lib/mongo/server/connection_pool/generation_manager.rb
454
486
  - lib/mongo/server/connection_pool/populator.rb
455
- - lib/mongo/server/context.rb
456
487
  - lib/mongo/server/description.rb
457
488
  - lib/mongo/server/description/features.rb
489
+ - lib/mongo/server/description/load_balancer.rb
458
490
  - lib/mongo/server/monitor.rb
459
491
  - lib/mongo/server/monitor/app_metadata.rb
460
492
  - lib/mongo/server/monitor/connection.rb
@@ -473,6 +505,8 @@ files:
473
505
  - lib/mongo/session/server_session.rb
474
506
  - lib/mongo/session/session_pool.rb
475
507
  - lib/mongo/socket.rb
508
+ - lib/mongo/socket/ocsp_cache.rb
509
+ - lib/mongo/socket/ocsp_verifier.rb
476
510
  - lib/mongo/socket/ssl.rb
477
511
  - lib/mongo/socket/tcp.rb
478
512
  - lib/mongo/socket/unix.rb
@@ -483,6 +517,7 @@ files:
483
517
  - lib/mongo/timeout.rb
484
518
  - lib/mongo/topology_version.rb
485
519
  - lib/mongo/uri.rb
520
+ - lib/mongo/uri/options_mapper.rb
486
521
  - lib/mongo/uri/srv_protocol.rb
487
522
  - lib/mongo/utils.rb
488
523
  - lib/mongo/version.rb
@@ -499,10 +534,13 @@ files:
499
534
  - spec/atlas/operations_spec.rb
500
535
  - spec/integration/auth_spec.rb
501
536
  - spec/integration/awaited_ismaster_spec.rb
537
+ - spec/integration/aws_auth_credentials_cache_spec.rb
502
538
  - spec/integration/aws_auth_request_spec.rb
503
539
  - spec/integration/aws_credentials_retriever_spec.rb
540
+ - spec/integration/aws_lambda_examples_spec.rb
504
541
  - spec/integration/bson_symbol_spec.rb
505
542
  - spec/integration/bulk_insert_spec.rb
543
+ - spec/integration/bulk_write_error_message_spec.rb
506
544
  - spec/integration/bulk_write_spec.rb
507
545
  - spec/integration/change_stream_examples_spec.rb
508
546
  - spec/integration/change_stream_spec.rb
@@ -517,14 +555,27 @@ files:
517
555
  - spec/integration/client_side_encryption/auto_encryption_old_wire_version_spec.rb
518
556
  - spec/integration/client_side_encryption/auto_encryption_reconnect_spec.rb
519
557
  - spec/integration/client_side_encryption/auto_encryption_spec.rb
558
+ - spec/integration/client_side_encryption/automatic_data_encryption_keys_prose_spec.rb
520
559
  - spec/integration/client_side_encryption/bson_size_limit_spec.rb
521
560
  - spec/integration/client_side_encryption/bypass_mongocryptd_spawn_spec.rb
522
561
  - spec/integration/client_side_encryption/client_close_spec.rb
523
562
  - spec/integration/client_side_encryption/corpus_spec.rb
524
563
  - spec/integration/client_side_encryption/custom_endpoint_spec.rb
525
564
  - spec/integration/client_side_encryption/data_key_spec.rb
565
+ - spec/integration/client_side_encryption/decryption_events_prose_spec.rb
526
566
  - spec/integration/client_side_encryption/explicit_encryption_spec.rb
567
+ - spec/integration/client_side_encryption/explicit_queryable_encryption_spec.rb
527
568
  - spec/integration/client_side_encryption/external_key_vault_spec.rb
569
+ - spec/integration/client_side_encryption/kms_tls_options_spec.rb
570
+ - spec/integration/client_side_encryption/kms_tls_spec.rb
571
+ - spec/integration/client_side_encryption/mongocryptd_prose_spec.rb
572
+ - spec/integration/client_side_encryption/on_demand_aws_credentials_spec.rb
573
+ - spec/integration/client_side_encryption/on_demand_azure_credentials_spec.rb
574
+ - spec/integration/client_side_encryption/on_demand_gcp_credentials_spec.rb
575
+ - spec/integration/client_side_encryption/queryable_encryption_examples_spec.rb
576
+ - spec/integration/client_side_encryption/range_explicit_encryption_prose_spec.rb
577
+ - spec/integration/client_side_encryption/rewrap_prose_spec.rb
578
+ - spec/integration/client_side_encryption/unique_index_on_key_alt_names_prose_spec.rb
528
579
  - spec/integration/client_side_encryption/views_spec.rb
529
580
  - spec/integration/client_spec.rb
530
581
  - spec/integration/client_update_spec.rb
@@ -532,9 +583,11 @@ files:
532
583
  - spec/integration/command_monitoring_spec.rb
533
584
  - spec/integration/command_spec.rb
534
585
  - spec/integration/connect_single_rs_name_spec.rb
586
+ - spec/integration/connection/faas_env_spec.rb
535
587
  - spec/integration/connection_pool_populator_spec.rb
536
588
  - spec/integration/connection_spec.rb
537
589
  - spec/integration/crud_spec.rb
590
+ - spec/integration/cursor_pinning_spec.rb
538
591
  - spec/integration/cursor_reaping_spec.rb
539
592
  - spec/integration/docs_examples_spec.rb
540
593
  - spec/integration/error_detection_spec.rb
@@ -542,13 +595,21 @@ files:
542
595
  - spec/integration/get_more_spec.rb
543
596
  - spec/integration/grid_fs_bucket_spec.rb
544
597
  - spec/integration/heartbeat_events_spec.rb
598
+ - spec/integration/map_reduce_spec.rb
545
599
  - spec/integration/mmapv1_spec.rb
546
600
  - spec/integration/mongos_pinning_spec.rb
601
+ - spec/integration/ocsp_connectivity_spec.rb
602
+ - spec/integration/ocsp_verifier_cache_spec.rb
603
+ - spec/integration/ocsp_verifier_spec.rb
547
604
  - spec/integration/operation_failure_code_spec.rb
605
+ - spec/integration/operation_failure_message_spec.rb
606
+ - spec/integration/query_cache_spec.rb
607
+ - spec/integration/query_cache_transactions_spec.rb
548
608
  - spec/integration/read_concern_spec.rb
549
609
  - spec/integration/read_preference_spec.rb
550
610
  - spec/integration/reconnect_spec.rb
551
611
  - spec/integration/retryable_errors_spec.rb
612
+ - spec/integration/retryable_reads_errors_spec.rb
552
613
  - spec/integration/retryable_writes/retryable_writes_36_and_older_spec.rb
553
614
  - spec/integration/retryable_writes/retryable_writes_40_and_newer_spec.rb
554
615
  - spec/integration/retryable_writes/shared/adds_diagnostics.rb
@@ -564,20 +625,29 @@ files:
564
625
  - spec/integration/sdam_error_handling_spec.rb
565
626
  - spec/integration/sdam_events_spec.rb
566
627
  - spec/integration/sdam_prose_spec.rb
628
+ - spec/integration/secondary_reads_spec.rb
567
629
  - spec/integration/server_description_spec.rb
568
630
  - spec/integration/server_monitor_spec.rb
631
+ - spec/integration/server_selection_spec.rb
569
632
  - spec/integration/server_selector_spec.rb
570
633
  - spec/integration/server_spec.rb
571
634
  - spec/integration/shell_examples_spec.rb
572
635
  - spec/integration/size_limit_spec.rb
636
+ - spec/integration/snappy_compression_spec.rb
637
+ - spec/integration/snapshot_query_examples_spec.rb
573
638
  - spec/integration/srv_monitoring_spec.rb
639
+ - spec/integration/srv_spec.rb
574
640
  - spec/integration/ssl_uri_options_spec.rb
575
641
  - spec/integration/step_down_spec.rb
576
642
  - spec/integration/time_zone_querying_spec.rb
643
+ - spec/integration/transaction_pinning_spec.rb
577
644
  - spec/integration/transactions_api_examples_spec.rb
578
645
  - spec/integration/transactions_examples_spec.rb
646
+ - spec/integration/truncated_utf8_spec.rb
647
+ - spec/integration/versioned_api_examples_spec.rb
579
648
  - spec/integration/x509_auth_spec.rb
580
649
  - spec/integration/zlib_compression_spec.rb
650
+ - spec/integration/zstd_compression_spec.rb
581
651
  - spec/kerberos/kerberos_spec.rb
582
652
  - spec/lite_spec_helper.rb
583
653
  - spec/mongo/address/ipv4_spec.rb
@@ -585,6 +655,9 @@ files:
585
655
  - spec/mongo/address/unix_spec.rb
586
656
  - spec/mongo/address/validator_spec.rb
587
657
  - spec/mongo/address_spec.rb
658
+ - spec/mongo/auth/aws/credential_cache_spec.rb
659
+ - spec/mongo/auth/aws/credentials_retriever_spec.rb
660
+ - spec/mongo/auth/aws/credentials_spec.rb
588
661
  - spec/mongo/auth/aws/request_region_spec.rb
589
662
  - spec/mongo/auth/aws/request_spec.rb
590
663
  - spec/mongo/auth/cr_spec.rb
@@ -608,6 +681,7 @@ files:
608
681
  - spec/mongo/bulk_write/result_spec.rb
609
682
  - spec/mongo/bulk_write/unordered_combiner_spec.rb
610
683
  - spec/mongo/bulk_write_spec.rb
684
+ - spec/mongo/caching_cursor_spec.rb
611
685
  - spec/mongo/client_construction_spec.rb
612
686
  - spec/mongo/client_encryption_spec.rb
613
687
  - spec/mongo/client_spec.rb
@@ -623,8 +697,6 @@ files:
623
697
  - spec/mongo/cluster_time_spec.rb
624
698
  - spec/mongo/collection/view/aggregation_spec.rb
625
699
  - spec/mongo/collection/view/builder/find_command_spec.rb
626
- - spec/mongo/collection/view/builder/flags_spec.rb
627
- - spec/mongo/collection/view/builder/modifiers_spec.rb
628
700
  - spec/mongo/collection/view/builder/op_query_spec.rb
629
701
  - spec/mongo/collection/view/change_stream_resume_spec.rb
630
702
  - spec/mongo/collection/view/change_stream_spec.rb
@@ -635,7 +707,12 @@ files:
635
707
  - spec/mongo/collection/view/readable_spec.rb
636
708
  - spec/mongo/collection/view/writable_spec.rb
637
709
  - spec/mongo/collection/view_spec.rb
710
+ - spec/mongo/collection_crud_spec.rb
711
+ - spec/mongo/collection_ddl_spec.rb
638
712
  - spec/mongo/collection_spec.rb
713
+ - spec/mongo/condition_variable_spec.rb
714
+ - spec/mongo/config/options_spec.rb
715
+ - spec/mongo/config_spec.rb
639
716
  - spec/mongo/crypt/auto_decryption_context_spec.rb
640
717
  - spec/mongo/crypt/auto_encrypter_spec.rb
641
718
  - spec/mongo/crypt/auto_encryption_context_spec.rb
@@ -653,13 +730,16 @@ files:
653
730
  - spec/mongo/crypt/explicit_encryption_context_spec.rb
654
731
  - spec/mongo/crypt/handle_spec.rb
655
732
  - spec/mongo/crypt/helpers/mongo_crypt_spec_helper.rb
733
+ - spec/mongo/crypt/hooks_spec.rb
734
+ - spec/mongo/crypt/kms/azure/credentials_retriever_spec.rb
735
+ - spec/mongo/crypt/kms/credentials_spec.rb
736
+ - spec/mongo/crypt/kms_spec.rb
656
737
  - spec/mongo/crypt/status_spec.rb
738
+ - spec/mongo/crypt_spec.rb
657
739
  - spec/mongo/cursor/builder/get_more_command_spec.rb
658
740
  - spec/mongo/cursor/builder/op_get_more_spec.rb
659
- - spec/mongo/cursor/builder/op_kill_cursors_spec.rb
660
741
  - spec/mongo/cursor_spec.rb
661
742
  - spec/mongo/database_spec.rb
662
- - spec/mongo/dbref_spec.rb
663
743
  - spec/mongo/distinguishing_semaphore_spec.rb
664
744
  - spec/mongo/error/bulk_write_error_spec.rb
665
745
  - spec/mongo/error/crypt_error_spec.rb
@@ -712,21 +792,19 @@ files:
712
792
  - spec/mongo/operation/aggregate_spec.rb
713
793
  - spec/mongo/operation/collections_info_spec.rb
714
794
  - spec/mongo/operation/command_spec.rb
795
+ - spec/mongo/operation/create/op_msg_spec.rb
715
796
  - spec/mongo/operation/create_index_spec.rb
716
797
  - spec/mongo/operation/create_user_spec.rb
717
798
  - spec/mongo/operation/delete/bulk_spec.rb
718
- - spec/mongo/operation/delete/command_spec.rb
719
799
  - spec/mongo/operation/delete/op_msg_spec.rb
720
800
  - spec/mongo/operation/delete_spec.rb
721
801
  - spec/mongo/operation/drop_index_spec.rb
722
- - spec/mongo/operation/find/legacy_spec.rb
723
- - spec/mongo/operation/get_more_spec.rb
802
+ - spec/mongo/operation/find/builder/flags_spec.rb
803
+ - spec/mongo/operation/find/builder/modifiers_spec.rb
724
804
  - spec/mongo/operation/indexes_spec.rb
725
805
  - spec/mongo/operation/insert/bulk_spec.rb
726
- - spec/mongo/operation/insert/command_spec.rb
727
806
  - spec/mongo/operation/insert/op_msg_spec.rb
728
807
  - spec/mongo/operation/insert_spec.rb
729
- - spec/mongo/operation/kill_cursors_spec.rb
730
808
  - spec/mongo/operation/limited_spec.rb
731
809
  - spec/mongo/operation/map_reduce_spec.rb
732
810
  - spec/mongo/operation/read_preference_legacy_spec.rb
@@ -735,26 +813,27 @@ files:
735
813
  - spec/mongo/operation/result_spec.rb
736
814
  - spec/mongo/operation/specifiable_spec.rb
737
815
  - spec/mongo/operation/update/bulk_spec.rb
738
- - spec/mongo/operation/update/command_spec.rb
739
816
  - spec/mongo/operation/update/op_msg_spec.rb
740
817
  - spec/mongo/operation/update_spec.rb
741
818
  - spec/mongo/operation/update_user_spec.rb
742
819
  - spec/mongo/options/redacted_spec.rb
820
+ - spec/mongo/protocol/caching_hash_spec.rb
743
821
  - spec/mongo/protocol/compressed_spec.rb
744
- - spec/mongo/protocol/delete_spec.rb
745
822
  - spec/mongo/protocol/get_more_spec.rb
746
- - spec/mongo/protocol/insert_spec.rb
747
823
  - spec/mongo/protocol/kill_cursors_spec.rb
748
824
  - spec/mongo/protocol/msg_spec.rb
749
825
  - spec/mongo/protocol/query_spec.rb
750
826
  - spec/mongo/protocol/registry_spec.rb
751
827
  - spec/mongo/protocol/reply_spec.rb
752
- - spec/mongo/protocol/update_spec.rb
828
+ - spec/mongo/query_cache_middleware_spec.rb
829
+ - spec/mongo/query_cache_spec.rb
753
830
  - spec/mongo/retryable_spec.rb
754
831
  - spec/mongo/semaphore_spec.rb
755
- - spec/mongo/server/app_metadata_shared.rb
832
+ - spec/mongo/server/app_metadata/environment_spec.rb
833
+ - spec/mongo/server/app_metadata/truncator_spec.rb
756
834
  - spec/mongo/server/app_metadata_spec.rb
757
835
  - spec/mongo/server/connection_auth_spec.rb
836
+ - spec/mongo/server/connection_common_spec.rb
758
837
  - spec/mongo/server/connection_pool/populator_spec.rb
759
838
  - spec/mongo/server/connection_pool_spec.rb
760
839
  - spec/mongo/server/connection_spec.rb
@@ -764,6 +843,7 @@ files:
764
843
  - spec/mongo/server/monitor/app_metadata_spec.rb
765
844
  - spec/mongo/server/monitor/connection_spec.rb
766
845
  - spec/mongo/server/monitor_spec.rb
846
+ - spec/mongo/server/push_monitor_spec.rb
767
847
  - spec/mongo/server/round_trip_time_averager_spec.rb
768
848
  - spec/mongo/server_selector/nearest_spec.rb
769
849
  - spec/mongo/server_selector/primary_preferred_spec.rb
@@ -783,9 +863,12 @@ files:
783
863
  - spec/mongo/srv/monitor_spec.rb
784
864
  - spec/mongo/srv/result_spec.rb
785
865
  - spec/mongo/timeout_spec.rb
866
+ - spec/mongo/tls_context_hooks_spec.rb
867
+ - spec/mongo/uri/options_mapper_spec.rb
786
868
  - spec/mongo/uri/srv_protocol_spec.rb
787
869
  - spec/mongo/uri_option_parsing_spec.rb
788
870
  - spec/mongo/uri_spec.rb
871
+ - spec/mongo/utils_spec.rb
789
872
  - spec/mongo/write_concern/acknowledged_spec.rb
790
873
  - spec/mongo/write_concern/unacknowledged_spec.rb
791
874
  - spec/mongo/write_concern_spec.rb
@@ -816,20 +899,68 @@ files:
816
899
  - spec/runners/transactions/operation.rb
817
900
  - spec/runners/transactions/spec.rb
818
901
  - spec/runners/transactions/test.rb
902
+ - spec/runners/unified.rb
903
+ - spec/runners/unified/assertions.rb
904
+ - spec/runners/unified/change_stream_operations.rb
905
+ - spec/runners/unified/client_side_encryption_operations.rb
906
+ - spec/runners/unified/crud_operations.rb
907
+ - spec/runners/unified/ddl_operations.rb
908
+ - spec/runners/unified/entity_map.rb
909
+ - spec/runners/unified/error.rb
910
+ - spec/runners/unified/event_subscriber.rb
911
+ - spec/runners/unified/exceptions.rb
912
+ - spec/runners/unified/grid_fs_operations.rb
913
+ - spec/runners/unified/support_operations.rb
914
+ - spec/runners/unified/test.rb
915
+ - spec/runners/unified/test_group.rb
916
+ - spec/runners/unified/thread_operations.rb
917
+ - spec/shared/LICENSE
918
+ - spec/shared/bin/get-mongodb-download-url
919
+ - spec/shared/bin/s3-copy
920
+ - spec/shared/bin/s3-upload
921
+ - spec/shared/lib/mrss/child_process_helper.rb
922
+ - spec/shared/lib/mrss/cluster_config.rb
923
+ - spec/shared/lib/mrss/constraints.rb
924
+ - spec/shared/lib/mrss/docker_runner.rb
925
+ - spec/shared/lib/mrss/eg_config_utils.rb
926
+ - spec/shared/lib/mrss/event_subscriber.rb
927
+ - spec/shared/lib/mrss/lite_constraints.rb
928
+ - spec/shared/lib/mrss/server_version_registry.rb
929
+ - spec/shared/lib/mrss/session_registry.rb
930
+ - spec/shared/lib/mrss/session_registry_legacy.rb
931
+ - spec/shared/lib/mrss/spec_organizer.rb
932
+ - spec/shared/lib/mrss/utils.rb
933
+ - spec/shared/share/Dockerfile.erb
934
+ - spec/shared/share/haproxy-1.conf
935
+ - spec/shared/share/haproxy-2.conf
936
+ - spec/shared/shlib/config.sh
937
+ - spec/shared/shlib/distro.sh
938
+ - spec/shared/shlib/server.sh
939
+ - spec/shared/shlib/set_env.sh
940
+ - spec/solo/clean_exit_spec.rb
819
941
  - spec/spec_helper.rb
820
942
  - spec/spec_tests/auth_spec.rb
821
- - spec/spec_tests/change_streams_spec.rb
943
+ - spec/spec_tests/change_streams_unified_spec.rb
822
944
  - spec/spec_tests/client_side_encryption_spec.rb
945
+ - spec/spec_tests/client_side_encryption_unified_spec.rb
823
946
  - spec/spec_tests/cmap_spec.rb
824
- - spec/spec_tests/command_monitoring_spec.rb
947
+ - spec/spec_tests/collection_management_spec.rb
948
+ - spec/spec_tests/command_monitoring_unified_spec.rb
825
949
  - spec/spec_tests/connection_string_spec.rb
826
950
  - spec/spec_tests/crud_spec.rb
951
+ - spec/spec_tests/crud_unified_spec.rb
827
952
  - spec/spec_tests/data/auth/connection-string.yml
828
- - spec/spec_tests/data/change_streams/change-streams-errors.yml
829
- - spec/spec_tests/data/change_streams/change-streams-resume-errorLabels.yml
830
- - spec/spec_tests/data/change_streams/change-streams-resume-whitelist.yml
831
- - spec/spec_tests/data/change_streams/change-streams.yml
953
+ - spec/spec_tests/data/change_streams_unified/change-streams-clusterTime.yml
954
+ - spec/spec_tests/data/change_streams_unified/change-streams-disambiguatedPaths.yml
955
+ - spec/spec_tests/data/change_streams_unified/change-streams-errors.yml
956
+ - spec/spec_tests/data/change_streams_unified/change-streams-pre_and_post_images.yml
957
+ - spec/spec_tests/data/change_streams_unified/change-streams-resume-allowlist.yml
958
+ - spec/spec_tests/data/change_streams_unified/change-streams-resume-errorLabels.yml
959
+ - spec/spec_tests/data/change_streams_unified/change-streams-showExpandedEvents.yml
960
+ - spec/spec_tests/data/change_streams_unified/change-streams.yml
832
961
  - spec/spec_tests/data/client_side_encryption/aggregate.yml
962
+ - spec/spec_tests/data/client_side_encryption/awsTemporary.yml
963
+ - spec/spec_tests/data/client_side_encryption/azureKMS.yml
833
964
  - spec/spec_tests/data/client_side_encryption/badQueries.yml
834
965
  - spec/spec_tests/data/client_side_encryption/badSchema.yml
835
966
  - spec/spec_tests/data/client_side_encryption/basic.yml
@@ -838,6 +969,7 @@ files:
838
969
  - spec/spec_tests/data/client_side_encryption/bypassedCommand.yml
839
970
  - spec/spec_tests/data/client_side_encryption/count.yml
840
971
  - spec/spec_tests/data/client_side_encryption/countDocuments.yml
972
+ - spec/spec_tests/data/client_side_encryption/create-and-createIndexes.yml
841
973
  - spec/spec_tests/data/client_side_encryption/delete.yml
842
974
  - spec/spec_tests/data/client_side_encryption/distinct.yml
843
975
  - spec/spec_tests/data/client_side_encryption/explain.yml
@@ -845,6 +977,66 @@ files:
845
977
  - spec/spec_tests/data/client_side_encryption/findOneAndDelete.yml
846
978
  - spec/spec_tests/data/client_side_encryption/findOneAndReplace.yml
847
979
  - spec/spec_tests/data/client_side_encryption/findOneAndUpdate.yml
980
+ - spec/spec_tests/data/client_side_encryption/fle2v2-BypassQueryAnalysis.yml
981
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Compact.yml
982
+ - spec/spec_tests/data/client_side_encryption/fle2v2-CreateCollection-OldServer.yml
983
+ - spec/spec_tests/data/client_side_encryption/fle2v2-CreateCollection.yml
984
+ - spec/spec_tests/data/client_side_encryption/fle2v2-DecryptExistingData.yml
985
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Delete.yml
986
+ - spec/spec_tests/data/client_side_encryption/fle2v2-EncryptedFields-vs-EncryptedFieldsMap.yml
987
+ - spec/spec_tests/data/client_side_encryption/fle2v2-EncryptedFields-vs-jsonSchema.yml
988
+ - spec/spec_tests/data/client_side_encryption/fle2v2-EncryptedFieldsMap-defaults.yml
989
+ - spec/spec_tests/data/client_side_encryption/fle2v2-FindOneAndUpdate.yml
990
+ - spec/spec_tests/data/client_side_encryption/fle2v2-InsertFind-Indexed.yml
991
+ - spec/spec_tests/data/client_side_encryption/fle2v2-InsertFind-Unindexed.yml
992
+ - spec/spec_tests/data/client_side_encryption/fle2v2-MissingKey.yml
993
+ - spec/spec_tests/data/client_side_encryption/fle2v2-NoEncryption.yml
994
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Aggregate.yml
995
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Correctness.yml
996
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Delete.yml
997
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-FindOneAndUpdate.yml
998
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-InsertFind.yml
999
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Update.yml
1000
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Aggregate.yml
1001
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Correctness.yml
1002
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Delete.yml
1003
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-FindOneAndUpdate.yml
1004
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-InsertFind.yml
1005
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Update.yml
1006
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Aggregate.yml
1007
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Correctness.yml
1008
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Delete.yml
1009
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-FindOneAndUpdate.yml
1010
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-InsertFind.yml
1011
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Update.yml
1012
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Aggregate.yml
1013
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Correctness.yml
1014
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Delete.yml
1015
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-FindOneAndUpdate.yml
1016
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-InsertFind.yml
1017
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Update.yml
1018
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Aggregate.yml
1019
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Correctness.yml
1020
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Delete.yml
1021
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-FindOneAndUpdate.yml
1022
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-InsertFind.yml
1023
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Update.yml
1024
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Aggregate.yml
1025
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Correctness.yml
1026
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Delete.yml
1027
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-FindOneAndUpdate.yml
1028
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-InsertFind.yml
1029
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Update.yml
1030
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Aggregate.yml
1031
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Correctness.yml
1032
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Delete.yml
1033
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-FindOneAndUpdate.yml
1034
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-InsertFind.yml
1035
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Update.yml
1036
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-WrongType.yml
1037
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Update.yml
1038
+ - spec/spec_tests/data/client_side_encryption/fle2v2-validatorAndPartialFieldExpression.yml
1039
+ - spec/spec_tests/data/client_side_encryption/gcpKMS.yml
848
1040
  - spec/spec_tests/data/client_side_encryption/getMore.yml
849
1041
  - spec/spec_tests/data/client_side_encryption/insert.yml
850
1042
  - spec/spec_tests/data/client_side_encryption/keyAltName.yml
@@ -853,11 +1045,24 @@ files:
853
1045
  - spec/spec_tests/data/client_side_encryption/malformedCiphertext.yml
854
1046
  - spec/spec_tests/data/client_side_encryption/maxWireVersion.yml
855
1047
  - spec/spec_tests/data/client_side_encryption/missingKey.yml
1048
+ - spec/spec_tests/data/client_side_encryption/noSchema.yml
856
1049
  - spec/spec_tests/data/client_side_encryption/replaceOne.yml
857
1050
  - spec/spec_tests/data/client_side_encryption/types.yml
1051
+ - spec/spec_tests/data/client_side_encryption/unified/addKeyAltName.yml
1052
+ - spec/spec_tests/data/client_side_encryption/unified/createDataKey-kms_providers-invalid.yml
1053
+ - spec/spec_tests/data/client_side_encryption/unified/createDataKey.yml
1054
+ - spec/spec_tests/data/client_side_encryption/unified/deleteKey.yml
1055
+ - spec/spec_tests/data/client_side_encryption/unified/getKey.yml
1056
+ - spec/spec_tests/data/client_side_encryption/unified/getKeyByAltName.yml
1057
+ - spec/spec_tests/data/client_side_encryption/unified/getKeys.yml
1058
+ - spec/spec_tests/data/client_side_encryption/unified/removeKeyAltName.yml
1059
+ - spec/spec_tests/data/client_side_encryption/unified/rewrapManyDataKey-decrypt_failure.yml
1060
+ - spec/spec_tests/data/client_side_encryption/unified/rewrapManyDataKey-encrypt_failure.yml
1061
+ - spec/spec_tests/data/client_side_encryption/unified/rewrapManyDataKey.yml
858
1062
  - spec/spec_tests/data/client_side_encryption/unsupportedCommand.yml
859
1063
  - spec/spec_tests/data/client_side_encryption/updateMany.yml
860
1064
  - spec/spec_tests/data/client_side_encryption/updateOne.yml
1065
+ - spec/spec_tests/data/client_side_encryption/validatorAndPartialFieldExpression.yml
861
1066
  - spec/spec_tests/data/cmap/connection-must-have-id.yml
862
1067
  - spec/spec_tests/data/cmap/connection-must-order-ids.yml
863
1068
  - spec/spec_tests/data/cmap/pool-checkin-destroy-closed.yml
@@ -865,28 +1070,51 @@ files:
865
1070
  - spec/spec_tests/data/cmap/pool-checkin-make-available.yml
866
1071
  - spec/spec_tests/data/cmap/pool-checkin.yml
867
1072
  - spec/spec_tests/data/cmap/pool-checkout-connection.yml
1073
+ - spec/spec_tests/data/cmap/pool-checkout-custom-maxConnecting-is-enforced.yml
868
1074
  - spec/spec_tests/data/cmap/pool-checkout-error-closed.yml
1075
+ - spec/spec_tests/data/cmap/pool-checkout-maxConnecting-is-enforced.yml
1076
+ - spec/spec_tests/data/cmap/pool-checkout-maxConnecting-timeout.yml
1077
+ - spec/spec_tests/data/cmap/pool-checkout-minPoolSize-connection-maxConnecting.yml
869
1078
  - spec/spec_tests/data/cmap/pool-checkout-multiple.yml
870
1079
  - spec/spec_tests/data/cmap/pool-checkout-no-idle.yml
871
1080
  - spec/spec_tests/data/cmap/pool-checkout-no-stale.yml
1081
+ - spec/spec_tests/data/cmap/pool-checkout-returned-connection-maxConnecting.yml
1082
+ - spec/spec_tests/data/cmap/pool-clear-interrupt-immediately.yml
1083
+ - spec/spec_tests/data/cmap/pool-clear-interrupting-pending-connections.yml
1084
+ - spec/spec_tests/data/cmap/pool-clear-min-size.yml
1085
+ - spec/spec_tests/data/cmap/pool-clear-paused.yml
1086
+ - spec/spec_tests/data/cmap/pool-clear-ready.yml
1087
+ - spec/spec_tests/data/cmap/pool-clear-schedule-run-interruptInUseConnections-false.yml
872
1088
  - spec/spec_tests/data/cmap/pool-close-destroy-conns.yml
873
1089
  - spec/spec_tests/data/cmap/pool-close.yml
874
1090
  - spec/spec_tests/data/cmap/pool-create-max-size.yml
1091
+ - spec/spec_tests/data/cmap/pool-create-min-size-error.yml
875
1092
  - spec/spec_tests/data/cmap/pool-create-min-size.yml
876
1093
  - spec/spec_tests/data/cmap/pool-create-with-options.yml
877
1094
  - spec/spec_tests/data/cmap/pool-create.yml
1095
+ - spec/spec_tests/data/cmap/pool-ready-ready.yml
1096
+ - spec/spec_tests/data/cmap/pool-ready.yml
878
1097
  - spec/spec_tests/data/cmap/wait-queue-fairness.yml
879
1098
  - spec/spec_tests/data/cmap/wait-queue-timeout.yml
880
- - spec/spec_tests/data/command_monitoring/bulkWrite.yml
881
- - spec/spec_tests/data/command_monitoring/command.yml
882
- - spec/spec_tests/data/command_monitoring/deleteMany.yml
883
- - spec/spec_tests/data/command_monitoring/deleteOne.yml
884
- - spec/spec_tests/data/command_monitoring/find.yml
885
- - spec/spec_tests/data/command_monitoring/insertMany.yml
886
- - spec/spec_tests/data/command_monitoring/insertOne.yml
887
- - spec/spec_tests/data/command_monitoring/unacknowledgedBulkWrite.yml
888
- - spec/spec_tests/data/command_monitoring/updateMany.yml
889
- - spec/spec_tests/data/command_monitoring/updateOne.yml
1099
+ - spec/spec_tests/data/collection_management/clustered-indexes.yml
1100
+ - spec/spec_tests/data/collection_management/createCollection-pre_and_post_images.yml
1101
+ - spec/spec_tests/data/collection_management/modifyCollection-errorResponse.yml
1102
+ - spec/spec_tests/data/collection_management/modifyCollection-pre_and_post_images.yml
1103
+ - spec/spec_tests/data/collection_management/timeseries-collection.yml
1104
+ - spec/spec_tests/data/command_monitoring_unified/bulkWrite.yml
1105
+ - spec/spec_tests/data/command_monitoring_unified/command.yml
1106
+ - spec/spec_tests/data/command_monitoring_unified/deleteMany.yml
1107
+ - spec/spec_tests/data/command_monitoring_unified/deleteOne.yml
1108
+ - spec/spec_tests/data/command_monitoring_unified/find.yml
1109
+ - spec/spec_tests/data/command_monitoring_unified/insertMany.yml
1110
+ - spec/spec_tests/data/command_monitoring_unified/insertOne.yml
1111
+ - spec/spec_tests/data/command_monitoring_unified/pre-42-server-connection-id.yml
1112
+ - spec/spec_tests/data/command_monitoring_unified/redacted-commands.yml
1113
+ - spec/spec_tests/data/command_monitoring_unified/server-connection-id.yml
1114
+ - spec/spec_tests/data/command_monitoring_unified/unacknowledgedBulkWrite.yml
1115
+ - spec/spec_tests/data/command_monitoring_unified/updateMany.yml
1116
+ - spec/spec_tests/data/command_monitoring_unified/updateOne.yml
1117
+ - spec/spec_tests/data/command_monitoring_unified/writeConcernError.yml
890
1118
  - spec/spec_tests/data/connection_string/invalid-uris.yml
891
1119
  - spec/spec_tests/data/connection_string/valid-auth.yml
892
1120
  - spec/spec_tests/data/connection_string/valid-db-with-dotted-name.yml
@@ -935,81 +1163,126 @@ files:
935
1163
  - spec/spec_tests/data/crud/write/updateOne-collation.yml
936
1164
  - spec/spec_tests/data/crud/write/updateOne-pre_2.6.yml
937
1165
  - spec/spec_tests/data/crud/write/updateOne.yml
938
- - spec/spec_tests/data/crud_v2/aggregate-merge.yml
939
- - spec/spec_tests/data/crud_v2/aggregate-out-readConcern.yml
940
- - spec/spec_tests/data/crud_v2/bulkWrite-arrayFilters.yml
941
- - spec/spec_tests/data/crud_v2/bulkWrite-delete-hint-clientError.yml
942
- - spec/spec_tests/data/crud_v2/bulkWrite-delete-hint-serverError.yml
943
- - spec/spec_tests/data/crud_v2/bulkWrite-delete-hint.yml
944
- - spec/spec_tests/data/crud_v2/bulkWrite-update-hint-clientError.yml
945
- - spec/spec_tests/data/crud_v2/bulkWrite-update-hint-serverError.yml
946
- - spec/spec_tests/data/crud_v2/bulkWrite-update-hint.yml
947
- - spec/spec_tests/data/crud_v2/db-aggregate.yml
948
- - spec/spec_tests/data/crud_v2/deleteMany-hint-clientError.yml
949
- - spec/spec_tests/data/crud_v2/deleteMany-hint-serverError.yml
950
- - spec/spec_tests/data/crud_v2/deleteMany-hint.yml
951
- - spec/spec_tests/data/crud_v2/deleteOne-hint-clientError.yml
952
- - spec/spec_tests/data/crud_v2/deleteOne-hint-serverError.yml
953
- - spec/spec_tests/data/crud_v2/deleteOne-hint.yml
954
- - spec/spec_tests/data/crud_v2/find-allowdiskuse-clientError.yml
955
- - spec/spec_tests/data/crud_v2/find-allowdiskuse-serverError.yml
956
- - spec/spec_tests/data/crud_v2/find-allowdiskuse.yml
957
- - spec/spec_tests/data/crud_v2/findOneAndDelete-hint-clientError.yml
958
- - spec/spec_tests/data/crud_v2/findOneAndDelete-hint-serverError.yml
959
- - spec/spec_tests/data/crud_v2/findOneAndDelete-hint.yml
960
- - spec/spec_tests/data/crud_v2/findOneAndReplace-hint-clientError.yml
961
- - spec/spec_tests/data/crud_v2/findOneAndReplace-hint-serverError.yml
962
- - spec/spec_tests/data/crud_v2/findOneAndReplace-hint.yml
963
- - spec/spec_tests/data/crud_v2/findOneAndUpdate-hint-clientError.yml
964
- - spec/spec_tests/data/crud_v2/findOneAndUpdate-hint-serverError.yml
965
- - spec/spec_tests/data/crud_v2/findOneAndUpdate-hint.yml
966
- - spec/spec_tests/data/crud_v2/replaceOne-hint.yml
967
- - spec/spec_tests/data/crud_v2/unacknowledged-bulkWrite-delete-hint-clientError.yml
968
- - spec/spec_tests/data/crud_v2/unacknowledged-bulkWrite-update-hint-clientError.yml
969
- - spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml
970
- - spec/spec_tests/data/crud_v2/unacknowledged-deleteOne-hint-clientError.yml
971
- - spec/spec_tests/data/crud_v2/unacknowledged-findOneAndDelete-hint-clientError.yml
972
- - spec/spec_tests/data/crud_v2/unacknowledged-findOneAndReplace-hint-clientError.yml
973
- - spec/spec_tests/data/crud_v2/unacknowledged-findOneAndUpdate-hint-clientError.yml
974
- - spec/spec_tests/data/crud_v2/unacknowledged-replaceOne-hint-clientError.yml
975
- - spec/spec_tests/data/crud_v2/unacknowledged-updateMany-hint-clientError.yml
976
- - spec/spec_tests/data/crud_v2/unacknowledged-updateOne-hint-clientError.yml
977
- - spec/spec_tests/data/crud_v2/updateMany-hint-clientError.yml
978
- - spec/spec_tests/data/crud_v2/updateMany-hint-serverError.yml
979
- - spec/spec_tests/data/crud_v2/updateMany-hint.yml
980
- - spec/spec_tests/data/crud_v2/updateOne-hint-clientError.yml
981
- - spec/spec_tests/data/crud_v2/updateOne-hint-serverError.yml
982
- - spec/spec_tests/data/crud_v2/updateOne-hint.yml
983
- - spec/spec_tests/data/crud_v2/updateWithPipelines.yml
984
- - spec/spec_tests/data/dns_seedlist_discovery/direct-connection-false.yml
985
- - spec/spec_tests/data/dns_seedlist_discovery/direct-connection-true.yml
986
- - spec/spec_tests/data/dns_seedlist_discovery/longer-parent-in-return.yml
987
- - spec/spec_tests/data/dns_seedlist_discovery/misformatted-option.yml
988
- - spec/spec_tests/data/dns_seedlist_discovery/no-results.yml
989
- - spec/spec_tests/data/dns_seedlist_discovery/not-enough-parts.yml
990
- - spec/spec_tests/data/dns_seedlist_discovery/one-result-default-port.yml
991
- - spec/spec_tests/data/dns_seedlist_discovery/one-txt-record-multiple-strings.yml
992
- - spec/spec_tests/data/dns_seedlist_discovery/one-txt-record.yml
993
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch1.yml
994
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch2.yml
995
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch3.yml
996
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch4.yml
997
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch5.yml
998
- - spec/spec_tests/data/dns_seedlist_discovery/returned-parent-too-short.yml
999
- - spec/spec_tests/data/dns_seedlist_discovery/returned-parent-wrong.yml
1000
- - spec/spec_tests/data/dns_seedlist_discovery/two-results-default-port.yml
1001
- - spec/spec_tests/data/dns_seedlist_discovery/two-results-nonstandard-port.yml
1002
- - spec/spec_tests/data/dns_seedlist_discovery/two-txt-records.yml
1003
- - spec/spec_tests/data/dns_seedlist_discovery/txt-record-not-allowed-option.yml
1004
- - spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-overridden-ssl-option.yml
1005
- - spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-overridden-uri-option.yml
1006
- - spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-unallowed-option.yml
1007
- - spec/spec_tests/data/dns_seedlist_discovery/uri-with-port.yml
1008
- - spec/spec_tests/data/dns_seedlist_discovery/uri-with-two-hosts.yml
1166
+ - spec/spec_tests/data/crud_unified/aggregate-allowdiskuse.yml
1167
+ - spec/spec_tests/data/crud_unified/aggregate-let.yml
1168
+ - spec/spec_tests/data/crud_unified/aggregate-merge-errorResponse.yml
1169
+ - spec/spec_tests/data/crud_unified/aggregate-merge.yml
1170
+ - spec/spec_tests/data/crud_unified/aggregate-out-readConcern.yml
1171
+ - spec/spec_tests/data/crud_unified/aggregate-write-readPreference.yml
1172
+ - spec/spec_tests/data/crud_unified/aggregate.yml
1173
+ - spec/spec_tests/data/crud_unified/bulkWrite-arrayFilters-clientError.yml
1174
+ - spec/spec_tests/data/crud_unified/bulkWrite-arrayFilters.yml
1175
+ - spec/spec_tests/data/crud_unified/bulkWrite-comment.yml
1176
+ - spec/spec_tests/data/crud_unified/bulkWrite-delete-hint-clientError.yml
1177
+ - spec/spec_tests/data/crud_unified/bulkWrite-delete-hint-serverError.yml
1178
+ - spec/spec_tests/data/crud_unified/bulkWrite-delete-hint.yml
1179
+ - spec/spec_tests/data/crud_unified/bulkWrite-deleteMany-hint-unacknowledged.yml
1180
+ - spec/spec_tests/data/crud_unified/bulkWrite-deleteMany-let.yml
1181
+ - spec/spec_tests/data/crud_unified/bulkWrite-deleteOne-hint-unacknowledged.yml
1182
+ - spec/spec_tests/data/crud_unified/bulkWrite-deleteOne-let.yml
1183
+ - spec/spec_tests/data/crud_unified/bulkWrite-errorResponse.yml
1184
+ - spec/spec_tests/data/crud_unified/bulkWrite-insertOne-dots_and_dollars.yml
1185
+ - spec/spec_tests/data/crud_unified/bulkWrite-replaceOne-dots_and_dollars.yml
1186
+ - spec/spec_tests/data/crud_unified/bulkWrite-replaceOne-hint-unacknowledged.yml
1187
+ - spec/spec_tests/data/crud_unified/bulkWrite-replaceOne-let.yml
1188
+ - spec/spec_tests/data/crud_unified/bulkWrite-update-hint-clientError.yml
1189
+ - spec/spec_tests/data/crud_unified/bulkWrite-update-hint-serverError.yml
1190
+ - spec/spec_tests/data/crud_unified/bulkWrite-update-hint.yml
1191
+ - spec/spec_tests/data/crud_unified/bulkWrite-update-validation.yml
1192
+ - spec/spec_tests/data/crud_unified/bulkWrite-updateMany-dots_and_dollars.yml
1193
+ - spec/spec_tests/data/crud_unified/bulkWrite-updateMany-hint-unacknowledged.yml
1194
+ - spec/spec_tests/data/crud_unified/bulkWrite-updateMany-let.yml
1195
+ - spec/spec_tests/data/crud_unified/bulkWrite-updateOne-dots_and_dollars.yml
1196
+ - spec/spec_tests/data/crud_unified/bulkWrite-updateOne-hint-unacknowledged.yml
1197
+ - spec/spec_tests/data/crud_unified/bulkWrite-updateOne-let.yml
1198
+ - spec/spec_tests/data/crud_unified/countDocuments-comment.yml
1199
+ - spec/spec_tests/data/crud_unified/db-aggregate-write-readPreference.yml
1200
+ - spec/spec_tests/data/crud_unified/db-aggregate.yml
1201
+ - spec/spec_tests/data/crud_unified/deleteMany-comment.yml
1202
+ - spec/spec_tests/data/crud_unified/deleteMany-hint-clientError.yml
1203
+ - spec/spec_tests/data/crud_unified/deleteMany-hint-serverError.yml
1204
+ - spec/spec_tests/data/crud_unified/deleteMany-hint-unacknowledged.yml
1205
+ - spec/spec_tests/data/crud_unified/deleteMany-hint.yml
1206
+ - spec/spec_tests/data/crud_unified/deleteMany-let.yml
1207
+ - spec/spec_tests/data/crud_unified/deleteOne-comment.yml
1208
+ - spec/spec_tests/data/crud_unified/deleteOne-errorResponse.yml
1209
+ - spec/spec_tests/data/crud_unified/deleteOne-hint-clientError.yml
1210
+ - spec/spec_tests/data/crud_unified/deleteOne-hint-serverError.yml
1211
+ - spec/spec_tests/data/crud_unified/deleteOne-hint-unacknowledged.yml
1212
+ - spec/spec_tests/data/crud_unified/deleteOne-hint.yml
1213
+ - spec/spec_tests/data/crud_unified/deleteOne-let.yml
1214
+ - spec/spec_tests/data/crud_unified/distinct-comment.yml
1215
+ - spec/spec_tests/data/crud_unified/estimatedDocumentCount-comment.yml
1216
+ - spec/spec_tests/data/crud_unified/estimatedDocumentCount.yml
1217
+ - spec/spec_tests/data/crud_unified/find-allowdiskuse-clientError.yml
1218
+ - spec/spec_tests/data/crud_unified/find-allowdiskuse-serverError.yml
1219
+ - spec/spec_tests/data/crud_unified/find-allowdiskuse.yml
1220
+ - spec/spec_tests/data/crud_unified/find-comment.yml
1221
+ - spec/spec_tests/data/crud_unified/find-let.yml
1222
+ - spec/spec_tests/data/crud_unified/find.yml
1223
+ - spec/spec_tests/data/crud_unified/findOneAndDelete-comment.yml
1224
+ - spec/spec_tests/data/crud_unified/findOneAndDelete-hint-clientError.yml
1225
+ - spec/spec_tests/data/crud_unified/findOneAndDelete-hint-serverError.yml
1226
+ - spec/spec_tests/data/crud_unified/findOneAndDelete-hint-unacknowledged.yml
1227
+ - spec/spec_tests/data/crud_unified/findOneAndDelete-hint.yml
1228
+ - spec/spec_tests/data/crud_unified/findOneAndDelete-let.yml
1229
+ - spec/spec_tests/data/crud_unified/findOneAndReplace-comment.yml
1230
+ - spec/spec_tests/data/crud_unified/findOneAndReplace-dots_and_dollars.yml
1231
+ - spec/spec_tests/data/crud_unified/findOneAndReplace-hint-clientError.yml
1232
+ - spec/spec_tests/data/crud_unified/findOneAndReplace-hint-serverError.yml
1233
+ - spec/spec_tests/data/crud_unified/findOneAndReplace-hint-unacknowledged.yml
1234
+ - spec/spec_tests/data/crud_unified/findOneAndReplace-hint.yml
1235
+ - spec/spec_tests/data/crud_unified/findOneAndReplace-let.yml
1236
+ - spec/spec_tests/data/crud_unified/findOneAndUpdate-comment.yml
1237
+ - spec/spec_tests/data/crud_unified/findOneAndUpdate-dots_and_dollars.yml
1238
+ - spec/spec_tests/data/crud_unified/findOneAndUpdate-errorResponse.yml
1239
+ - spec/spec_tests/data/crud_unified/findOneAndUpdate-hint-clientError.yml
1240
+ - spec/spec_tests/data/crud_unified/findOneAndUpdate-hint-serverError.yml
1241
+ - spec/spec_tests/data/crud_unified/findOneAndUpdate-hint-unacknowledged.yml
1242
+ - spec/spec_tests/data/crud_unified/findOneAndUpdate-hint.yml
1243
+ - spec/spec_tests/data/crud_unified/findOneAndUpdate-let.yml
1244
+ - spec/spec_tests/data/crud_unified/insertMany-comment.yml
1245
+ - spec/spec_tests/data/crud_unified/insertMany-dots_and_dollars.yml
1246
+ - spec/spec_tests/data/crud_unified/insertOne-comment.yml
1247
+ - spec/spec_tests/data/crud_unified/insertOne-dots_and_dollars.yml
1248
+ - spec/spec_tests/data/crud_unified/insertOne-errorResponse.yml
1249
+ - spec/spec_tests/data/crud_unified/replaceOne-comment.yml
1250
+ - spec/spec_tests/data/crud_unified/replaceOne-dots_and_dollars.yml
1251
+ - spec/spec_tests/data/crud_unified/replaceOne-hint-unacknowledged.yml
1252
+ - spec/spec_tests/data/crud_unified/replaceOne-hint.yml
1253
+ - spec/spec_tests/data/crud_unified/replaceOne-let.yml
1254
+ - spec/spec_tests/data/crud_unified/replaceOne-validation.yml
1255
+ - spec/spec_tests/data/crud_unified/updateMany-comment.yml
1256
+ - spec/spec_tests/data/crud_unified/updateMany-dots_and_dollars.yml
1257
+ - spec/spec_tests/data/crud_unified/updateMany-hint-clientError.yml
1258
+ - spec/spec_tests/data/crud_unified/updateMany-hint-serverError.yml
1259
+ - spec/spec_tests/data/crud_unified/updateMany-hint-unacknowledged.yml
1260
+ - spec/spec_tests/data/crud_unified/updateMany-hint.yml
1261
+ - spec/spec_tests/data/crud_unified/updateMany-let.yml
1262
+ - spec/spec_tests/data/crud_unified/updateMany-validation.yml
1263
+ - spec/spec_tests/data/crud_unified/updateOne-comment.yml
1264
+ - spec/spec_tests/data/crud_unified/updateOne-dots_and_dollars.yml
1265
+ - spec/spec_tests/data/crud_unified/updateOne-errorResponse.yml
1266
+ - spec/spec_tests/data/crud_unified/updateOne-hint-clientError.yml
1267
+ - spec/spec_tests/data/crud_unified/updateOne-hint-serverError.yml
1268
+ - spec/spec_tests/data/crud_unified/updateOne-hint-unacknowledged.yml
1269
+ - spec/spec_tests/data/crud_unified/updateOne-hint.yml
1270
+ - spec/spec_tests/data/crud_unified/updateOne-let.yml
1271
+ - spec/spec_tests/data/crud_unified/updateOne-validation.yml
1272
+ - spec/spec_tests/data/crud_unified/updateWithPipelines.yml
1009
1273
  - spec/spec_tests/data/gridfs/delete.yml
1010
1274
  - spec/spec_tests/data/gridfs/download.yml
1011
1275
  - spec/spec_tests/data/gridfs/download_by_name.yml
1012
1276
  - spec/spec_tests/data/gridfs/upload.yml
1277
+ - spec/spec_tests/data/gridfs_unified/delete.yml
1278
+ - spec/spec_tests/data/gridfs_unified/download.yml
1279
+ - spec/spec_tests/data/gridfs_unified/downloadByName.yml
1280
+ - spec/spec_tests/data/gridfs_unified/upload-disableMD5.yml
1281
+ - spec/spec_tests/data/gridfs_unified/upload.yml
1282
+ - spec/spec_tests/data/load_balancers/event-monitoring.yml
1283
+ - spec/spec_tests/data/load_balancers/lb-connection-establishment.yml
1284
+ - spec/spec_tests/data/load_balancers/non-lb-connection-establishment.yml
1285
+ - spec/spec_tests/data/load_balancers/server-selection.yml
1013
1286
  - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/DefaultNoMaxStaleness.yml
1014
1287
  - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Incompatible.yml
1015
1288
  - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/LastUpdateTime.yml
@@ -1054,147 +1327,163 @@ files:
1054
1327
  - spec/spec_tests/data/read_write_concern/operation/default-write-concern-3.2.yml
1055
1328
  - spec/spec_tests/data/read_write_concern/operation/default-write-concern-3.4.yml
1056
1329
  - spec/spec_tests/data/read_write_concern/operation/default-write-concern-4.2.yml
1057
- - spec/spec_tests/data/retryable_reads/aggregate-merge.yml
1058
- - spec/spec_tests/data/retryable_reads/aggregate-serverErrors.yml
1059
- - spec/spec_tests/data/retryable_reads/aggregate.yml
1060
- - spec/spec_tests/data/retryable_reads/changeStreams-client.watch-serverErrors.yml
1061
- - spec/spec_tests/data/retryable_reads/changeStreams-client.watch.yml
1062
- - spec/spec_tests/data/retryable_reads/changeStreams-db.coll.watch-serverErrors.yml
1063
- - spec/spec_tests/data/retryable_reads/changeStreams-db.coll.watch.yml
1064
- - spec/spec_tests/data/retryable_reads/changeStreams-db.watch-serverErrors.yml
1065
- - spec/spec_tests/data/retryable_reads/changeStreams-db.watch.yml
1066
- - spec/spec_tests/data/retryable_reads/count-serverErrors.yml
1067
- - spec/spec_tests/data/retryable_reads/count.yml
1068
- - spec/spec_tests/data/retryable_reads/countDocuments-serverErrors.yml
1069
- - spec/spec_tests/data/retryable_reads/countDocuments.yml
1070
- - spec/spec_tests/data/retryable_reads/distinct-serverErrors.yml
1071
- - spec/spec_tests/data/retryable_reads/distinct.yml
1072
- - spec/spec_tests/data/retryable_reads/estimatedDocumentCount-serverErrors.yml
1073
- - spec/spec_tests/data/retryable_reads/estimatedDocumentCount.yml
1074
- - spec/spec_tests/data/retryable_reads/find-serverErrors.yml
1075
- - spec/spec_tests/data/retryable_reads/find.yml
1076
- - spec/spec_tests/data/retryable_reads/findOne-serverErrors.yml
1077
- - spec/spec_tests/data/retryable_reads/findOne.yml
1078
- - spec/spec_tests/data/retryable_reads/gridfs-download-serverErrors.yml
1079
- - spec/spec_tests/data/retryable_reads/gridfs-download.yml
1080
- - spec/spec_tests/data/retryable_reads/gridfs-downloadByName-serverErrors.yml
1081
- - spec/spec_tests/data/retryable_reads/gridfs-downloadByName.yml
1082
- - spec/spec_tests/data/retryable_reads/listCollectionNames-serverErrors.yml
1083
- - spec/spec_tests/data/retryable_reads/listCollectionNames.yml
1084
- - spec/spec_tests/data/retryable_reads/listCollectionObjects-serverErrors.yml
1085
- - spec/spec_tests/data/retryable_reads/listCollectionObjects.yml
1086
- - spec/spec_tests/data/retryable_reads/listCollections-serverErrors.yml
1087
- - spec/spec_tests/data/retryable_reads/listCollections.yml
1088
- - spec/spec_tests/data/retryable_reads/listDatabaseNames-serverErrors.yml
1089
- - spec/spec_tests/data/retryable_reads/listDatabaseNames.yml
1090
- - spec/spec_tests/data/retryable_reads/listDatabaseObjects-serverErrors.yml
1091
- - spec/spec_tests/data/retryable_reads/listDatabaseObjects.yml
1092
- - spec/spec_tests/data/retryable_reads/listDatabases-serverErrors.yml
1093
- - spec/spec_tests/data/retryable_reads/listDatabases.yml
1094
- - spec/spec_tests/data/retryable_reads/listIndexNames-serverErrors.yml
1095
- - spec/spec_tests/data/retryable_reads/listIndexNames.yml
1096
- - spec/spec_tests/data/retryable_reads/listIndexes-serverErrors.yml
1097
- - spec/spec_tests/data/retryable_reads/listIndexes.yml
1098
- - spec/spec_tests/data/retryable_reads/mapReduce.yml
1099
- - spec/spec_tests/data/retryable_writes/bulkWrite-errorLabels.yml
1100
- - spec/spec_tests/data/retryable_writes/bulkWrite-serverErrors.yml
1101
- - spec/spec_tests/data/retryable_writes/bulkWrite.yml
1102
- - spec/spec_tests/data/retryable_writes/deleteMany.yml
1103
- - spec/spec_tests/data/retryable_writes/deleteOne-errorLabels.yml
1104
- - spec/spec_tests/data/retryable_writes/deleteOne-serverErrors.yml
1105
- - spec/spec_tests/data/retryable_writes/deleteOne.yml
1106
- - spec/spec_tests/data/retryable_writes/findOneAndDelete-errorLabels.yml
1107
- - spec/spec_tests/data/retryable_writes/findOneAndDelete-serverErrors.yml
1108
- - spec/spec_tests/data/retryable_writes/findOneAndDelete.yml
1109
- - spec/spec_tests/data/retryable_writes/findOneAndReplace-errorLabels.yml
1110
- - spec/spec_tests/data/retryable_writes/findOneAndReplace-serverErrors.yml
1111
- - spec/spec_tests/data/retryable_writes/findOneAndReplace.yml
1112
- - spec/spec_tests/data/retryable_writes/findOneAndUpdate-errorLabels.yml
1113
- - spec/spec_tests/data/retryable_writes/findOneAndUpdate-serverErrors.yml
1114
- - spec/spec_tests/data/retryable_writes/findOneAndUpdate.yml
1115
- - spec/spec_tests/data/retryable_writes/insertMany-errorLabels.yml
1116
- - spec/spec_tests/data/retryable_writes/insertMany-serverErrors.yml
1117
- - spec/spec_tests/data/retryable_writes/insertMany.yml
1118
- - spec/spec_tests/data/retryable_writes/insertOne-errorLabels.yml
1119
- - spec/spec_tests/data/retryable_writes/insertOne-serverErrors.yml
1120
- - spec/spec_tests/data/retryable_writes/insertOne.yml
1121
- - spec/spec_tests/data/retryable_writes/replaceOne-errorLabels.yml
1122
- - spec/spec_tests/data/retryable_writes/replaceOne-serverErrors.yml
1123
- - spec/spec_tests/data/retryable_writes/replaceOne.yml
1124
- - spec/spec_tests/data/retryable_writes/updateMany.yml
1125
- - spec/spec_tests/data/retryable_writes/updateOne-errorLabels.yml
1126
- - spec/spec_tests/data/retryable_writes/updateOne-serverErrors.yml
1127
- - spec/spec_tests/data/retryable_writes/updateOne.yml
1330
+ - spec/spec_tests/data/retryable_reads/legacy/aggregate-merge.yml
1331
+ - spec/spec_tests/data/retryable_reads/legacy/aggregate-serverErrors.yml
1332
+ - spec/spec_tests/data/retryable_reads/legacy/aggregate.yml
1333
+ - spec/spec_tests/data/retryable_reads/legacy/changeStreams-client.watch-serverErrors.yml
1334
+ - spec/spec_tests/data/retryable_reads/legacy/changeStreams-client.watch.yml
1335
+ - spec/spec_tests/data/retryable_reads/legacy/changeStreams-db.coll.watch-serverErrors.yml
1336
+ - spec/spec_tests/data/retryable_reads/legacy/changeStreams-db.coll.watch.yml
1337
+ - spec/spec_tests/data/retryable_reads/legacy/changeStreams-db.watch-serverErrors.yml
1338
+ - spec/spec_tests/data/retryable_reads/legacy/changeStreams-db.watch.yml
1339
+ - spec/spec_tests/data/retryable_reads/legacy/count-serverErrors.yml
1340
+ - spec/spec_tests/data/retryable_reads/legacy/count.yml
1341
+ - spec/spec_tests/data/retryable_reads/legacy/countDocuments-serverErrors.yml
1342
+ - spec/spec_tests/data/retryable_reads/legacy/countDocuments.yml
1343
+ - spec/spec_tests/data/retryable_reads/legacy/distinct-serverErrors.yml
1344
+ - spec/spec_tests/data/retryable_reads/legacy/distinct.yml
1345
+ - spec/spec_tests/data/retryable_reads/legacy/estimatedDocumentCount-serverErrors.yml
1346
+ - spec/spec_tests/data/retryable_reads/legacy/estimatedDocumentCount.yml
1347
+ - spec/spec_tests/data/retryable_reads/legacy/find-serverErrors.yml
1348
+ - spec/spec_tests/data/retryable_reads/legacy/find.yml
1349
+ - spec/spec_tests/data/retryable_reads/legacy/findOne-serverErrors.yml
1350
+ - spec/spec_tests/data/retryable_reads/legacy/findOne.yml
1351
+ - spec/spec_tests/data/retryable_reads/legacy/gridfs-download-serverErrors.yml
1352
+ - spec/spec_tests/data/retryable_reads/legacy/gridfs-download.yml
1353
+ - spec/spec_tests/data/retryable_reads/legacy/gridfs-downloadByName-serverErrors.yml
1354
+ - spec/spec_tests/data/retryable_reads/legacy/gridfs-downloadByName.yml
1355
+ - spec/spec_tests/data/retryable_reads/legacy/listCollectionNames-serverErrors.yml
1356
+ - spec/spec_tests/data/retryable_reads/legacy/listCollectionNames.yml
1357
+ - spec/spec_tests/data/retryable_reads/legacy/listCollectionObjects-serverErrors.yml
1358
+ - spec/spec_tests/data/retryable_reads/legacy/listCollectionObjects.yml
1359
+ - spec/spec_tests/data/retryable_reads/legacy/listCollections-serverErrors.yml
1360
+ - spec/spec_tests/data/retryable_reads/legacy/listCollections.yml
1361
+ - spec/spec_tests/data/retryable_reads/legacy/listDatabaseNames-serverErrors.yml
1362
+ - spec/spec_tests/data/retryable_reads/legacy/listDatabaseNames.yml
1363
+ - spec/spec_tests/data/retryable_reads/legacy/listDatabaseObjects-serverErrors.yml
1364
+ - spec/spec_tests/data/retryable_reads/legacy/listDatabaseObjects.yml
1365
+ - spec/spec_tests/data/retryable_reads/legacy/listDatabases-serverErrors.yml
1366
+ - spec/spec_tests/data/retryable_reads/legacy/listDatabases.yml
1367
+ - spec/spec_tests/data/retryable_reads/legacy/listIndexNames-serverErrors.yml
1368
+ - spec/spec_tests/data/retryable_reads/legacy/listIndexNames.yml
1369
+ - spec/spec_tests/data/retryable_reads/legacy/listIndexes-serverErrors.yml
1370
+ - spec/spec_tests/data/retryable_reads/legacy/listIndexes.yml
1371
+ - spec/spec_tests/data/retryable_reads/legacy/mapReduce.yml
1372
+ - spec/spec_tests/data/retryable_reads/unified/handshakeError.yml
1373
+ - spec/spec_tests/data/retryable_writes/legacy/bulkWrite-errorLabels.yml
1374
+ - spec/spec_tests/data/retryable_writes/legacy/bulkWrite-serverErrors.yml
1375
+ - spec/spec_tests/data/retryable_writes/legacy/bulkWrite.yml
1376
+ - spec/spec_tests/data/retryable_writes/legacy/deleteMany.yml
1377
+ - spec/spec_tests/data/retryable_writes/legacy/deleteOne-errorLabels.yml
1378
+ - spec/spec_tests/data/retryable_writes/legacy/deleteOne-serverErrors.yml
1379
+ - spec/spec_tests/data/retryable_writes/legacy/deleteOne.yml
1380
+ - spec/spec_tests/data/retryable_writes/legacy/findOneAndDelete-errorLabels.yml
1381
+ - spec/spec_tests/data/retryable_writes/legacy/findOneAndDelete-serverErrors.yml
1382
+ - spec/spec_tests/data/retryable_writes/legacy/findOneAndDelete.yml
1383
+ - spec/spec_tests/data/retryable_writes/legacy/findOneAndReplace-errorLabels.yml
1384
+ - spec/spec_tests/data/retryable_writes/legacy/findOneAndReplace-serverErrors.yml
1385
+ - spec/spec_tests/data/retryable_writes/legacy/findOneAndReplace.yml
1386
+ - spec/spec_tests/data/retryable_writes/legacy/findOneAndUpdate-errorLabels.yml
1387
+ - spec/spec_tests/data/retryable_writes/legacy/findOneAndUpdate-serverErrors.yml
1388
+ - spec/spec_tests/data/retryable_writes/legacy/findOneAndUpdate.yml
1389
+ - spec/spec_tests/data/retryable_writes/legacy/insertMany-errorLabels.yml
1390
+ - spec/spec_tests/data/retryable_writes/legacy/insertMany-serverErrors.yml
1391
+ - spec/spec_tests/data/retryable_writes/legacy/insertMany.yml
1392
+ - spec/spec_tests/data/retryable_writes/legacy/insertOne-errorLabels.yml
1393
+ - spec/spec_tests/data/retryable_writes/legacy/insertOne-serverErrors.yml
1394
+ - spec/spec_tests/data/retryable_writes/legacy/insertOne.yml
1395
+ - spec/spec_tests/data/retryable_writes/legacy/replaceOne-errorLabels.yml
1396
+ - spec/spec_tests/data/retryable_writes/legacy/replaceOne-serverErrors.yml
1397
+ - spec/spec_tests/data/retryable_writes/legacy/replaceOne.yml
1398
+ - spec/spec_tests/data/retryable_writes/legacy/updateMany.yml
1399
+ - spec/spec_tests/data/retryable_writes/legacy/updateOne-errorLabels.yml
1400
+ - spec/spec_tests/data/retryable_writes/legacy/updateOne-serverErrors.yml
1401
+ - spec/spec_tests/data/retryable_writes/legacy/updateOne.yml
1402
+ - spec/spec_tests/data/retryable_writes/unified/bulkWrite-serverErrors.yml
1403
+ - spec/spec_tests/data/retryable_writes/unified/handshakeError.yml
1404
+ - spec/spec_tests/data/retryable_writes/unified/insertOne-noWritesPerformedError.yml
1405
+ - spec/spec_tests/data/retryable_writes/unified/insertOne-serverErrors.yml
1128
1406
  - spec/spec_tests/data/sdam/errors/error_handling_handshake.yml
1129
1407
  - spec/spec_tests/data/sdam/errors/non-stale-network-error.yml
1130
1408
  - spec/spec_tests/data/sdam/errors/non-stale-network-timeout-error.yml
1131
1409
  - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-InterruptedAtShutdown.yml
1132
1410
  - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-InterruptedDueToReplStateChange.yml
1133
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotMaster.yml
1134
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotMasterNoSlaveOk.yml
1135
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotMasterOrSecondary.yml
1411
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-LegacyNotPrimary.yml
1412
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotPrimaryNoSecondaryOk.yml
1413
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotPrimaryOrSecondary.yml
1414
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotWritablePrimary.yml
1136
1415
  - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-PrimarySteppedDown.yml
1137
1416
  - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-ShutdownInProgress.yml
1138
1417
  - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-InterruptedAtShutdown.yml
1139
1418
  - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-InterruptedDueToReplStateChange.yml
1140
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotMaster.yml
1141
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotMasterNoSlaveOk.yml
1142
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotMasterOrSecondary.yml
1419
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-LegacyNotPrimary.yml
1420
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotPrimaryNoSecondaryOk.yml
1421
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotPrimaryOrSecondary.yml
1422
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotWritablePrimary.yml
1143
1423
  - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-PrimarySteppedDown.yml
1144
1424
  - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-ShutdownInProgress.yml
1145
1425
  - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-InterruptedAtShutdown.yml
1146
1426
  - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-InterruptedDueToReplStateChange.yml
1147
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotMaster.yml
1148
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotMasterNoSlaveOk.yml
1149
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotMasterOrSecondary.yml
1427
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-LegacyNotPrimary.yml
1428
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotPrimaryNoSecondaryOk.yml
1429
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotPrimaryOrSecondary.yml
1430
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotWritablePrimary.yml
1150
1431
  - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-PrimarySteppedDown.yml
1151
1432
  - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-ShutdownInProgress.yml
1152
1433
  - spec/spec_tests/data/sdam/errors/post-42-InterruptedAtShutdown.yml
1153
1434
  - spec/spec_tests/data/sdam/errors/post-42-InterruptedDueToReplStateChange.yml
1154
- - spec/spec_tests/data/sdam/errors/post-42-NotMaster.yml
1155
- - spec/spec_tests/data/sdam/errors/post-42-NotMasterNoSlaveOk.yml
1156
- - spec/spec_tests/data/sdam/errors/post-42-NotMasterOrSecondary.yml
1435
+ - spec/spec_tests/data/sdam/errors/post-42-LegacyNotPrimary.yml
1436
+ - spec/spec_tests/data/sdam/errors/post-42-NotPrimaryNoSecondaryOk.yml
1437
+ - spec/spec_tests/data/sdam/errors/post-42-NotPrimaryOrSecondary.yml
1438
+ - spec/spec_tests/data/sdam/errors/post-42-NotWritablePrimary.yml
1157
1439
  - spec/spec_tests/data/sdam/errors/post-42-PrimarySteppedDown.yml
1158
1440
  - spec/spec_tests/data/sdam/errors/post-42-ShutdownInProgress.yml
1159
1441
  - spec/spec_tests/data/sdam/errors/pre-42-InterruptedAtShutdown.yml
1160
1442
  - spec/spec_tests/data/sdam/errors/pre-42-InterruptedDueToReplStateChange.yml
1161
- - spec/spec_tests/data/sdam/errors/pre-42-NotMaster.yml
1162
- - spec/spec_tests/data/sdam/errors/pre-42-NotMasterNoSlaveOk.yml
1163
- - spec/spec_tests/data/sdam/errors/pre-42-NotMasterOrSecondary.yml
1443
+ - spec/spec_tests/data/sdam/errors/pre-42-LegacyNotPrimary.yml
1444
+ - spec/spec_tests/data/sdam/errors/pre-42-NotPrimaryNoSecondaryOk.yml
1445
+ - spec/spec_tests/data/sdam/errors/pre-42-NotPrimaryOrSecondary.yml
1446
+ - spec/spec_tests/data/sdam/errors/pre-42-NotWritablePrimary.yml
1164
1447
  - spec/spec_tests/data/sdam/errors/pre-42-PrimarySteppedDown.yml
1165
1448
  - spec/spec_tests/data/sdam/errors/pre-42-ShutdownInProgress.yml
1449
+ - spec/spec_tests/data/sdam/errors/prefer-error-code.yml
1166
1450
  - spec/spec_tests/data/sdam/errors/stale-generation-InterruptedAtShutdown.yml
1167
1451
  - spec/spec_tests/data/sdam/errors/stale-generation-InterruptedDueToReplStateChange.yml
1168
- - spec/spec_tests/data/sdam/errors/stale-generation-NotMaster.yml
1169
- - spec/spec_tests/data/sdam/errors/stale-generation-NotMasterNoSlaveOk.yml
1170
- - spec/spec_tests/data/sdam/errors/stale-generation-NotMasterOrSecondary.yml
1452
+ - spec/spec_tests/data/sdam/errors/stale-generation-NotPrimaryNoSecondaryOk.yml
1453
+ - spec/spec_tests/data/sdam/errors/stale-generation-NotPrimaryOrSecondary.yml
1454
+ - spec/spec_tests/data/sdam/errors/stale-generation-NotWritablePrimary.yml
1171
1455
  - spec/spec_tests/data/sdam/errors/stale-generation-PrimarySteppedDown.yml
1172
1456
  - spec/spec_tests/data/sdam/errors/stale-generation-ShutdownInProgress.yml
1173
1457
  - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-InterruptedAtShutdown.yml
1174
1458
  - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-InterruptedDueToReplStateChange.yml
1175
- - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotMaster.yml
1176
- - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotMasterNoSlaveOk.yml
1177
- - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotMasterOrSecondary.yml
1459
+ - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-LegacyNotPrimary.yml
1460
+ - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotPrimaryNoSecondaryOk.yml
1461
+ - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotPrimaryOrSecondary.yml
1462
+ - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotWritablePrimary.yml
1178
1463
  - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-PrimarySteppedDown.yml
1179
1464
  - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-ShutdownInProgress.yml
1180
1465
  - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-network.yml
1181
1466
  - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-timeout.yml
1182
1467
  - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-InterruptedAtShutdown.yml
1183
1468
  - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-InterruptedDueToReplStateChange.yml
1184
- - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotMaster.yml
1185
- - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotMasterNoSlaveOk.yml
1186
- - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotMasterOrSecondary.yml
1469
+ - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-LegacyNotPrimary.yml
1470
+ - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotPrimaryNoSecondaryOk.yml
1471
+ - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotPrimaryOrSecondary.yml
1472
+ - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotWritablePrimary.yml
1187
1473
  - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-PrimarySteppedDown.yml
1188
1474
  - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-ShutdownInProgress.yml
1189
1475
  - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-network.yml
1190
1476
  - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-timeout.yml
1191
1477
  - spec/spec_tests/data/sdam/errors/stale-topologyVersion-InterruptedAtShutdown.yml
1192
1478
  - spec/spec_tests/data/sdam/errors/stale-topologyVersion-InterruptedDueToReplStateChange.yml
1193
- - spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotMaster.yml
1194
- - spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotMasterNoSlaveOk.yml
1195
- - spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotMasterOrSecondary.yml
1479
+ - spec/spec_tests/data/sdam/errors/stale-topologyVersion-LegacyNotPrimary.yml
1480
+ - spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotPrimaryNoSecondaryOk.yml
1481
+ - spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotPrimaryOrSecondary.yml
1482
+ - spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotWritablePrimary.yml
1196
1483
  - spec/spec_tests/data/sdam/errors/stale-topologyVersion-PrimarySteppedDown.yml
1197
1484
  - spec/spec_tests/data/sdam/errors/stale-topologyVersion-ShutdownInProgress.yml
1485
+ - spec/spec_tests/data/sdam/errors/write_errors_ignored.yml
1486
+ - spec/spec_tests/data/sdam/load-balanced/discover_load_balancer.yml
1198
1487
  - spec/spec_tests/data/sdam/rs/compatible.yml
1199
1488
  - spec/spec_tests/data/sdam/rs/compatible_unknown.yml
1200
1489
  - spec/spec_tests/data/sdam/rs/discover_arbiters.yml
@@ -1212,6 +1501,7 @@ files:
1212
1501
  - spec/spec_tests/data/sdam/rs/discover_secondary.yml
1213
1502
  - spec/spec_tests/data/sdam/rs/discover_secondary_replicaset.yml
1214
1503
  - spec/spec_tests/data/sdam/rs/discovery.yml
1504
+ - spec/spec_tests/data/sdam/rs/electionId_precedence_setVersion.yml
1215
1505
  - spec/spec_tests/data/sdam/rs/equal_electionids.yml
1216
1506
  - spec/spec_tests/data/sdam/rs/hosts_differ_from_seeds.yml
1217
1507
  - spec/spec_tests/data/sdam/rs/incompatible_arbiter.yml
@@ -1227,6 +1517,7 @@ files:
1227
1517
  - spec/spec_tests/data/sdam/rs/non_rs_member.yml
1228
1518
  - spec/spec_tests/data/sdam/rs/normalize_case.yml
1229
1519
  - spec/spec_tests/data/sdam/rs/normalize_case_me.yml
1520
+ - spec/spec_tests/data/sdam/rs/null_election_id-pre-6.0.yml
1230
1521
  - spec/spec_tests/data/sdam/rs/null_election_id.yml
1231
1522
  - spec/spec_tests/data/sdam/rs/primary_becomes_ghost.yml
1232
1523
  - spec/spec_tests/data/sdam/rs/primary_becomes_mongos.yml
@@ -1247,10 +1538,15 @@ files:
1247
1538
  - spec/spec_tests/data/sdam/rs/ruby_primary_address_change.yml
1248
1539
  - spec/spec_tests/data/sdam/rs/ruby_secondary_wrong_set_name_with_primary_second.yml
1249
1540
  - spec/spec_tests/data/sdam/rs/sec_not_auth.yml
1541
+ - spec/spec_tests/data/sdam/rs/secondary_ignore_ok_0-pre-6.0.yml
1250
1542
  - spec/spec_tests/data/sdam/rs/secondary_ignore_ok_0.yml
1251
1543
  - spec/spec_tests/data/sdam/rs/secondary_mismatched_me.yml
1252
1544
  - spec/spec_tests/data/sdam/rs/secondary_wrong_set_name.yml
1253
1545
  - spec/spec_tests/data/sdam/rs/secondary_wrong_set_name_with_primary.yml
1546
+ - spec/spec_tests/data/sdam/rs/set_version_can_rollback.yml
1547
+ - spec/spec_tests/data/sdam/rs/setversion_equal_max_without_electionid.yml
1548
+ - spec/spec_tests/data/sdam/rs/setversion_greaterthan_max_without_electionid.yml
1549
+ - spec/spec_tests/data/sdam/rs/setversion_without_electionid-pre-6.0.yml
1254
1550
  - spec/spec_tests/data/sdam/rs/setversion_without_electionid.yml
1255
1551
  - spec/spec_tests/data/sdam/rs/stepdown_change_set_name.yml
1256
1552
  - spec/spec_tests/data/sdam/rs/too_new.yml
@@ -1259,6 +1555,7 @@ files:
1259
1555
  - spec/spec_tests/data/sdam/rs/topology_version_greater.yml
1260
1556
  - spec/spec_tests/data/sdam/rs/topology_version_less.yml
1261
1557
  - spec/spec_tests/data/sdam/rs/unexpected_mongos.yml
1558
+ - spec/spec_tests/data/sdam/rs/use_setversion_without_electionid-pre-6.0.yml
1262
1559
  - spec/spec_tests/data/sdam/rs/use_setversion_without_electionid.yml
1263
1560
  - spec/spec_tests/data/sdam/rs/wrong_set_name.yml
1264
1561
  - spec/spec_tests/data/sdam/sharded/compatible.yml
@@ -1279,7 +1576,6 @@ files:
1279
1576
  - spec/spec_tests/data/sdam/single/direct_connection_rsarbiter.yml
1280
1577
  - spec/spec_tests/data/sdam/single/direct_connection_rsprimary.yml
1281
1578
  - spec/spec_tests/data/sdam/single/direct_connection_rssecondary.yml
1282
- - spec/spec_tests/data/sdam/single/direct_connection_slave.yml
1283
1579
  - spec/spec_tests/data/sdam/single/direct_connection_standalone.yml
1284
1580
  - spec/spec_tests/data/sdam/single/direct_connection_unavailable_seed.yml
1285
1581
  - spec/spec_tests/data/sdam/single/direct_connection_wrong_set_name.yml
@@ -1290,20 +1586,12 @@ files:
1290
1586
  - spec/spec_tests/data/sdam/single/ruby_primary_different_address.yml
1291
1587
  - spec/spec_tests/data/sdam/single/ruby_primary_mismatched_me.yml
1292
1588
  - spec/spec_tests/data/sdam/single/standalone_removed.yml
1589
+ - spec/spec_tests/data/sdam/single/standalone_using_legacy_hello.yml
1293
1590
  - spec/spec_tests/data/sdam/single/too_new.yml
1294
1591
  - spec/spec_tests/data/sdam/single/too_old.yml
1295
1592
  - spec/spec_tests/data/sdam/single/too_old_then_upgraded.yml
1296
- - spec/spec_tests/data/sdam_integration/cancel-server-check.yml
1297
- - spec/spec_tests/data/sdam_integration/connectTimeoutMS.yml
1298
- - spec/spec_tests/data/sdam_integration/find-network-error.yml
1299
- - spec/spec_tests/data/sdam_integration/find-shutdown-error.yml
1300
- - spec/spec_tests/data/sdam_integration/insert-network-error.yml
1301
- - spec/spec_tests/data/sdam_integration/insert-shutdown-error.yml
1302
- - spec/spec_tests/data/sdam_integration/isMaster-command-error.yml
1303
- - spec/spec_tests/data/sdam_integration/isMaster-network-error.yml
1304
- - spec/spec_tests/data/sdam_integration/isMaster-timeout.yml
1305
- - spec/spec_tests/data/sdam_integration/rediscover-quickly-after-step-down.yml
1306
1593
  - spec/spec_tests/data/sdam_monitoring/discovered_standalone.yml
1594
+ - spec/spec_tests/data/sdam_monitoring/load_balancer.yml
1307
1595
  - spec/spec_tests/data/sdam_monitoring/replica_set_other_chain.yml
1308
1596
  - spec/spec_tests/data/sdam_monitoring/replica_set_other_change.yml
1309
1597
  - spec/spec_tests/data/sdam_monitoring/replica_set_primary_address_change.yml
@@ -1319,6 +1607,75 @@ files:
1319
1607
  - spec/spec_tests/data/sdam_monitoring/standalone_repeated.yml
1320
1608
  - spec/spec_tests/data/sdam_monitoring/standalone_suppress_equal_description_changes.yml
1321
1609
  - spec/spec_tests/data/sdam_monitoring/standalone_to_rs_with_me_mismatch.yml
1610
+ - spec/spec_tests/data/sdam_unified/auth-error.yml
1611
+ - spec/spec_tests/data/sdam_unified/auth-misc-command-error.yml
1612
+ - spec/spec_tests/data/sdam_unified/auth-network-error.yml
1613
+ - spec/spec_tests/data/sdam_unified/auth-network-timeout-error.yml
1614
+ - spec/spec_tests/data/sdam_unified/auth-shutdown-error.yml
1615
+ - spec/spec_tests/data/sdam_unified/cancel-server-check.yml
1616
+ - spec/spec_tests/data/sdam_unified/connectTimeoutMS.yml
1617
+ - spec/spec_tests/data/sdam_unified/find-network-error.yml
1618
+ - spec/spec_tests/data/sdam_unified/find-network-timeout-error.yml
1619
+ - spec/spec_tests/data/sdam_unified/find-shutdown-error.yml
1620
+ - spec/spec_tests/data/sdam_unified/hello-command-error.yml
1621
+ - spec/spec_tests/data/sdam_unified/hello-network-error.yml
1622
+ - spec/spec_tests/data/sdam_unified/hello-timeout.yml
1623
+ - spec/spec_tests/data/sdam_unified/insert-network-error.yml
1624
+ - spec/spec_tests/data/sdam_unified/insert-shutdown-error.yml
1625
+ - spec/spec_tests/data/sdam_unified/interruptInUse-pool-clear.yml
1626
+ - spec/spec_tests/data/sdam_unified/minPoolSize-error.yml
1627
+ - spec/spec_tests/data/sdam_unified/pool-cleared-error.yml
1628
+ - spec/spec_tests/data/sdam_unified/rediscover-quickly-after-step-down.yml
1629
+ - spec/spec_tests/data/seed_list_discovery/load-balanced/loadBalanced-directConnection.yml
1630
+ - spec/spec_tests/data/seed_list_discovery/load-balanced/loadBalanced-no-results.yml
1631
+ - spec/spec_tests/data/seed_list_discovery/load-balanced/loadBalanced-replicaSet-errors.yml
1632
+ - spec/spec_tests/data/seed_list_discovery/load-balanced/loadBalanced-true-multiple-hosts.yml
1633
+ - spec/spec_tests/data/seed_list_discovery/load-balanced/loadBalanced-true-txt.yml
1634
+ - spec/spec_tests/data/seed_list_discovery/load-balanced/srvMaxHosts-conflicts_with_loadBalanced-true-txt.yml
1635
+ - spec/spec_tests/data/seed_list_discovery/load-balanced/srvMaxHosts-conflicts_with_loadBalanced-true.yml
1636
+ - spec/spec_tests/data/seed_list_discovery/load-balanced/srvMaxHosts-zero-txt.yml
1637
+ - spec/spec_tests/data/seed_list_discovery/load-balanced/srvMaxHosts-zero.yml
1638
+ - spec/spec_tests/data/seed_list_discovery/replica-set/direct-connection-false.yml
1639
+ - spec/spec_tests/data/seed_list_discovery/replica-set/direct-connection-true.yml
1640
+ - spec/spec_tests/data/seed_list_discovery/replica-set/encoded-userinfo-and-db.yml
1641
+ - spec/spec_tests/data/seed_list_discovery/replica-set/loadBalanced-false-txt.yml
1642
+ - spec/spec_tests/data/seed_list_discovery/replica-set/longer-parent-in-return.yml
1643
+ - spec/spec_tests/data/seed_list_discovery/replica-set/misformatted-option.yml
1644
+ - spec/spec_tests/data/seed_list_discovery/replica-set/no-results.yml
1645
+ - spec/spec_tests/data/seed_list_discovery/replica-set/not-enough-parts.yml
1646
+ - spec/spec_tests/data/seed_list_discovery/replica-set/one-result-default-port.yml
1647
+ - spec/spec_tests/data/seed_list_discovery/replica-set/one-txt-record-multiple-strings.yml
1648
+ - spec/spec_tests/data/seed_list_discovery/replica-set/one-txt-record.yml
1649
+ - spec/spec_tests/data/seed_list_discovery/replica-set/parent-part-mismatch1.yml
1650
+ - spec/spec_tests/data/seed_list_discovery/replica-set/parent-part-mismatch2.yml
1651
+ - spec/spec_tests/data/seed_list_discovery/replica-set/parent-part-mismatch3.yml
1652
+ - spec/spec_tests/data/seed_list_discovery/replica-set/parent-part-mismatch4.yml
1653
+ - spec/spec_tests/data/seed_list_discovery/replica-set/parent-part-mismatch5.yml
1654
+ - spec/spec_tests/data/seed_list_discovery/replica-set/returned-parent-too-short.yml
1655
+ - spec/spec_tests/data/seed_list_discovery/replica-set/returned-parent-wrong.yml
1656
+ - spec/spec_tests/data/seed_list_discovery/replica-set/srv-service-name.yml
1657
+ - spec/spec_tests/data/seed_list_discovery/replica-set/srvMaxHosts-conflicts_with_replicaSet-txt.yml
1658
+ - spec/spec_tests/data/seed_list_discovery/replica-set/srvMaxHosts-conflicts_with_replicaSet.yml
1659
+ - spec/spec_tests/data/seed_list_discovery/replica-set/srvMaxHosts-equal_to_srv_records.yml
1660
+ - spec/spec_tests/data/seed_list_discovery/replica-set/srvMaxHosts-greater_than_srv_records.yml
1661
+ - spec/spec_tests/data/seed_list_discovery/replica-set/srvMaxHosts-less_than_srv_records.yml
1662
+ - spec/spec_tests/data/seed_list_discovery/replica-set/srvMaxHosts-zero-txt.yml
1663
+ - spec/spec_tests/data/seed_list_discovery/replica-set/srvMaxHosts-zero.yml
1664
+ - spec/spec_tests/data/seed_list_discovery/replica-set/two-results-default-port.yml
1665
+ - spec/spec_tests/data/seed_list_discovery/replica-set/two-results-nonstandard-port.yml
1666
+ - spec/spec_tests/data/seed_list_discovery/replica-set/two-txt-records.yml
1667
+ - spec/spec_tests/data/seed_list_discovery/replica-set/txt-record-not-allowed-option.yml
1668
+ - spec/spec_tests/data/seed_list_discovery/replica-set/txt-record-with-overridden-ssl-option.yml
1669
+ - spec/spec_tests/data/seed_list_discovery/replica-set/txt-record-with-overridden-uri-option.yml
1670
+ - spec/spec_tests/data/seed_list_discovery/replica-set/txt-record-with-unallowed-option.yml
1671
+ - spec/spec_tests/data/seed_list_discovery/replica-set/uri-with-admin-database.yml
1672
+ - spec/spec_tests/data/seed_list_discovery/replica-set/uri-with-auth.yml
1673
+ - spec/spec_tests/data/seed_list_discovery/replica-set/uri-with-port.yml
1674
+ - spec/spec_tests/data/seed_list_discovery/replica-set/uri-with-two-hosts.yml
1675
+ - spec/spec_tests/data/seed_list_discovery/sharded/srvMaxHosts-equal_to_srv_records.yml
1676
+ - spec/spec_tests/data/seed_list_discovery/sharded/srvMaxHosts-greater_than_srv_records.yml
1677
+ - spec/spec_tests/data/seed_list_discovery/sharded/srvMaxHosts-less_than_srv_records.yml
1678
+ - spec/spec_tests/data/seed_list_discovery/sharded/srvMaxHosts-zero.yml
1322
1679
  - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest.yml
1323
1680
  - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest_multiple.yml
1324
1681
  - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest_non_matching.yml
@@ -1351,6 +1708,8 @@ files:
1351
1708
  - spec/spec_tests/data/server_selection/Sharded/read/SecondaryPreferred.yml
1352
1709
  - spec/spec_tests/data/server_selection/Single/read/SecondaryPreferred.yml
1353
1710
  - spec/spec_tests/data/server_selection/Unknown/read/SecondaryPreferred.yml
1711
+ - spec/spec_tests/data/server_selection/Unknown/read/ghost.yml
1712
+ - spec/spec_tests/data/server_selection/Unknown/write/ghost.yml
1354
1713
  - spec/spec_tests/data/server_selection_rtt/first_value.yml
1355
1714
  - spec/spec_tests/data/server_selection_rtt/first_value_zero.yml
1356
1715
  - spec/spec_tests/data/server_selection_rtt/value_test_1.yml
@@ -1358,6 +1717,12 @@ files:
1358
1717
  - spec/spec_tests/data/server_selection_rtt/value_test_3.yml
1359
1718
  - spec/spec_tests/data/server_selection_rtt/value_test_4.yml
1360
1719
  - spec/spec_tests/data/server_selection_rtt/value_test_5.yml
1720
+ - spec/spec_tests/data/sessions_unified/driver-sessions-server-support.yml
1721
+ - spec/spec_tests/data/sessions_unified/implicit-sessions-default-causal-consistency.yml
1722
+ - spec/spec_tests/data/sessions_unified/snapshot-sessions-not-supported-client-error.yml
1723
+ - spec/spec_tests/data/sessions_unified/snapshot-sessions-not-supported-server-error.yml
1724
+ - spec/spec_tests/data/sessions_unified/snapshot-sessions-unsupported-ops.yml
1725
+ - spec/spec_tests/data/sessions_unified/snapshot-sessions.yml
1361
1726
  - spec/spec_tests/data/transactions/abort.yml
1362
1727
  - spec/spec_tests/data/transactions/bulk.yml
1363
1728
  - spec/spec_tests/data/transactions/causal-consistency.yml
@@ -1399,6 +1764,35 @@ files:
1399
1764
  - spec/spec_tests/data/transactions_api/commit-writeconcernerror.yml
1400
1765
  - spec/spec_tests/data/transactions_api/commit.yml
1401
1766
  - spec/spec_tests/data/transactions_api/transaction-options.yml
1767
+ - spec/spec_tests/data/transactions_unified/do-not-retry-read-in-transaction.yml
1768
+ - spec/spec_tests/data/transactions_unified/mongos-unpin.yml
1769
+ - spec/spec_tests/data/transactions_unified/retryable-abort-handshake.yml
1770
+ - spec/spec_tests/data/transactions_unified/retryable-commit-handshake.yml
1771
+ - spec/spec_tests/data/unified/valid-fail/entity-findCursor-malformed.yml
1772
+ - spec/spec_tests/data/unified/valid-fail/entity-findCursor.yml
1773
+ - spec/spec_tests/data/unified/valid-fail/ignoreResultAndError-malformed.yml
1774
+ - spec/spec_tests/data/unified/valid-fail/ignoreResultAndError.yml
1775
+ - spec/spec_tests/data/unified/valid-fail/operation-failure.yml
1776
+ - spec/spec_tests/data/unified/valid-fail/operation-unsupported.yml
1777
+ - spec/spec_tests/data/unified/valid-pass/assertNumberConnectionsCheckedOut.yml
1778
+ - spec/spec_tests/data/unified/valid-pass/collectionData-createOptions.yml
1779
+ - spec/spec_tests/data/unified/valid-pass/entity-client-cmap-events.yml
1780
+ - spec/spec_tests/data/unified/valid-pass/entity-client-storeEventsAsEntities.yml
1781
+ - spec/spec_tests/data/unified/valid-pass/expectedError-errorResponse.yml
1782
+ - spec/spec_tests/data/unified/valid-pass/expectedEventsForClient-eventType.yml
1783
+ - spec/spec_tests/data/unified/valid-pass/expectedEventsForClient-ignoreExtraEvents.yml
1784
+ - spec/spec_tests/data/unified/valid-pass/ignoreResultAndError.yml
1785
+ - spec/spec_tests/data/unified/valid-pass/observeSensitiveCommands.yml
1786
+ - spec/spec_tests/data/unified/valid-pass/poc-change-streams.yml
1787
+ - spec/spec_tests/data/unified/valid-pass/poc-command-monitoring.yml
1788
+ - spec/spec_tests/data/unified/valid-pass/poc-crud.yml
1789
+ - spec/spec_tests/data/unified/valid-pass/poc-gridfs.yml
1790
+ - spec/spec_tests/data/unified/valid-pass/poc-retryable-reads.yml
1791
+ - spec/spec_tests/data/unified/valid-pass/poc-retryable-writes.yml
1792
+ - spec/spec_tests/data/unified/valid-pass/poc-sessions.yml
1793
+ - spec/spec_tests/data/unified/valid-pass/poc-transactions-convenient-api.yml
1794
+ - spec/spec_tests/data/unified/valid-pass/poc-transactions-mongos-pin-auto.yml
1795
+ - spec/spec_tests/data/unified/valid-pass/poc-transactions.yml
1402
1796
  - spec/spec_tests/data/uri_options/auth-options.yml
1403
1797
  - spec/spec_tests/data/uri_options/compression-options.yml
1404
1798
  - spec/spec_tests/data/uri_options/concern-options.yml
@@ -1407,27 +1801,43 @@ files:
1407
1801
  - spec/spec_tests/data/uri_options/read-preference-options.yml
1408
1802
  - spec/spec_tests/data/uri_options/ruby-auth-options.yml
1409
1803
  - spec/spec_tests/data/uri_options/ruby-connection-options.yml
1804
+ - spec/spec_tests/data/uri_options/srv-options.yml
1410
1805
  - spec/spec_tests/data/uri_options/tls-options.yml
1411
- - spec/spec_tests/dns_seedlist_discovery_spec.rb
1806
+ - spec/spec_tests/data/versioned_api/crud-api-version-1-strict.yml
1807
+ - spec/spec_tests/data/versioned_api/crud-api-version-1.yml
1808
+ - spec/spec_tests/data/versioned_api/runcommand-helper-no-api-version-declared.yml
1809
+ - spec/spec_tests/data/versioned_api/test-commands-deprecation-errors.yml
1810
+ - spec/spec_tests/data/versioned_api/test-commands-strict-mode.yml
1811
+ - spec/spec_tests/data/versioned_api/transaction-handling.yml
1412
1812
  - spec/spec_tests/gridfs_spec.rb
1813
+ - spec/spec_tests/gridfs_unified_spec.rb
1814
+ - spec/spec_tests/load_balancers_spec.rb
1413
1815
  - spec/spec_tests/max_staleness_spec.rb
1414
1816
  - spec/spec_tests/read_write_concern_connection_string_spec.rb
1415
1817
  - spec/spec_tests/read_write_concern_document_spec.rb
1416
1818
  - spec/spec_tests/read_write_concern_operaton_spec.rb
1417
1819
  - spec/spec_tests/retryable_reads_spec.rb
1820
+ - spec/spec_tests/retryable_reads_unified_spec.rb
1418
1821
  - spec/spec_tests/retryable_writes_spec.rb
1419
- - spec/spec_tests/sdam_integration_spec.rb
1822
+ - spec/spec_tests/retryable_writes_unified_spec.rb
1420
1823
  - spec/spec_tests/sdam_monitoring_spec.rb
1421
1824
  - spec/spec_tests/sdam_spec.rb
1825
+ - spec/spec_tests/sdam_unified_spec.rb
1826
+ - spec/spec_tests/seed_list_discovery_spec.rb
1422
1827
  - spec/spec_tests/server_selection_rtt_spec.rb
1423
1828
  - spec/spec_tests/server_selection_spec.rb
1829
+ - spec/spec_tests/sessions_unified_spec.rb
1424
1830
  - spec/spec_tests/transactions_api_spec.rb
1425
1831
  - spec/spec_tests/transactions_spec.rb
1832
+ - spec/spec_tests/transactions_unified_spec.rb
1833
+ - spec/spec_tests/unified_spec.rb
1426
1834
  - spec/spec_tests/uri_options_spec.rb
1835
+ - spec/spec_tests/versioned_api_spec.rb
1427
1836
  - spec/stress/cleanup_spec.rb
1428
1837
  - spec/stress/connection_pool_stress_spec.rb
1429
1838
  - spec/stress/connection_pool_timing_spec.rb
1430
1839
  - spec/stress/fork_reconnect_stress_spec.rb
1840
+ - spec/stress/push_monitor_close_spec.rb
1431
1841
  - spec/support/authorization.rb
1432
1842
  - spec/support/aws_utils.rb
1433
1843
  - spec/support/aws_utils/base.rb
@@ -1436,6 +1846,8 @@ files:
1436
1846
  - spec/support/aws_utils/provisioner.rb
1437
1847
  - spec/support/background_thread_registry.rb
1438
1848
  - spec/support/certificates/README.md
1849
+ - spec/support/certificates/atlas-ocsp-ca.crt
1850
+ - spec/support/certificates/atlas-ocsp.crt
1439
1851
  - spec/support/certificates/ca.crt
1440
1852
  - spec/support/certificates/client-encrypted.key
1441
1853
  - spec/support/certificates/client-int.crt
@@ -1453,62 +1865,85 @@ files:
1453
1865
  - spec/support/certificates/crl_client_revoked.pem
1454
1866
  - spec/support/certificates/multi-ca.crt
1455
1867
  - spec/support/certificates/python-ca.crt
1868
+ - spec/support/certificates/retrieve-atlas-cert
1456
1869
  - spec/support/certificates/server-int.crt
1457
1870
  - spec/support/certificates/server-second-level-bundle.pem
1458
1871
  - spec/support/certificates/server-second-level.crt
1459
1872
  - spec/support/certificates/server-second-level.key
1460
1873
  - spec/support/certificates/server-second-level.pem
1461
1874
  - spec/support/certificates/server.pem
1462
- - spec/support/child_process_helper.rb
1463
1875
  - spec/support/client_registry.rb
1464
1876
  - spec/support/client_registry_macros.rb
1465
- - spec/support/cluster_config.rb
1466
1877
  - spec/support/cluster_tools.rb
1467
1878
  - spec/support/common_shortcuts.rb
1468
1879
  - spec/support/constraints.rb
1469
1880
  - spec/support/crypt.rb
1881
+ - spec/support/crypt/corpus/corpus-encrypted.json
1470
1882
  - spec/support/crypt/corpus/corpus-key-aws.json
1883
+ - spec/support/crypt/corpus/corpus-key-azure.json
1884
+ - spec/support/crypt/corpus/corpus-key-gcp.json
1885
+ - spec/support/crypt/corpus/corpus-key-kmip.json
1471
1886
  - spec/support/crypt/corpus/corpus-key-local.json
1472
1887
  - spec/support/crypt/corpus/corpus-schema.json
1473
1888
  - spec/support/crypt/corpus/corpus.json
1474
- - spec/support/crypt/corpus/corpus_encrypted.json
1475
1889
  - spec/support/crypt/data_keys/key_document_aws.json
1890
+ - spec/support/crypt/data_keys/key_document_azure.json
1891
+ - spec/support/crypt/data_keys/key_document_gcp.json
1892
+ - spec/support/crypt/data_keys/key_document_kmip.json
1476
1893
  - spec/support/crypt/data_keys/key_document_local.json
1894
+ - spec/support/crypt/encrypted_fields/encryptedFields.json
1895
+ - spec/support/crypt/encrypted_fields/range-encryptedFields-Date.json
1896
+ - spec/support/crypt/encrypted_fields/range-encryptedFields-DecimalNoPrecision.json
1897
+ - spec/support/crypt/encrypted_fields/range-encryptedFields-DecimalPrecision.json
1898
+ - spec/support/crypt/encrypted_fields/range-encryptedFields-DoubleNoPrecision.json
1899
+ - spec/support/crypt/encrypted_fields/range-encryptedFields-DoublePrecision.json
1900
+ - spec/support/crypt/encrypted_fields/range-encryptedFields-Int.json
1901
+ - spec/support/crypt/encrypted_fields/range-encryptedFields-Long.json
1477
1902
  - spec/support/crypt/external/external-key.json
1478
1903
  - spec/support/crypt/external/external-schema.json
1904
+ - spec/support/crypt/keys/key1-document.json
1479
1905
  - spec/support/crypt/limits/limits-doc.json
1480
1906
  - spec/support/crypt/limits/limits-key.json
1481
1907
  - spec/support/crypt/limits/limits-schema.json
1482
1908
  - spec/support/crypt/schema_maps/schema_map_aws.json
1483
1909
  - spec/support/crypt/schema_maps/schema_map_aws_key_alt_names.json
1910
+ - spec/support/crypt/schema_maps/schema_map_azure.json
1911
+ - spec/support/crypt/schema_maps/schema_map_azure_key_alt_names.json
1912
+ - spec/support/crypt/schema_maps/schema_map_gcp.json
1913
+ - spec/support/crypt/schema_maps/schema_map_gcp_key_alt_names.json
1914
+ - spec/support/crypt/schema_maps/schema_map_kmip.json
1915
+ - spec/support/crypt/schema_maps/schema_map_kmip_key_alt_names.json
1484
1916
  - spec/support/crypt/schema_maps/schema_map_local.json
1485
1917
  - spec/support/crypt/schema_maps/schema_map_local_key_alt_names.json
1486
1918
  - spec/support/dns.rb
1487
- - spec/support/event_subscriber.rb
1488
1919
  - spec/support/json_ext_formatter.rb
1489
1920
  - spec/support/keyword_struct.rb
1490
- - spec/support/lite_constraints.rb
1491
1921
  - spec/support/local_resource_registry.rb
1922
+ - spec/support/macros.rb
1492
1923
  - spec/support/matchers.rb
1924
+ - spec/support/mongos_macros.rb
1493
1925
  - spec/support/monitoring_ext.rb
1926
+ - spec/support/ocsp
1494
1927
  - spec/support/primary_socket.rb
1495
1928
  - spec/support/sdam_formatter_integration.rb
1929
+ - spec/support/shared/app_metadata.rb
1930
+ - spec/support/shared/auth_context.rb
1496
1931
  - spec/support/shared/protocol.rb
1497
1932
  - spec/support/shared/scram_conversation.rb
1498
1933
  - spec/support/shared/server_selector.rb
1499
1934
  - spec/support/shared/session.rb
1500
1935
  - spec/support/spec_config.rb
1501
- - spec/support/spec_organizer.rb
1502
1936
  - spec/support/spec_setup.rb
1937
+ - spec/support/using_hash.rb
1503
1938
  - spec/support/utils.rb
1504
- homepage: https://docs.mongodb.com/ruby-driver/
1939
+ homepage: https://mongodb.com/docs/ruby-driver/
1505
1940
  licenses:
1506
1941
  - Apache-2.0
1507
1942
  metadata:
1508
1943
  bug_tracker_uri: https://jira.mongodb.org/projects/RUBY
1509
1944
  changelog_uri: https://github.com/mongodb/mongo-ruby-driver/releases
1510
- documentation_uri: https://docs.mongodb.com/ruby-driver/
1511
- homepage_uri: https://docs.mongodb.com/ruby-driver/
1945
+ documentation_uri: https://mongodb.com/docs/ruby-driver/
1946
+ homepage_uri: https://mongodb.com/docs/ruby-driver/
1512
1947
  source_code_uri: https://github.com/mongodb/mongo-ruby-driver
1513
1948
  post_install_message:
1514
1949
  rdoc_options: []
@@ -1518,7 +1953,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
1518
1953
  requirements:
1519
1954
  - - ">="
1520
1955
  - !ruby/object:Gem::Version
1521
- version: '2.3'
1956
+ version: '2.5'
1522
1957
  required_rubygems_version: !ruby/object:Gem::Requirement
1523
1958
  requirements:
1524
1959
  - - ">="
@@ -1531,1013 +1966,1413 @@ signing_key:
1531
1966
  specification_version: 4
1532
1967
  summary: Ruby driver for MongoDB
1533
1968
  test_files:
1534
- - spec/mongo/cluster/cursor_reaper_spec.rb
1535
- - spec/mongo/cluster/periodic_executor_spec.rb
1536
- - spec/mongo/cluster/topology_spec.rb
1537
- - spec/mongo/cluster/topology/sharded_spec.rb
1538
- - spec/mongo/cluster/topology/single_spec.rb
1539
- - spec/mongo/cluster/topology/replica_set_spec.rb
1540
- - spec/mongo/cluster/topology/unknown_spec.rb
1541
- - spec/mongo/cluster/socket_reaper_spec.rb
1542
- - spec/mongo/semaphore_spec.rb
1543
- - spec/mongo/server/monitor/connection_spec.rb
1544
- - spec/mongo/server/monitor/app_metadata_spec.rb
1545
- - spec/mongo/server/description_spec.rb
1546
- - spec/mongo/server/connection_pool/populator_spec.rb
1547
- - spec/mongo/server/connection_spec.rb
1548
- - spec/mongo/server/description_query_methods_spec.rb
1549
- - spec/mongo/server/app_metadata_shared.rb
1550
- - spec/mongo/server/description/features_spec.rb
1551
- - spec/mongo/server/connection_auth_spec.rb
1552
- - spec/mongo/server/app_metadata_spec.rb
1553
- - spec/mongo/server/round_trip_time_averager_spec.rb
1554
- - spec/mongo/server/connection_pool_spec.rb
1555
- - spec/mongo/server/monitor_spec.rb
1556
- - spec/mongo/event/publisher_spec.rb
1557
- - spec/mongo/event/subscriber_spec.rb
1969
+ - spec/mongo/session_spec.rb
1970
+ - spec/mongo/socket_spec.rb
1971
+ - spec/mongo/cluster_spec.rb
1972
+ - spec/mongo/auth/stringprep_spec.rb
1973
+ - spec/mongo/auth/aws/credential_cache_spec.rb
1974
+ - spec/mongo/auth/aws/credentials_spec.rb
1975
+ - spec/mongo/auth/aws/credentials_retriever_spec.rb
1976
+ - spec/mongo/auth/aws/request_region_spec.rb
1977
+ - spec/mongo/auth/aws/request_spec.rb
1978
+ - spec/mongo/auth/scram_negotiation_spec.rb
1979
+ - spec/mongo/auth/ldap/conversation_spec.rb
1980
+ - spec/mongo/auth/scram_spec.rb
1981
+ - spec/mongo/auth/cr_spec.rb
1982
+ - spec/mongo/auth/stringprep/profiles/sasl_spec.rb
1983
+ - spec/mongo/auth/ldap_spec.rb
1984
+ - spec/mongo/auth/user_spec.rb
1985
+ - spec/mongo/auth/scram/conversation_spec.rb
1986
+ - spec/mongo/auth/x509/conversation_spec.rb
1987
+ - spec/mongo/auth/gssapi/conversation_spec.rb
1988
+ - spec/mongo/auth/x509_spec.rb
1989
+ - spec/mongo/auth/scram256/conversation_spec.rb
1990
+ - spec/mongo/auth/user/view_spec.rb
1991
+ - spec/mongo/auth/invalid_mechanism_spec.rb
1558
1992
  - spec/mongo/collection/view_spec.rb
1559
- - spec/mongo/collection/view/aggregation_spec.rb
1560
- - spec/mongo/collection/view/readable_spec.rb
1561
- - spec/mongo/collection/view/map_reduce_spec.rb
1562
1993
  - spec/mongo/collection/view/explainable_spec.rb
1994
+ - spec/mongo/collection/view/map_reduce_spec.rb
1995
+ - spec/mongo/collection/view/immutable_spec.rb
1996
+ - spec/mongo/collection/view/writable_spec.rb
1563
1997
  - spec/mongo/collection/view/change_stream_resume_spec.rb
1564
1998
  - spec/mongo/collection/view/builder/op_query_spec.rb
1565
- - spec/mongo/collection/view/builder/flags_spec.rb
1566
1999
  - spec/mongo/collection/view/builder/find_command_spec.rb
1567
- - spec/mongo/collection/view/builder/modifiers_spec.rb
1568
- - spec/mongo/collection/view/change_stream_spec.rb
2000
+ - spec/mongo/collection/view/aggregation_spec.rb
2001
+ - spec/mongo/collection/view/readable_spec.rb
1569
2002
  - spec/mongo/collection/view/iterable_spec.rb
1570
- - spec/mongo/collection/view/immutable_spec.rb
1571
- - spec/mongo/collection/view/writable_spec.rb
2003
+ - spec/mongo/collection/view/change_stream_spec.rb
2004
+ - spec/mongo/grid/file/info_spec.rb
2005
+ - spec/mongo/grid/file/chunk_spec.rb
2006
+ - spec/mongo/grid/stream_spec.rb
2007
+ - spec/mongo/grid/fs_bucket_spec.rb
2008
+ - spec/mongo/grid/stream/write_spec.rb
2009
+ - spec/mongo/grid/stream/read_spec.rb
2010
+ - spec/mongo/grid/file_spec.rb
1572
2011
  - spec/mongo/database_spec.rb
2012
+ - spec/mongo/uri_spec.rb
2013
+ - spec/mongo/protocol/get_more_spec.rb
2014
+ - spec/mongo/protocol/query_spec.rb
2015
+ - spec/mongo/protocol/msg_spec.rb
2016
+ - spec/mongo/protocol/registry_spec.rb
2017
+ - spec/mongo/protocol/caching_hash_spec.rb
2018
+ - spec/mongo/protocol/reply_spec.rb
2019
+ - spec/mongo/protocol/kill_cursors_spec.rb
2020
+ - spec/mongo/protocol/compressed_spec.rb
2021
+ - spec/mongo/srv/monitor_spec.rb
2022
+ - spec/mongo/srv/result_spec.rb
2023
+ - spec/mongo/cluster/topology/replica_set_spec.rb
2024
+ - spec/mongo/cluster/topology/unknown_spec.rb
2025
+ - spec/mongo/cluster/topology/sharded_spec.rb
2026
+ - spec/mongo/cluster/topology/single_spec.rb
2027
+ - spec/mongo/cluster/topology_spec.rb
2028
+ - spec/mongo/cluster/periodic_executor_spec.rb
2029
+ - spec/mongo/cluster/socket_reaper_spec.rb
2030
+ - spec/mongo/cluster/cursor_reaper_spec.rb
2031
+ - spec/mongo/session_transaction_spec.rb
1573
2032
  - spec/mongo/cursor_spec.rb
1574
- - spec/mongo/lint_spec.rb
1575
- - spec/mongo/server_selector/secondary_spec.rb
1576
- - spec/mongo/server_selector/primary_preferred_spec.rb
1577
- - spec/mongo/server_selector/primary_spec.rb
1578
- - spec/mongo/server_selector/secondary_preferred_spec.rb
1579
- - spec/mongo/server_selector/nearest_spec.rb
2033
+ - spec/mongo/collection_crud_spec.rb
2034
+ - spec/mongo/semaphore_spec.rb
2035
+ - spec/mongo/bson_spec.rb
2036
+ - spec/mongo/collection_ddl_spec.rb
2037
+ - spec/mongo/crypt/binary_spec.rb
2038
+ - spec/mongo/crypt/helpers/mongo_crypt_spec_helper.rb
2039
+ - spec/mongo/crypt/kms_spec.rb
2040
+ - spec/mongo/crypt/binding/mongocrypt_spec.rb
2041
+ - spec/mongo/crypt/binding/binary_spec.rb
2042
+ - spec/mongo/crypt/binding/context_spec.rb
1580
2043
  - spec/mongo/crypt/binding/helpers_spec.rb
1581
- - spec/mongo/crypt/binding/version_spec.rb
1582
2044
  - spec/mongo/crypt/binding/status_spec.rb
1583
- - spec/mongo/crypt/binding/context_spec.rb
1584
- - spec/mongo/crypt/binding/binary_spec.rb
1585
- - spec/mongo/crypt/binding/mongocrypt_spec.rb
1586
- - spec/mongo/crypt/explicit_encryption_context_spec.rb
1587
- - spec/mongo/crypt/auto_encryption_context_spec.rb
1588
- - spec/mongo/crypt/encryption_io_spec.rb
1589
- - spec/mongo/crypt/helpers/mongo_crypt_spec_helper.rb
1590
- - spec/mongo/crypt/binding_unloaded_spec.rb
1591
- - spec/mongo/crypt/status_spec.rb
2045
+ - spec/mongo/crypt/binding/version_spec.rb
2046
+ - spec/mongo/crypt/kms/azure/credentials_retriever_spec.rb
2047
+ - spec/mongo/crypt/kms/credentials_spec.rb
1592
2048
  - spec/mongo/crypt/explicit_decryption_context_spec.rb
1593
- - spec/mongo/crypt/data_key_context_spec.rb
1594
- - spec/mongo/crypt/binary_spec.rb
1595
- - spec/mongo/crypt/auto_encrypter_spec.rb
1596
2049
  - spec/mongo/crypt/auto_decryption_context_spec.rb
1597
2050
  - spec/mongo/crypt/handle_spec.rb
1598
- - spec/mongo/uri/srv_protocol_spec.rb
1599
- - spec/mongo/address/validator_spec.rb
2051
+ - spec/mongo/crypt/data_key_context_spec.rb
2052
+ - spec/mongo/crypt/auto_encrypter_spec.rb
2053
+ - spec/mongo/crypt/encryption_io_spec.rb
2054
+ - spec/mongo/crypt/status_spec.rb
2055
+ - spec/mongo/crypt/binding_unloaded_spec.rb
2056
+ - spec/mongo/crypt/hooks_spec.rb
2057
+ - spec/mongo/crypt/auto_encryption_context_spec.rb
2058
+ - spec/mongo/crypt/explicit_encryption_context_spec.rb
2059
+ - spec/mongo/cursor/builder/op_get_more_spec.rb
2060
+ - spec/mongo/cursor/builder/get_more_command_spec.rb
1600
2061
  - spec/mongo/address/ipv4_spec.rb
1601
2062
  - spec/mongo/address/ipv6_spec.rb
1602
2063
  - spec/mongo/address/unix_spec.rb
1603
- - spec/mongo/timeout_spec.rb
1604
- - spec/mongo/auth/stringprep_spec.rb
1605
- - spec/mongo/auth/ldap_spec.rb
1606
- - spec/mongo/auth/scram256/conversation_spec.rb
1607
- - spec/mongo/auth/x509_spec.rb
1608
- - spec/mongo/auth/scram_spec.rb
1609
- - spec/mongo/auth/stringprep/profiles/sasl_spec.rb
1610
- - spec/mongo/auth/invalid_mechanism_spec.rb
1611
- - spec/mongo/auth/x509/conversation_spec.rb
1612
- - spec/mongo/auth/aws/request_region_spec.rb
1613
- - spec/mongo/auth/aws/request_spec.rb
1614
- - spec/mongo/auth/scram/conversation_spec.rb
1615
- - spec/mongo/auth/gssapi/conversation_spec.rb
1616
- - spec/mongo/auth/ldap/conversation_spec.rb
1617
- - spec/mongo/auth/user_spec.rb
1618
- - spec/mongo/auth/cr_spec.rb
1619
- - spec/mongo/auth/user/view_spec.rb
1620
- - spec/mongo/auth/scram_negotiation_spec.rb
1621
- - spec/mongo/client_encryption_spec.rb
1622
- - spec/mongo/socket_spec.rb
1623
- - spec/mongo/bulk_write_spec.rb
1624
- - spec/mongo/socket/ssl_spec.rb
1625
- - spec/mongo/socket/tcp_spec.rb
1626
- - spec/mongo/socket/unix_spec.rb
1627
- - spec/mongo/id_spec.rb
1628
- - spec/mongo/cluster_spec.rb
1629
- - spec/mongo/server_selector_spec.rb
2064
+ - spec/mongo/address/validator_spec.rb
1630
2065
  - spec/mongo/client_spec.rb
1631
- - spec/mongo/cursor/builder/op_get_more_spec.rb
1632
- - spec/mongo/cursor/builder/get_more_command_spec.rb
1633
- - spec/mongo/cursor/builder/op_kill_cursors_spec.rb
1634
- - spec/mongo/monitoring/event/server_heartbeat_succeeded_spec.rb
1635
- - spec/mongo/monitoring/event/server_description_changed_spec.rb
1636
- - spec/mongo/monitoring/event/secure_spec.rb
1637
- - spec/mongo/monitoring/event/server_closed_spec.rb
1638
- - spec/mongo/monitoring/event/topology_opening_spec.rb
1639
- - spec/mongo/monitoring/event/cmap/pool_cleared_spec.rb
1640
- - spec/mongo/monitoring/event/cmap/connection_check_out_started_spec.rb
1641
- - spec/mongo/monitoring/event/cmap/connection_created_spec.rb
1642
- - spec/mongo/monitoring/event/cmap/pool_closed_spec.rb
1643
- - spec/mongo/monitoring/event/cmap/connection_closed_spec.rb
1644
- - spec/mongo/monitoring/event/cmap/connection_check_out_failed_spec.rb
1645
- - spec/mongo/monitoring/event/cmap/pool_created_spec.rb
1646
- - spec/mongo/monitoring/event/cmap/connection_checked_in_spec.rb
1647
- - spec/mongo/monitoring/event/cmap/connection_ready_spec.rb
1648
- - spec/mongo/monitoring/event/cmap/connection_checked_out_spec.rb
1649
- - spec/mongo/monitoring/event/server_heartbeat_started_spec.rb
1650
- - spec/mongo/monitoring/event/command_started_spec.rb
1651
- - spec/mongo/monitoring/event/command_succeeded_spec.rb
1652
- - spec/mongo/monitoring/event/server_heartbeat_failed_spec.rb
1653
- - spec/mongo/monitoring/event/topology_changed_spec.rb
1654
- - spec/mongo/monitoring/event/topology_closed_spec.rb
1655
- - spec/mongo/monitoring/event/server_opening_spec.rb
1656
- - spec/mongo/monitoring/event/command_failed_spec.rb
1657
- - spec/mongo/monitoring/command_log_subscriber_spec.rb
1658
- - spec/mongo/write_concern_spec.rb
1659
- - spec/mongo/retryable_spec.rb
1660
- - spec/mongo/client_construction_spec.rb
1661
- - spec/mongo/collection_spec.rb
1662
- - spec/mongo/session_transaction_spec.rb
1663
- - spec/mongo/monitoring_spec.rb
1664
- - spec/mongo/grid/fs_bucket_spec.rb
1665
- - spec/mongo/grid/stream_spec.rb
1666
- - spec/mongo/grid/file/chunk_spec.rb
1667
- - spec/mongo/grid/file/info_spec.rb
1668
- - spec/mongo/grid/file_spec.rb
1669
- - spec/mongo/grid/stream/write_spec.rb
1670
- - spec/mongo/grid/stream/read_spec.rb
1671
- - spec/mongo/error/crypt_error_spec.rb
1672
- - spec/mongo/error/no_server_available_spec.rb
1673
- - spec/mongo/error/max_bson_size_spec.rb
1674
- - spec/mongo/error/unsupported_option_spec.rb
1675
- - spec/mongo/error/operation_failure_spec.rb
1676
- - spec/mongo/error/operation_failure_heavy_spec.rb
1677
- - spec/mongo/error/bulk_write_error_spec.rb
1678
- - spec/mongo/error/notable_spec.rb
1679
- - spec/mongo/error/parser_spec.rb
1680
- - spec/mongo/srv/result_spec.rb
1681
- - spec/mongo/srv/monitor_spec.rb
1682
- - spec/mongo/distinguishing_semaphore_spec.rb
1683
- - spec/mongo/session_spec.rb
1684
- - spec/mongo/address_spec.rb
1685
- - spec/mongo/bulk_write/ordered_combiner_spec.rb
1686
- - spec/mongo/bulk_write/unordered_combiner_spec.rb
1687
- - spec/mongo/bulk_write/result_spec.rb
1688
- - spec/mongo/protocol/delete_spec.rb
1689
- - spec/mongo/protocol/registry_spec.rb
1690
- - spec/mongo/protocol/query_spec.rb
1691
- - spec/mongo/protocol/compressed_spec.rb
1692
- - spec/mongo/protocol/kill_cursors_spec.rb
1693
- - spec/mongo/protocol/msg_spec.rb
1694
- - spec/mongo/protocol/reply_spec.rb
1695
- - spec/mongo/protocol/get_more_spec.rb
1696
- - spec/mongo/protocol/update_spec.rb
1697
- - spec/mongo/protocol/insert_spec.rb
1698
- - spec/mongo/auth_spec.rb
1699
- - spec/mongo/uri_option_parsing_spec.rb
2066
+ - spec/mongo/uri/srv_protocol_spec.rb
2067
+ - spec/mongo/uri/options_mapper_spec.rb
1700
2068
  - spec/mongo/session/session_pool_spec.rb
1701
2069
  - spec/mongo/session/server_session_spec.rb
1702
- - spec/mongo/write_concern/unacknowledged_spec.rb
1703
- - spec/mongo/write_concern/acknowledged_spec.rb
1704
- - spec/mongo/cluster_time_spec.rb
1705
- - spec/mongo/options/redacted_spec.rb
1706
- - spec/mongo/uri_spec.rb
1707
- - spec/mongo/dbref_spec.rb
2070
+ - spec/mongo/address_spec.rb
2071
+ - spec/mongo/condition_variable_spec.rb
2072
+ - spec/mongo/event/subscriber_spec.rb
2073
+ - spec/mongo/event/publisher_spec.rb
2074
+ - spec/mongo/lint_spec.rb
2075
+ - spec/mongo/auth_spec.rb
1708
2076
  - spec/mongo/index/view_spec.rb
1709
- - spec/mongo/logger_spec.rb
1710
- - spec/mongo/server_spec.rb
1711
- - spec/mongo/bson_spec.rb
1712
- - spec/mongo/operation/read_preference_legacy_spec.rb
1713
- - spec/mongo/operation/map_reduce_spec.rb
1714
- - spec/mongo/operation/read_preference_op_msg_spec.rb
2077
+ - spec/mongo/client_encryption_spec.rb
2078
+ - spec/mongo/server_selector_spec.rb
2079
+ - spec/mongo/operation/collections_info_spec.rb
1715
2080
  - spec/mongo/operation/delete_spec.rb
1716
- - spec/mongo/operation/insert/command_spec.rb
2081
+ - spec/mongo/operation/create/op_msg_spec.rb
2082
+ - spec/mongo/operation/indexes_spec.rb
1717
2083
  - spec/mongo/operation/insert/bulk_spec.rb
1718
2084
  - spec/mongo/operation/insert/op_msg_spec.rb
1719
- - spec/mongo/operation/delete/command_spec.rb
2085
+ - spec/mongo/operation/map_reduce_spec.rb
1720
2086
  - spec/mongo/operation/delete/bulk_spec.rb
1721
2087
  - spec/mongo/operation/delete/op_msg_spec.rb
1722
- - spec/mongo/operation/remove_user_spec.rb
1723
- - spec/mongo/operation/specifiable_spec.rb
1724
- - spec/mongo/operation/collections_info_spec.rb
1725
- - spec/mongo/operation/command_spec.rb
2088
+ - spec/mongo/operation/aggregate_spec.rb
2089
+ - spec/mongo/operation/update_user_spec.rb
1726
2090
  - spec/mongo/operation/limited_spec.rb
2091
+ - spec/mongo/operation/create_index_spec.rb
1727
2092
  - spec/mongo/operation/drop_index_spec.rb
1728
- - spec/mongo/operation/aggregate/result_spec.rb
2093
+ - spec/mongo/operation/read_preference_legacy_spec.rb
2094
+ - spec/mongo/operation/read_preference_op_msg_spec.rb
1729
2095
  - spec/mongo/operation/create_user_spec.rb
1730
2096
  - spec/mongo/operation/result_spec.rb
1731
- - spec/mongo/operation/kill_cursors_spec.rb
1732
- - spec/mongo/operation/aggregate_spec.rb
1733
- - spec/mongo/operation/get_more_spec.rb
1734
- - spec/mongo/operation/create_index_spec.rb
1735
- - spec/mongo/operation/update_spec.rb
1736
- - spec/mongo/operation/update_user_spec.rb
1737
- - spec/mongo/operation/update/command_spec.rb
2097
+ - spec/mongo/operation/insert_spec.rb
2098
+ - spec/mongo/operation/find/builder/modifiers_spec.rb
2099
+ - spec/mongo/operation/find/builder/flags_spec.rb
2100
+ - spec/mongo/operation/command_spec.rb
2101
+ - spec/mongo/operation/specifiable_spec.rb
2102
+ - spec/mongo/operation/aggregate/result_spec.rb
1738
2103
  - spec/mongo/operation/update/bulk_spec.rb
1739
2104
  - spec/mongo/operation/update/op_msg_spec.rb
1740
- - spec/mongo/operation/indexes_spec.rb
1741
- - spec/mongo/operation/find/legacy_spec.rb
1742
- - spec/mongo/operation/insert_spec.rb
1743
- - spec/kerberos/kerberos_spec.rb
1744
- - spec/integration/check_clean_slate_spec.rb
1745
- - spec/integration/aws_auth_request_spec.rb
1746
- - spec/integration/retryable_errors_spec.rb
1747
- - spec/integration/shell_examples_spec.rb
1748
- - spec/integration/retryable_writes_errors_spec.rb
1749
- - spec/integration/mongos_pinning_spec.rb
2105
+ - spec/mongo/operation/update_spec.rb
2106
+ - spec/mongo/operation/remove_user_spec.rb
2107
+ - spec/mongo/monitoring/event/topology_closed_spec.rb
2108
+ - spec/mongo/monitoring/event/cmap/connection_check_out_failed_spec.rb
2109
+ - spec/mongo/monitoring/event/cmap/connection_checked_out_spec.rb
2110
+ - spec/mongo/monitoring/event/cmap/connection_created_spec.rb
2111
+ - spec/mongo/monitoring/event/cmap/pool_created_spec.rb
2112
+ - spec/mongo/monitoring/event/cmap/connection_closed_spec.rb
2113
+ - spec/mongo/monitoring/event/cmap/connection_ready_spec.rb
2114
+ - spec/mongo/monitoring/event/cmap/pool_closed_spec.rb
2115
+ - spec/mongo/monitoring/event/cmap/connection_check_out_started_spec.rb
2116
+ - spec/mongo/monitoring/event/cmap/pool_cleared_spec.rb
2117
+ - spec/mongo/monitoring/event/cmap/connection_checked_in_spec.rb
2118
+ - spec/mongo/monitoring/event/topology_changed_spec.rb
2119
+ - spec/mongo/monitoring/event/command_started_spec.rb
2120
+ - spec/mongo/monitoring/event/server_heartbeat_succeeded_spec.rb
2121
+ - spec/mongo/monitoring/event/topology_opening_spec.rb
2122
+ - spec/mongo/monitoring/event/server_closed_spec.rb
2123
+ - spec/mongo/monitoring/event/command_failed_spec.rb
2124
+ - spec/mongo/monitoring/event/secure_spec.rb
2125
+ - spec/mongo/monitoring/event/server_opening_spec.rb
2126
+ - spec/mongo/monitoring/event/server_heartbeat_started_spec.rb
2127
+ - spec/mongo/monitoring/event/command_succeeded_spec.rb
2128
+ - spec/mongo/monitoring/event/server_heartbeat_failed_spec.rb
2129
+ - spec/mongo/monitoring/event/server_description_changed_spec.rb
2130
+ - spec/mongo/monitoring/command_log_subscriber_spec.rb
2131
+ - spec/mongo/server_spec.rb
2132
+ - spec/mongo/cluster_time_spec.rb
2133
+ - spec/mongo/tls_context_hooks_spec.rb
2134
+ - spec/mongo/crypt_spec.rb
2135
+ - spec/mongo/monitoring_spec.rb
2136
+ - spec/mongo/distinguishing_semaphore_spec.rb
2137
+ - spec/mongo/retryable_spec.rb
2138
+ - spec/mongo/socket/ssl_spec.rb
2139
+ - spec/mongo/socket/unix_spec.rb
2140
+ - spec/mongo/socket/tcp_spec.rb
2141
+ - spec/mongo/caching_cursor_spec.rb
2142
+ - spec/mongo/query_cache_spec.rb
2143
+ - spec/mongo/bulk_write_spec.rb
2144
+ - spec/mongo/error/notable_spec.rb
2145
+ - spec/mongo/error/operation_failure_spec.rb
2146
+ - spec/mongo/error/parser_spec.rb
2147
+ - spec/mongo/error/bulk_write_error_spec.rb
2148
+ - spec/mongo/error/crypt_error_spec.rb
2149
+ - spec/mongo/error/max_bson_size_spec.rb
2150
+ - spec/mongo/error/no_server_available_spec.rb
2151
+ - spec/mongo/error/operation_failure_heavy_spec.rb
2152
+ - spec/mongo/error/unsupported_option_spec.rb
2153
+ - spec/mongo/query_cache_middleware_spec.rb
2154
+ - spec/mongo/config_spec.rb
2155
+ - spec/mongo/utils_spec.rb
2156
+ - spec/mongo/write_concern_spec.rb
2157
+ - spec/mongo/logger_spec.rb
2158
+ - spec/mongo/write_concern/acknowledged_spec.rb
2159
+ - spec/mongo/write_concern/unacknowledged_spec.rb
2160
+ - spec/mongo/options/redacted_spec.rb
2161
+ - spec/mongo/server/monitor_spec.rb
2162
+ - spec/mongo/server/description_query_methods_spec.rb
2163
+ - spec/mongo/server/description_spec.rb
2164
+ - spec/mongo/server/app_metadata_spec.rb
2165
+ - spec/mongo/server/push_monitor_spec.rb
2166
+ - spec/mongo/server/connection_common_spec.rb
2167
+ - spec/mongo/server/connection_pool/populator_spec.rb
2168
+ - spec/mongo/server/app_metadata/environment_spec.rb
2169
+ - spec/mongo/server/app_metadata/truncator_spec.rb
2170
+ - spec/mongo/server/description/features_spec.rb
2171
+ - spec/mongo/server/round_trip_time_averager_spec.rb
2172
+ - spec/mongo/server/monitor/app_metadata_spec.rb
2173
+ - spec/mongo/server/monitor/connection_spec.rb
2174
+ - spec/mongo/server/connection_auth_spec.rb
2175
+ - spec/mongo/server/connection_spec.rb
2176
+ - spec/mongo/server/connection_pool_spec.rb
2177
+ - spec/mongo/config/options_spec.rb
2178
+ - spec/mongo/collection_spec.rb
2179
+ - spec/mongo/timeout_spec.rb
2180
+ - spec/mongo/bulk_write/unordered_combiner_spec.rb
2181
+ - spec/mongo/bulk_write/result_spec.rb
2182
+ - spec/mongo/bulk_write/ordered_combiner_spec.rb
2183
+ - spec/mongo/client_construction_spec.rb
2184
+ - spec/mongo/uri_option_parsing_spec.rb
2185
+ - spec/mongo/server_selector/nearest_spec.rb
2186
+ - spec/mongo/server_selector/primary_preferred_spec.rb
2187
+ - spec/mongo/server_selector/secondary_preferred_spec.rb
2188
+ - spec/mongo/server_selector/secondary_spec.rb
2189
+ - spec/mongo/server_selector/primary_spec.rb
2190
+ - spec/mongo/id_spec.rb
2191
+ - spec/README.aws-auth.md
2192
+ - spec/shared/LICENSE
2193
+ - spec/shared/bin/s3-upload
2194
+ - spec/shared/bin/s3-copy
2195
+ - spec/shared/bin/get-mongodb-download-url
2196
+ - spec/shared/share/haproxy-2.conf
2197
+ - spec/shared/share/haproxy-1.conf
2198
+ - spec/shared/share/Dockerfile.erb
2199
+ - spec/shared/lib/mrss/constraints.rb
2200
+ - spec/shared/lib/mrss/utils.rb
2201
+ - spec/shared/lib/mrss/spec_organizer.rb
2202
+ - spec/shared/lib/mrss/lite_constraints.rb
2203
+ - spec/shared/lib/mrss/server_version_registry.rb
2204
+ - spec/shared/lib/mrss/eg_config_utils.rb
2205
+ - spec/shared/lib/mrss/session_registry.rb
2206
+ - spec/shared/lib/mrss/docker_runner.rb
2207
+ - spec/shared/lib/mrss/cluster_config.rb
2208
+ - spec/shared/lib/mrss/child_process_helper.rb
2209
+ - spec/shared/lib/mrss/event_subscriber.rb
2210
+ - spec/shared/lib/mrss/session_registry_legacy.rb
2211
+ - spec/shared/shlib/server.sh
2212
+ - spec/shared/shlib/distro.sh
2213
+ - spec/shared/shlib/set_env.sh
2214
+ - spec/shared/shlib/config.sh
2215
+ - spec/support/client_registry.rb
2216
+ - spec/support/authorization.rb
2217
+ - spec/support/dns.rb
2218
+ - spec/support/matchers.rb
2219
+ - spec/support/using_hash.rb
2220
+ - spec/support/shared/server_selector.rb
2221
+ - spec/support/shared/session.rb
2222
+ - spec/support/shared/protocol.rb
2223
+ - spec/support/shared/scram_conversation.rb
2224
+ - spec/support/shared/auth_context.rb
2225
+ - spec/support/shared/app_metadata.rb
2226
+ - spec/support/constraints.rb
2227
+ - spec/support/keyword_struct.rb
2228
+ - spec/support/utils.rb
2229
+ - spec/support/spec_setup.rb
2230
+ - spec/support/json_ext_formatter.rb
2231
+ - spec/support/client_registry_macros.rb
2232
+ - spec/support/aws_utils/orchestrator.rb
2233
+ - spec/support/aws_utils/base.rb
2234
+ - spec/support/aws_utils/inspector.rb
2235
+ - spec/support/aws_utils/provisioner.rb
2236
+ - spec/support/crypt/data_keys/key_document_azure.json
2237
+ - spec/support/crypt/data_keys/key_document_gcp.json
2238
+ - spec/support/crypt/data_keys/key_document_aws.json
2239
+ - spec/support/crypt/data_keys/key_document_local.json
2240
+ - spec/support/crypt/data_keys/key_document_kmip.json
2241
+ - spec/support/crypt/limits/limits-doc.json
2242
+ - spec/support/crypt/limits/limits-schema.json
2243
+ - spec/support/crypt/limits/limits-key.json
2244
+ - spec/support/crypt/external/external-key.json
2245
+ - spec/support/crypt/external/external-schema.json
2246
+ - spec/support/crypt/corpus/corpus-key-azure.json
2247
+ - spec/support/crypt/corpus/corpus-encrypted.json
2248
+ - spec/support/crypt/corpus/corpus-key-local.json
2249
+ - spec/support/crypt/corpus/corpus-key-aws.json
2250
+ - spec/support/crypt/corpus/corpus.json
2251
+ - spec/support/crypt/corpus/corpus-key-gcp.json
2252
+ - spec/support/crypt/corpus/corpus-schema.json
2253
+ - spec/support/crypt/corpus/corpus-key-kmip.json
2254
+ - spec/support/crypt/encrypted_fields/range-encryptedFields-DoublePrecision.json
2255
+ - spec/support/crypt/encrypted_fields/range-encryptedFields-Date.json
2256
+ - spec/support/crypt/encrypted_fields/range-encryptedFields-DoubleNoPrecision.json
2257
+ - spec/support/crypt/encrypted_fields/range-encryptedFields-Long.json
2258
+ - spec/support/crypt/encrypted_fields/range-encryptedFields-DecimalNoPrecision.json
2259
+ - spec/support/crypt/encrypted_fields/range-encryptedFields-DecimalPrecision.json
2260
+ - spec/support/crypt/encrypted_fields/range-encryptedFields-Int.json
2261
+ - spec/support/crypt/encrypted_fields/encryptedFields.json
2262
+ - spec/support/crypt/schema_maps/schema_map_aws.json
2263
+ - spec/support/crypt/schema_maps/schema_map_gcp_key_alt_names.json
2264
+ - spec/support/crypt/schema_maps/schema_map_local_key_alt_names.json
2265
+ - spec/support/crypt/schema_maps/schema_map_gcp.json
2266
+ - spec/support/crypt/schema_maps/schema_map_local.json
2267
+ - spec/support/crypt/schema_maps/schema_map_aws_key_alt_names.json
2268
+ - spec/support/crypt/schema_maps/schema_map_kmip.json
2269
+ - spec/support/crypt/schema_maps/schema_map_azure.json
2270
+ - spec/support/crypt/schema_maps/schema_map_kmip_key_alt_names.json
2271
+ - spec/support/crypt/schema_maps/schema_map_azure_key_alt_names.json
2272
+ - spec/support/crypt/keys/key1-document.json
2273
+ - spec/support/crypt.rb
2274
+ - spec/support/monitoring_ext.rb
2275
+ - spec/support/common_shortcuts.rb
2276
+ - spec/support/mongos_macros.rb
2277
+ - spec/support/sdam_formatter_integration.rb
2278
+ - spec/support/ocsp
2279
+ - spec/support/macros.rb
2280
+ - spec/support/cluster_tools.rb
2281
+ - spec/support/background_thread_registry.rb
2282
+ - spec/support/certificates/multi-ca.crt
2283
+ - spec/support/certificates/crl_client_revoked.pem
2284
+ - spec/support/certificates/client-encrypted.key
2285
+ - spec/support/certificates/atlas-ocsp.crt
2286
+ - spec/support/certificates/client-second-level.key
2287
+ - spec/support/certificates/client-x509.key
2288
+ - spec/support/certificates/README.md
2289
+ - spec/support/certificates/server-second-level.pem
2290
+ - spec/support/certificates/client-second-level.pem
2291
+ - spec/support/certificates/python-ca.crt
2292
+ - spec/support/certificates/ca.crt
2293
+ - spec/support/certificates/server-second-level.key
2294
+ - spec/support/certificates/server-second-level.crt
2295
+ - spec/support/certificates/client.crt
2296
+ - spec/support/certificates/client-second-level.crt
2297
+ - spec/support/certificates/client-int.crt
2298
+ - spec/support/certificates/client-second-level-bundle.pem
2299
+ - spec/support/certificates/client.key
2300
+ - spec/support/certificates/client-x509.crt
2301
+ - spec/support/certificates/server-int.crt
2302
+ - spec/support/certificates/retrieve-atlas-cert
2303
+ - spec/support/certificates/client-x509.pem
2304
+ - spec/support/certificates/server-second-level-bundle.pem
2305
+ - spec/support/certificates/crl.pem
2306
+ - spec/support/certificates/client.pem
2307
+ - spec/support/certificates/server.pem
2308
+ - spec/support/certificates/atlas-ocsp-ca.crt
2309
+ - spec/support/aws_utils.rb
2310
+ - spec/support/local_resource_registry.rb
2311
+ - spec/support/spec_config.rb
2312
+ - spec/support/primary_socket.rb
2313
+ - spec/README.md
2314
+ - spec/NOTES.aws-auth.md
2315
+ - spec/spec_helper.rb
2316
+ - spec/kerberos/kerberos_spec.rb
2317
+ - spec/runners/unified.rb
2318
+ - spec/runners/connection_string.rb
2319
+ - spec/runners/cmap/verifier.rb
2320
+ - spec/runners/sdam.rb
2321
+ - spec/runners/crud.rb
2322
+ - spec/runners/transactions.rb
2323
+ - spec/runners/read_write_concern_document.rb
2324
+ - spec/runners/server_selection.rb
2325
+ - spec/runners/server_selection_rtt.rb
2326
+ - spec/runners/change_streams/outcome.rb
2327
+ - spec/runners/change_streams/spec.rb
2328
+ - spec/runners/change_streams/test.rb
2329
+ - spec/runners/gridfs.rb
2330
+ - spec/runners/transactions/operation.rb
2331
+ - spec/runners/transactions/spec.rb
2332
+ - spec/runners/transactions/test.rb
2333
+ - spec/runners/command_monitoring.rb
2334
+ - spec/runners/crud/requirement.rb
2335
+ - spec/runners/crud/verifier.rb
2336
+ - spec/runners/crud/outcome.rb
2337
+ - spec/runners/crud/context.rb
2338
+ - spec/runners/crud/operation.rb
2339
+ - spec/runners/crud/test_base.rb
2340
+ - spec/runners/crud/spec.rb
2341
+ - spec/runners/crud/test.rb
2342
+ - spec/runners/unified/error.rb
2343
+ - spec/runners/unified/exceptions.rb
2344
+ - spec/runners/unified/entity_map.rb
2345
+ - spec/runners/unified/thread_operations.rb
2346
+ - spec/runners/unified/grid_fs_operations.rb
2347
+ - spec/runners/unified/ddl_operations.rb
2348
+ - spec/runners/unified/support_operations.rb
2349
+ - spec/runners/unified/test_group.rb
2350
+ - spec/runners/unified/client_side_encryption_operations.rb
2351
+ - spec/runners/unified/assertions.rb
2352
+ - spec/runners/unified/event_subscriber.rb
2353
+ - spec/runners/unified/change_stream_operations.rb
2354
+ - spec/runners/unified/crud_operations.rb
2355
+ - spec/runners/unified/test.rb
2356
+ - spec/runners/auth.rb
2357
+ - spec/runners/cmap.rb
2358
+ - spec/runners/sdam/verifier.rb
2359
+ - spec/solo/clean_exit_spec.rb
2360
+ - spec/integration/ocsp_verifier_spec.rb
2361
+ - spec/integration/step_down_spec.rb
2362
+ - spec/integration/versioned_api_examples_spec.rb
1750
2363
  - spec/integration/client_update_spec.rb
1751
- - spec/integration/bulk_insert_spec.rb
1752
- - spec/integration/connection_pool_populator_spec.rb
1753
- - spec/integration/connection_spec.rb
1754
- - spec/integration/server_monitor_spec.rb
1755
- - spec/integration/read_preference_spec.rb
1756
- - spec/integration/client_side_encryption/client_close_spec.rb
1757
- - spec/integration/client_side_encryption/auto_encryption_mongocryptd_spawn_spec.rb
1758
- - spec/integration/client_side_encryption/views_spec.rb
1759
- - spec/integration/client_side_encryption/auto_encryption_spec.rb
1760
- - spec/integration/client_side_encryption/custom_endpoint_spec.rb
1761
- - spec/integration/client_side_encryption/bson_size_limit_spec.rb
1762
- - spec/integration/client_side_encryption/auto_encryption_bulk_writes_spec.rb
1763
- - spec/integration/client_side_encryption/corpus_spec.rb
1764
- - spec/integration/client_side_encryption/auto_encryption_old_wire_version_spec.rb
1765
- - spec/integration/client_side_encryption/auto_encryption_command_monitoring_spec.rb
1766
- - spec/integration/client_side_encryption/explicit_encryption_spec.rb
1767
- - spec/integration/client_side_encryption/auto_encryption_reconnect_spec.rb
1768
- - spec/integration/client_side_encryption/bypass_mongocryptd_spawn_spec.rb
1769
- - spec/integration/client_side_encryption/data_key_spec.rb
1770
- - spec/integration/client_side_encryption/external_key_vault_spec.rb
1771
- - spec/integration/x509_auth_spec.rb
2364
+ - spec/integration/cursor_pinning_spec.rb
1772
2365
  - spec/integration/grid_fs_bucket_spec.rb
1773
- - spec/integration/docs_examples_spec.rb
2366
+ - spec/integration/get_more_spec.rb
1774
2367
  - spec/integration/size_limit_spec.rb
1775
- - spec/integration/bulk_write_spec.rb
1776
- - spec/integration/change_stream_examples_spec.rb
1777
- - spec/integration/server_selector_spec.rb
1778
- - spec/integration/client_spec.rb
1779
- - spec/integration/command_spec.rb
1780
- - spec/integration/client_authentication_options_spec.rb
1781
- - spec/integration/command_monitoring_spec.rb
1782
- - spec/integration/time_zone_querying_spec.rb
1783
- - spec/integration/client_construction_spec.rb
1784
- - spec/integration/aws_credentials_retriever_spec.rb
1785
- - spec/integration/transactions_examples_spec.rb
1786
- - spec/integration/sdam_events_spec.rb
1787
- - spec/integration/operation_failure_code_spec.rb
1788
- - spec/integration/client_connectivity_spec.rb
1789
- - spec/integration/error_detection_spec.rb
1790
- - spec/integration/retryable_writes/shared/only_supports_legacy_retries.rb
2368
+ - spec/integration/mmapv1_spec.rb
2369
+ - spec/integration/secondary_reads_spec.rb
2370
+ - spec/integration/bson_symbol_spec.rb
2371
+ - spec/integration/bulk_write_error_message_spec.rb
2372
+ - spec/integration/sdam_error_handling_spec.rb
2373
+ - spec/integration/read_preference_spec.rb
1791
2374
  - spec/integration/retryable_writes/shared/supports_retries.rb
1792
- - spec/integration/retryable_writes/shared/does_not_support_retries.rb
1793
- - spec/integration/retryable_writes/shared/performs_modern_retries.rb
1794
- - spec/integration/retryable_writes/shared/supports_modern_retries.rb
1795
2375
  - spec/integration/retryable_writes/shared/adds_diagnostics.rb
2376
+ - spec/integration/retryable_writes/shared/only_supports_legacy_retries.rb
2377
+ - spec/integration/retryable_writes/shared/performs_modern_retries.rb
2378
+ - spec/integration/retryable_writes/shared/performs_legacy_retries.rb
1796
2379
  - spec/integration/retryable_writes/shared/performs_no_retries.rb
1797
2380
  - spec/integration/retryable_writes/shared/supports_legacy_retries.rb
1798
- - spec/integration/retryable_writes/shared/performs_legacy_retries.rb
1799
- - spec/integration/retryable_writes/retryable_writes_40_and_newer_spec.rb
2381
+ - spec/integration/retryable_writes/shared/does_not_support_retries.rb
2382
+ - spec/integration/retryable_writes/shared/supports_modern_retries.rb
1800
2383
  - spec/integration/retryable_writes/retryable_writes_36_and_older_spec.rb
1801
- - spec/integration/sdam_error_handling_spec.rb
1802
- - spec/integration/zlib_compression_spec.rb
1803
- - spec/integration/change_stream_spec.rb
1804
- - spec/integration/heartbeat_events_spec.rb
1805
- - spec/integration/connect_single_rs_name_spec.rb
1806
- - spec/integration/awaited_ismaster_spec.rb
2384
+ - spec/integration/retryable_writes/retryable_writes_40_and_newer_spec.rb
2385
+ - spec/integration/transactions_examples_spec.rb
1807
2386
  - spec/integration/crud_spec.rb
1808
- - spec/integration/client_construction_aws_auth_spec.rb
1809
- - spec/integration/ssl_uri_options_spec.rb
1810
- - spec/integration/collection_indexes_prose_spec.rb
1811
- - spec/integration/bson_symbol_spec.rb
1812
- - spec/integration/fork_reconnect_spec.rb
1813
- - spec/integration/auth_spec.rb
2387
+ - spec/integration/srv_monitoring_spec.rb
1814
2388
  - spec/integration/server_description_spec.rb
1815
- - spec/integration/get_more_spec.rb
2389
+ - spec/integration/query_cache_transactions_spec.rb
2390
+ - spec/integration/connect_single_rs_name_spec.rb
2391
+ - spec/integration/mongos_pinning_spec.rb
1816
2392
  - spec/integration/read_concern_spec.rb
1817
- - spec/integration/srv_monitoring_spec.rb
1818
- - spec/integration/reconnect_spec.rb
1819
- - spec/integration/sdam_prose_spec.rb
1820
- - spec/integration/cursor_reaping_spec.rb
1821
- - spec/integration/mmapv1_spec.rb
1822
- - spec/integration/server_spec.rb
1823
- - spec/integration/step_down_spec.rb
2393
+ - spec/integration/zstd_compression_spec.rb
2394
+ - spec/integration/bulk_insert_spec.rb
2395
+ - spec/integration/map_reduce_spec.rb
2396
+ - spec/integration/operation_failure_code_spec.rb
2397
+ - spec/integration/server_monitor_spec.rb
2398
+ - spec/integration/client_spec.rb
2399
+ - spec/integration/retryable_errors_spec.rb
2400
+ - spec/integration/srv_spec.rb
2401
+ - spec/integration/check_clean_slate_spec.rb
2402
+ - spec/integration/aws_lambda_examples_spec.rb
2403
+ - spec/integration/operation_failure_message_spec.rb
2404
+ - spec/integration/time_zone_querying_spec.rb
2405
+ - spec/integration/retryable_writes_errors_spec.rb
2406
+ - spec/integration/command_monitoring_spec.rb
2407
+ - spec/integration/client_construction_aws_auth_spec.rb
2408
+ - spec/integration/x509_auth_spec.rb
2409
+ - spec/integration/auth_spec.rb
2410
+ - spec/integration/connection/faas_env_spec.rb
2411
+ - spec/integration/server_selector_spec.rb
2412
+ - spec/integration/fork_reconnect_spec.rb
2413
+ - spec/integration/heartbeat_events_spec.rb
2414
+ - spec/integration/connection_pool_populator_spec.rb
2415
+ - spec/integration/aws_auth_credentials_cache_spec.rb
2416
+ - spec/integration/server_spec.rb
2417
+ - spec/integration/docs_examples_spec.rb
2418
+ - spec/integration/snapshot_query_examples_spec.rb
2419
+ - spec/integration/ocsp_verifier_cache_spec.rb
2420
+ - spec/integration/client_authentication_options_spec.rb
2421
+ - spec/integration/client_connectivity_spec.rb
2422
+ - spec/integration/sdam_prose_spec.rb
2423
+ - spec/integration/shell_examples_spec.rb
2424
+ - spec/integration/collection_indexes_prose_spec.rb
2425
+ - spec/integration/ssl_uri_options_spec.rb
2426
+ - spec/integration/zlib_compression_spec.rb
2427
+ - spec/integration/cursor_reaping_spec.rb
2428
+ - spec/integration/snappy_compression_spec.rb
2429
+ - spec/integration/query_cache_spec.rb
2430
+ - spec/integration/bulk_write_spec.rb
2431
+ - spec/integration/truncated_utf8_spec.rb
2432
+ - spec/integration/command_spec.rb
2433
+ - spec/integration/client_side_encryption/bson_size_limit_spec.rb
2434
+ - spec/integration/client_side_encryption/auto_encryption_command_monitoring_spec.rb
2435
+ - spec/integration/client_side_encryption/auto_encryption_mongocryptd_spawn_spec.rb
2436
+ - spec/integration/client_side_encryption/bypass_mongocryptd_spawn_spec.rb
2437
+ - spec/integration/client_side_encryption/queryable_encryption_examples_spec.rb
2438
+ - spec/integration/client_side_encryption/explicit_encryption_spec.rb
2439
+ - spec/integration/client_side_encryption/unique_index_on_key_alt_names_prose_spec.rb
2440
+ - spec/integration/client_side_encryption/views_spec.rb
2441
+ - spec/integration/client_side_encryption/decryption_events_prose_spec.rb
2442
+ - spec/integration/client_side_encryption/rewrap_prose_spec.rb
2443
+ - spec/integration/client_side_encryption/auto_encryption_old_wire_version_spec.rb
2444
+ - spec/integration/client_side_encryption/mongocryptd_prose_spec.rb
2445
+ - spec/integration/client_side_encryption/kms_tls_options_spec.rb
2446
+ - spec/integration/client_side_encryption/auto_encryption_bulk_writes_spec.rb
2447
+ - spec/integration/client_side_encryption/on_demand_azure_credentials_spec.rb
2448
+ - spec/integration/client_side_encryption/external_key_vault_spec.rb
2449
+ - spec/integration/client_side_encryption/explicit_queryable_encryption_spec.rb
2450
+ - spec/integration/client_side_encryption/custom_endpoint_spec.rb
2451
+ - spec/integration/client_side_encryption/automatic_data_encryption_keys_prose_spec.rb
2452
+ - spec/integration/client_side_encryption/corpus_spec.rb
2453
+ - spec/integration/client_side_encryption/range_explicit_encryption_prose_spec.rb
2454
+ - spec/integration/client_side_encryption/on_demand_gcp_credentials_spec.rb
2455
+ - spec/integration/client_side_encryption/client_close_spec.rb
2456
+ - spec/integration/client_side_encryption/kms_tls_spec.rb
2457
+ - spec/integration/client_side_encryption/auto_encryption_reconnect_spec.rb
2458
+ - spec/integration/client_side_encryption/data_key_spec.rb
2459
+ - spec/integration/client_side_encryption/auto_encryption_spec.rb
2460
+ - spec/integration/client_side_encryption/on_demand_aws_credentials_spec.rb
2461
+ - spec/integration/server_selection_spec.rb
2462
+ - spec/integration/ocsp_connectivity_spec.rb
2463
+ - spec/integration/error_detection_spec.rb
2464
+ - spec/integration/aws_auth_request_spec.rb
2465
+ - spec/integration/change_stream_examples_spec.rb
2466
+ - spec/integration/reconnect_spec.rb
2467
+ - spec/integration/retryable_reads_errors_spec.rb
2468
+ - spec/integration/transaction_pinning_spec.rb
2469
+ - spec/integration/connection_spec.rb
2470
+ - spec/integration/awaited_ismaster_spec.rb
1824
2471
  - spec/integration/transactions_api_examples_spec.rb
1825
- - spec/spec_tests/read_write_concern_document_spec.rb
2472
+ - spec/integration/client_construction_spec.rb
2473
+ - spec/integration/aws_credentials_retriever_spec.rb
2474
+ - spec/integration/sdam_events_spec.rb
2475
+ - spec/integration/change_stream_spec.rb
2476
+ - spec/stress/connection_pool_stress_spec.rb
2477
+ - spec/stress/cleanup_spec.rb
2478
+ - spec/stress/push_monitor_close_spec.rb
2479
+ - spec/stress/connection_pool_timing_spec.rb
2480
+ - spec/stress/fork_reconnect_stress_spec.rb
2481
+ - spec/atlas/operations_spec.rb
2482
+ - spec/atlas/atlas_connectivity_spec.rb
2483
+ - spec/USERS.md
2484
+ - spec/lite_spec_helper.rb
2485
+ - spec/spec_tests/retryable_writes_spec.rb
2486
+ - spec/spec_tests/sdam_unified_spec.rb
2487
+ - spec/spec_tests/retryable_reads_unified_spec.rb
2488
+ - spec/spec_tests/max_staleness_spec.rb
1826
2489
  - spec/spec_tests/uri_options_spec.rb
2490
+ - spec/spec_tests/connection_string_spec.rb
2491
+ - spec/spec_tests/change_streams_unified_spec.rb
2492
+ - spec/spec_tests/collection_management_spec.rb
2493
+ - spec/spec_tests/crud_spec.rb
2494
+ - spec/spec_tests/gridfs_unified_spec.rb
2495
+ - spec/spec_tests/load_balancers_spec.rb
2496
+ - spec/spec_tests/client_side_encryption_spec.rb
2497
+ - spec/spec_tests/unified_spec.rb
2498
+ - spec/spec_tests/read_write_concern_document_spec.rb
2499
+ - spec/spec_tests/seed_list_discovery_spec.rb
2500
+ - spec/spec_tests/versioned_api_spec.rb
2501
+ - spec/spec_tests/command_monitoring_unified_spec.rb
1827
2502
  - spec/spec_tests/server_selection_rtt_spec.rb
1828
- - spec/spec_tests/server_selection_spec.rb
1829
- - spec/spec_tests/retryable_reads_spec.rb
1830
- - spec/spec_tests/dns_seedlist_discovery_spec.rb
1831
- - spec/spec_tests/transactions_api_spec.rb
1832
- - spec/spec_tests/command_monitoring_spec.rb
1833
- - spec/spec_tests/cmap_spec.rb
1834
- - spec/spec_tests/gridfs_spec.rb
1835
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch1.yml
1836
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch3.yml
1837
- - spec/spec_tests/data/dns_seedlist_discovery/direct-connection-true.yml
1838
- - spec/spec_tests/data/dns_seedlist_discovery/returned-parent-wrong.yml
1839
- - spec/spec_tests/data/dns_seedlist_discovery/no-results.yml
1840
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch5.yml
1841
- - spec/spec_tests/data/dns_seedlist_discovery/direct-connection-false.yml
1842
- - spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-unallowed-option.yml
1843
- - spec/spec_tests/data/dns_seedlist_discovery/two-results-nonstandard-port.yml
1844
- - spec/spec_tests/data/dns_seedlist_discovery/misformatted-option.yml
1845
- - spec/spec_tests/data/dns_seedlist_discovery/uri-with-two-hosts.yml
1846
- - spec/spec_tests/data/dns_seedlist_discovery/returned-parent-too-short.yml
1847
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch4.yml
1848
- - spec/spec_tests/data/dns_seedlist_discovery/two-txt-records.yml
1849
- - spec/spec_tests/data/dns_seedlist_discovery/txt-record-not-allowed-option.yml
1850
- - spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-overridden-ssl-option.yml
1851
- - spec/spec_tests/data/dns_seedlist_discovery/one-txt-record.yml
1852
- - spec/spec_tests/data/dns_seedlist_discovery/one-result-default-port.yml
1853
- - spec/spec_tests/data/dns_seedlist_discovery/uri-with-port.yml
1854
- - spec/spec_tests/data/dns_seedlist_discovery/two-results-default-port.yml
1855
- - spec/spec_tests/data/dns_seedlist_discovery/txt-record-with-overridden-uri-option.yml
1856
- - spec/spec_tests/data/dns_seedlist_discovery/longer-parent-in-return.yml
1857
- - spec/spec_tests/data/dns_seedlist_discovery/not-enough-parts.yml
1858
- - spec/spec_tests/data/dns_seedlist_discovery/one-txt-record-multiple-strings.yml
1859
- - spec/spec_tests/data/dns_seedlist_discovery/parent-part-mismatch2.yml
1860
- - spec/spec_tests/data/sdam_monitoring/standalone_repeated.yml
1861
- - spec/spec_tests/data/sdam_monitoring/required_replica_set.yml
1862
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary_and_secondary.yml
1863
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_second_seed_removal.yml
1864
- - spec/spec_tests/data/sdam_monitoring/standalone_suppress_equal_description_changes.yml
1865
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary.yml
1866
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_me_mismatch.yml
1867
- - spec/spec_tests/data/sdam_monitoring/replica_set_other_change.yml
1868
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary_removal.yml
1869
- - spec/spec_tests/data/sdam_monitoring/replica_set_other_chain.yml
1870
- - spec/spec_tests/data/sdam_monitoring/replica_set_primary_address_change.yml
1871
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_no_primary.yml
1872
- - spec/spec_tests/data/sdam_monitoring/standalone_to_rs_with_me_mismatch.yml
1873
- - spec/spec_tests/data/sdam_monitoring/replica_set_with_removal.yml
1874
- - spec/spec_tests/data/sdam_monitoring/standalone.yml
1875
- - spec/spec_tests/data/sdam_monitoring/discovered_standalone.yml
1876
- - spec/spec_tests/data/retryable_reads/listCollectionObjects-serverErrors.yml
1877
- - spec/spec_tests/data/retryable_reads/find.yml
1878
- - spec/spec_tests/data/retryable_reads/changeStreams-db.coll.watch.yml
1879
- - spec/spec_tests/data/retryable_reads/listCollectionNames.yml
1880
- - spec/spec_tests/data/retryable_reads/listIndexes.yml
1881
- - spec/spec_tests/data/retryable_reads/distinct.yml
1882
- - spec/spec_tests/data/retryable_reads/findOne-serverErrors.yml
1883
- - spec/spec_tests/data/retryable_reads/changeStreams-db.watch-serverErrors.yml
1884
- - spec/spec_tests/data/retryable_reads/gridfs-download-serverErrors.yml
1885
- - spec/spec_tests/data/retryable_reads/listCollectionNames-serverErrors.yml
1886
- - spec/spec_tests/data/retryable_reads/countDocuments-serverErrors.yml
1887
- - spec/spec_tests/data/retryable_reads/changeStreams-client.watch-serverErrors.yml
1888
- - spec/spec_tests/data/retryable_reads/countDocuments.yml
1889
- - spec/spec_tests/data/retryable_reads/count-serverErrors.yml
1890
- - spec/spec_tests/data/retryable_reads/listIndexes-serverErrors.yml
1891
- - spec/spec_tests/data/retryable_reads/changeStreams-client.watch.yml
1892
- - spec/spec_tests/data/retryable_reads/listDatabases.yml
1893
- - spec/spec_tests/data/retryable_reads/mapReduce.yml
1894
- - spec/spec_tests/data/retryable_reads/listCollections-serverErrors.yml
1895
- - spec/spec_tests/data/retryable_reads/changeStreams-db.coll.watch-serverErrors.yml
1896
- - spec/spec_tests/data/retryable_reads/findOne.yml
1897
- - spec/spec_tests/data/retryable_reads/gridfs-downloadByName-serverErrors.yml
1898
- - spec/spec_tests/data/retryable_reads/aggregate.yml
1899
- - spec/spec_tests/data/retryable_reads/distinct-serverErrors.yml
1900
- - spec/spec_tests/data/retryable_reads/gridfs-downloadByName.yml
1901
- - spec/spec_tests/data/retryable_reads/listDatabaseNames.yml
1902
- - spec/spec_tests/data/retryable_reads/estimatedDocumentCount.yml
1903
- - spec/spec_tests/data/retryable_reads/listIndexNames-serverErrors.yml
1904
- - spec/spec_tests/data/retryable_reads/aggregate-serverErrors.yml
1905
- - spec/spec_tests/data/retryable_reads/listDatabaseObjects-serverErrors.yml
1906
- - spec/spec_tests/data/retryable_reads/listDatabaseNames-serverErrors.yml
1907
- - spec/spec_tests/data/retryable_reads/estimatedDocumentCount-serverErrors.yml
1908
- - spec/spec_tests/data/retryable_reads/listDatabases-serverErrors.yml
1909
- - spec/spec_tests/data/retryable_reads/listCollectionObjects.yml
1910
- - spec/spec_tests/data/retryable_reads/listIndexNames.yml
1911
- - spec/spec_tests/data/retryable_reads/listCollections.yml
1912
- - spec/spec_tests/data/retryable_reads/listDatabaseObjects.yml
1913
- - spec/spec_tests/data/retryable_reads/find-serverErrors.yml
1914
- - spec/spec_tests/data/retryable_reads/gridfs-download.yml
1915
- - spec/spec_tests/data/retryable_reads/count.yml
1916
- - spec/spec_tests/data/retryable_reads/changeStreams-db.watch.yml
1917
- - spec/spec_tests/data/retryable_reads/aggregate-merge.yml
1918
- - spec/spec_tests/data/gridfs/download.yml
1919
- - spec/spec_tests/data/gridfs/upload.yml
1920
- - spec/spec_tests/data/gridfs/delete.yml
1921
- - spec/spec_tests/data/gridfs/download_by_name.yml
1922
- - spec/spec_tests/data/transactions_api/commit-transienttransactionerror-4.2.yml
1923
- - spec/spec_tests/data/transactions_api/transaction-options.yml
1924
- - spec/spec_tests/data/transactions_api/callback-commits.yml
1925
- - spec/spec_tests/data/transactions_api/commit.yml
1926
- - spec/spec_tests/data/transactions_api/callback-retry.yml
1927
- - spec/spec_tests/data/transactions_api/commit-transienttransactionerror.yml
1928
- - spec/spec_tests/data/transactions_api/commit-writeconcernerror.yml
1929
- - spec/spec_tests/data/transactions_api/callback-aborts.yml
1930
- - spec/spec_tests/data/transactions_api/commit-retry.yml
1931
- - spec/spec_tests/data/client_side_encryption/localSchema.yml
1932
- - spec/spec_tests/data/client_side_encryption/find.yml
1933
- - spec/spec_tests/data/client_side_encryption/findOneAndUpdate.yml
1934
- - spec/spec_tests/data/client_side_encryption/distinct.yml
1935
- - spec/spec_tests/data/client_side_encryption/getMore.yml
1936
- - spec/spec_tests/data/client_side_encryption/maxWireVersion.yml
1937
- - spec/spec_tests/data/client_side_encryption/findOneAndDelete.yml
1938
- - spec/spec_tests/data/client_side_encryption/types.yml
1939
- - spec/spec_tests/data/client_side_encryption/countDocuments.yml
1940
- - spec/spec_tests/data/client_side_encryption/badSchema.yml
1941
- - spec/spec_tests/data/client_side_encryption/localKMS.yml
1942
- - spec/spec_tests/data/client_side_encryption/findOneAndReplace.yml
1943
- - spec/spec_tests/data/client_side_encryption/updateMany.yml
1944
- - spec/spec_tests/data/client_side_encryption/aggregate.yml
1945
- - spec/spec_tests/data/client_side_encryption/basic.yml
1946
- - spec/spec_tests/data/client_side_encryption/keyAltName.yml
1947
- - spec/spec_tests/data/client_side_encryption/delete.yml
1948
- - spec/spec_tests/data/client_side_encryption/bypassAutoEncryption.yml
1949
- - spec/spec_tests/data/client_side_encryption/unsupportedCommand.yml
1950
- - spec/spec_tests/data/client_side_encryption/bypassedCommand.yml
1951
- - spec/spec_tests/data/client_side_encryption/missingKey.yml
1952
- - spec/spec_tests/data/client_side_encryption/badQueries.yml
1953
- - spec/spec_tests/data/client_side_encryption/replaceOne.yml
1954
- - spec/spec_tests/data/client_side_encryption/bulk.yml
1955
- - spec/spec_tests/data/client_side_encryption/count.yml
1956
- - spec/spec_tests/data/client_side_encryption/insert.yml
1957
- - spec/spec_tests/data/client_side_encryption/explain.yml
1958
- - spec/spec_tests/data/client_side_encryption/malformedCiphertext.yml
1959
- - spec/spec_tests/data/client_side_encryption/updateOne.yml
1960
- - spec/spec_tests/data/auth/connection-string.yml
1961
- - spec/spec_tests/data/crud/read/find.yml
1962
- - spec/spec_tests/data/crud/read/count-empty.yml
1963
- - spec/spec_tests/data/crud/read/distinct.yml
1964
- - spec/spec_tests/data/crud/read/aggregate-out.yml
1965
- - spec/spec_tests/data/crud/read/find-collation.yml
1966
- - spec/spec_tests/data/crud/read/aggregate.yml
1967
- - spec/spec_tests/data/crud/read/distinct-collation.yml
1968
- - spec/spec_tests/data/crud/read/aggregate-collation.yml
1969
- - spec/spec_tests/data/crud/read/count.yml
1970
- - spec/spec_tests/data/crud/read/count-collation.yml
1971
- - spec/spec_tests/data/crud/write/updateOne-collation.yml
1972
- - spec/spec_tests/data/crud/write/replaceOne-collation.yml
1973
- - spec/spec_tests/data/crud/write/findOneAndUpdate.yml
1974
- - spec/spec_tests/data/crud/write/deleteMany-collation.yml
1975
- - spec/spec_tests/data/crud/write/findOneAndReplace-upsert.yml
1976
- - spec/spec_tests/data/crud/write/insertMany.yml
1977
- - spec/spec_tests/data/crud/write/replaceOne-upsert.yml
1978
- - spec/spec_tests/data/crud/write/bulkWrite.yml
1979
- - spec/spec_tests/data/crud/write/findOneAndDelete.yml
1980
- - spec/spec_tests/data/crud/write/updateMany-collation.yml
1981
- - spec/spec_tests/data/crud/write/updateOne-arrayFilters.yml
1982
- - spec/spec_tests/data/crud/write/findOneAndDelete-collation.yml
1983
- - spec/spec_tests/data/crud/write/findOneAndReplace.yml
1984
- - spec/spec_tests/data/crud/write/deleteMany.yml
1985
- - spec/spec_tests/data/crud/write/updateMany.yml
1986
- - spec/spec_tests/data/crud/write/deleteOne-collation.yml
1987
- - spec/spec_tests/data/crud/write/bulkWrite-collation.yml
1988
- - spec/spec_tests/data/crud/write/updateOne-pre_2.6.yml
1989
- - spec/spec_tests/data/crud/write/deleteOne.yml
1990
- - spec/spec_tests/data/crud/write/updateMany-arrayFilters.yml
1991
- - spec/spec_tests/data/crud/write/insertOne.yml
1992
- - spec/spec_tests/data/crud/write/replaceOne-pre_2.6.yml
1993
- - spec/spec_tests/data/crud/write/findOneAndReplace-upsert_pre_2.6.yml
1994
- - spec/spec_tests/data/crud/write/updateMany-pre_2.6.yml
1995
- - spec/spec_tests/data/crud/write/findOneAndUpdate-collation.yml
1996
- - spec/spec_tests/data/crud/write/replaceOne.yml
1997
- - spec/spec_tests/data/crud/write/bulkWrite-arrayFilters.yml
1998
- - spec/spec_tests/data/crud/write/findOneAndUpdate-arrayFilters.yml
1999
- - spec/spec_tests/data/crud/write/findOneAndReplace-collation.yml
2000
- - spec/spec_tests/data/crud/write/updateOne.yml
2001
- - spec/spec_tests/data/cmap/pool-checkout-no-idle.yml
2002
- - spec/spec_tests/data/cmap/pool-checkin.yml
2003
- - spec/spec_tests/data/cmap/pool-close-destroy-conns.yml
2004
- - spec/spec_tests/data/cmap/pool-checkin-destroy-stale.yml
2503
+ - spec/spec_tests/sdam_monitoring_spec.rb
2504
+ - spec/spec_tests/sessions_unified_spec.rb
2505
+ - spec/spec_tests/data/sessions_unified/snapshot-sessions-not-supported-client-error.yml
2506
+ - spec/spec_tests/data/sessions_unified/driver-sessions-server-support.yml
2507
+ - spec/spec_tests/data/sessions_unified/implicit-sessions-default-causal-consistency.yml
2508
+ - spec/spec_tests/data/sessions_unified/snapshot-sessions.yml
2509
+ - spec/spec_tests/data/sessions_unified/snapshot-sessions-unsupported-ops.yml
2510
+ - spec/spec_tests/data/sessions_unified/snapshot-sessions-not-supported-server-error.yml
2511
+ - spec/spec_tests/data/versioned_api/test-commands-strict-mode.yml
2512
+ - spec/spec_tests/data/versioned_api/crud-api-version-1-strict.yml
2513
+ - spec/spec_tests/data/versioned_api/transaction-handling.yml
2514
+ - spec/spec_tests/data/versioned_api/crud-api-version-1.yml
2515
+ - spec/spec_tests/data/versioned_api/runcommand-helper-no-api-version-declared.yml
2516
+ - spec/spec_tests/data/versioned_api/test-commands-deprecation-errors.yml
2005
2517
  - spec/spec_tests/data/cmap/pool-checkin-make-available.yml
2518
+ - spec/spec_tests/data/cmap/pool-checkout-returned-connection-maxConnecting.yml
2519
+ - spec/spec_tests/data/cmap/pool-checkout-maxConnecting-is-enforced.yml
2520
+ - spec/spec_tests/data/cmap/pool-checkin.yml
2521
+ - spec/spec_tests/data/cmap/pool-ready-ready.yml
2522
+ - spec/spec_tests/data/cmap/pool-checkout-no-idle.yml
2523
+ - spec/spec_tests/data/cmap/wait-queue-fairness.yml
2524
+ - spec/spec_tests/data/cmap/pool-create-max-size.yml
2006
2525
  - spec/spec_tests/data/cmap/connection-must-have-id.yml
2526
+ - spec/spec_tests/data/cmap/pool-checkout-minPoolSize-connection-maxConnecting.yml
2527
+ - spec/spec_tests/data/cmap/pool-clear-interrupting-pending-connections.yml
2528
+ - spec/spec_tests/data/cmap/pool-clear-schedule-run-interruptInUseConnections-false.yml
2529
+ - spec/spec_tests/data/cmap/pool-create-with-options.yml
2530
+ - spec/spec_tests/data/cmap/pool-checkin-destroy-stale.yml
2531
+ - spec/spec_tests/data/cmap/pool-create.yml
2532
+ - spec/spec_tests/data/cmap/pool-close-destroy-conns.yml
2533
+ - spec/spec_tests/data/cmap/pool-checkout-error-closed.yml
2534
+ - spec/spec_tests/data/cmap/pool-clear-ready.yml
2007
2535
  - spec/spec_tests/data/cmap/pool-close.yml
2008
- - spec/spec_tests/data/cmap/pool-checkout-no-stale.yml
2009
- - spec/spec_tests/data/cmap/connection-must-order-ids.yml
2010
- - spec/spec_tests/data/cmap/pool-checkout-connection.yml
2011
- - spec/spec_tests/data/cmap/pool-checkout-multiple.yml
2536
+ - spec/spec_tests/data/cmap/pool-checkout-maxConnecting-timeout.yml
2012
2537
  - spec/spec_tests/data/cmap/pool-checkin-destroy-closed.yml
2013
- - spec/spec_tests/data/cmap/pool-create-with-options.yml
2014
- - spec/spec_tests/data/cmap/wait-queue-fairness.yml
2538
+ - spec/spec_tests/data/cmap/pool-ready.yml
2015
2539
  - spec/spec_tests/data/cmap/pool-create-min-size.yml
2016
- - spec/spec_tests/data/cmap/pool-create-max-size.yml
2540
+ - spec/spec_tests/data/cmap/pool-clear-paused.yml
2541
+ - spec/spec_tests/data/cmap/connection-must-order-ids.yml
2542
+ - spec/spec_tests/data/cmap/pool-checkout-multiple.yml
2543
+ - spec/spec_tests/data/cmap/pool-checkout-custom-maxConnecting-is-enforced.yml
2544
+ - spec/spec_tests/data/cmap/pool-create-min-size-error.yml
2545
+ - spec/spec_tests/data/cmap/pool-clear-interrupt-immediately.yml
2546
+ - spec/spec_tests/data/cmap/pool-clear-min-size.yml
2547
+ - spec/spec_tests/data/cmap/pool-checkout-connection.yml
2548
+ - spec/spec_tests/data/cmap/pool-checkout-no-stale.yml
2017
2549
  - spec/spec_tests/data/cmap/wait-queue-timeout.yml
2018
- - spec/spec_tests/data/cmap/pool-create.yml
2019
- - spec/spec_tests/data/cmap/pool-checkout-error-closed.yml
2550
+ - spec/spec_tests/data/auth/connection-string.yml
2551
+ - spec/spec_tests/data/retryable_writes/legacy/deleteMany.yml
2552
+ - spec/spec_tests/data/retryable_writes/legacy/deleteOne-serverErrors.yml
2553
+ - spec/spec_tests/data/retryable_writes/legacy/updateOne-errorLabels.yml
2554
+ - spec/spec_tests/data/retryable_writes/legacy/replaceOne.yml
2555
+ - spec/spec_tests/data/retryable_writes/legacy/insertOne.yml
2556
+ - spec/spec_tests/data/retryable_writes/legacy/findOneAndUpdate-serverErrors.yml
2557
+ - spec/spec_tests/data/retryable_writes/legacy/replaceOne-serverErrors.yml
2558
+ - spec/spec_tests/data/retryable_writes/legacy/insertOne-errorLabels.yml
2559
+ - spec/spec_tests/data/retryable_writes/legacy/bulkWrite.yml
2560
+ - spec/spec_tests/data/retryable_writes/legacy/updateOne-serverErrors.yml
2561
+ - spec/spec_tests/data/retryable_writes/legacy/updateMany.yml
2562
+ - spec/spec_tests/data/retryable_writes/legacy/updateOne.yml
2563
+ - spec/spec_tests/data/retryable_writes/legacy/insertMany.yml
2564
+ - spec/spec_tests/data/retryable_writes/legacy/findOneAndUpdate.yml
2565
+ - spec/spec_tests/data/retryable_writes/legacy/findOneAndUpdate-errorLabels.yml
2566
+ - spec/spec_tests/data/retryable_writes/legacy/deleteOne-errorLabels.yml
2567
+ - spec/spec_tests/data/retryable_writes/legacy/findOneAndDelete-serverErrors.yml
2568
+ - spec/spec_tests/data/retryable_writes/legacy/bulkWrite-serverErrors.yml
2569
+ - spec/spec_tests/data/retryable_writes/legacy/findOneAndDelete-errorLabels.yml
2570
+ - spec/spec_tests/data/retryable_writes/legacy/findOneAndReplace-serverErrors.yml
2571
+ - spec/spec_tests/data/retryable_writes/legacy/insertOne-serverErrors.yml
2572
+ - spec/spec_tests/data/retryable_writes/legacy/insertMany-errorLabels.yml
2573
+ - spec/spec_tests/data/retryable_writes/legacy/findOneAndDelete.yml
2574
+ - spec/spec_tests/data/retryable_writes/legacy/insertMany-serverErrors.yml
2575
+ - spec/spec_tests/data/retryable_writes/legacy/bulkWrite-errorLabels.yml
2576
+ - spec/spec_tests/data/retryable_writes/legacy/deleteOne.yml
2577
+ - spec/spec_tests/data/retryable_writes/legacy/findOneAndReplace-errorLabels.yml
2578
+ - spec/spec_tests/data/retryable_writes/legacy/findOneAndReplace.yml
2579
+ - spec/spec_tests/data/retryable_writes/legacy/replaceOne-errorLabels.yml
2580
+ - spec/spec_tests/data/retryable_writes/unified/insertOne-noWritesPerformedError.yml
2581
+ - spec/spec_tests/data/retryable_writes/unified/bulkWrite-serverErrors.yml
2582
+ - spec/spec_tests/data/retryable_writes/unified/handshakeError.yml
2583
+ - spec/spec_tests/data/retryable_writes/unified/insertOne-serverErrors.yml
2584
+ - spec/spec_tests/data/server_selection/Single/read/SecondaryPreferred.yml
2585
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_multi_tags.yml
2586
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest_multiple.yml
2587
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PossiblePrimary.yml
2588
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/SecondaryPreferred_non_matching.yml
2589
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary.yml
2590
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/SecondaryPreferred.yml
2591
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PossiblePrimaryNearest.yml
2592
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest.yml
2593
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PrimaryPreferred_non_matching.yml
2594
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest_non_matching.yml
2595
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PrimaryPreferred.yml
2596
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_non_matching.yml
2597
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_multi_tags2.yml
2598
+ - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Primary.yml
2599
+ - spec/spec_tests/data/server_selection/Sharded/read/Secondary.yml
2600
+ - spec/spec_tests/data/server_selection/Sharded/read/SecondaryPreferred.yml
2601
+ - spec/spec_tests/data/server_selection/Sharded/read/Nearest.yml
2602
+ - spec/spec_tests/data/server_selection/Sharded/read/PrimaryPreferred.yml
2603
+ - spec/spec_tests/data/server_selection/Sharded/read/Primary.yml
2604
+ - spec/spec_tests/data/server_selection/Unknown/write/ghost.yml
2605
+ - spec/spec_tests/data/server_selection/Unknown/read/ghost.yml
2606
+ - spec/spec_tests/data/server_selection/Unknown/read/SecondaryPreferred.yml
2607
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest_multiple.yml
2608
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred_non_matching.yml
2609
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Secondary.yml
2610
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred.yml
2611
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest.yml
2612
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/PrimaryPreferred_non_matching.yml
2613
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest_non_matching.yml
2614
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/PrimaryPreferred.yml
2615
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Secondary_non_matching.yml
2616
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred_tags.yml
2617
+ - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Primary.yml
2618
+ - spec/spec_tests/data/transactions_api/callback-commits.yml
2619
+ - spec/spec_tests/data/transactions_api/commit-transienttransactionerror-4.2.yml
2620
+ - spec/spec_tests/data/transactions_api/callback-aborts.yml
2621
+ - spec/spec_tests/data/transactions_api/commit-writeconcernerror.yml
2622
+ - spec/spec_tests/data/transactions_api/commit-transienttransactionerror.yml
2623
+ - spec/spec_tests/data/transactions_api/callback-retry.yml
2624
+ - spec/spec_tests/data/transactions_api/commit.yml
2625
+ - spec/spec_tests/data/transactions_api/transaction-options.yml
2626
+ - spec/spec_tests/data/transactions_api/commit-retry.yml
2627
+ - spec/spec_tests/data/uri_options/compression-options.yml
2628
+ - spec/spec_tests/data/uri_options/ruby-auth-options.yml
2020
2629
  - spec/spec_tests/data/uri_options/connection-pool-options.yml
2630
+ - spec/spec_tests/data/uri_options/ruby-connection-options.yml
2631
+ - spec/spec_tests/data/uri_options/srv-options.yml
2021
2632
  - spec/spec_tests/data/uri_options/tls-options.yml
2022
- - spec/spec_tests/data/uri_options/ruby-auth-options.yml
2023
- - spec/spec_tests/data/uri_options/compression-options.yml
2633
+ - spec/spec_tests/data/uri_options/auth-options.yml
2024
2634
  - spec/spec_tests/data/uri_options/concern-options.yml
2025
- - spec/spec_tests/data/uri_options/connection-options.yml
2026
2635
  - spec/spec_tests/data/uri_options/read-preference-options.yml
2027
- - spec/spec_tests/data/uri_options/auth-options.yml
2028
- - spec/spec_tests/data/uri_options/ruby-connection-options.yml
2029
- - spec/spec_tests/data/sdam_integration/isMaster-timeout.yml
2030
- - spec/spec_tests/data/sdam_integration/rediscover-quickly-after-step-down.yml
2031
- - spec/spec_tests/data/sdam_integration/insert-network-error.yml
2032
- - spec/spec_tests/data/sdam_integration/find-shutdown-error.yml
2033
- - spec/spec_tests/data/sdam_integration/cancel-server-check.yml
2034
- - spec/spec_tests/data/sdam_integration/insert-shutdown-error.yml
2035
- - spec/spec_tests/data/sdam_integration/isMaster-network-error.yml
2036
- - spec/spec_tests/data/sdam_integration/isMaster-command-error.yml
2037
- - spec/spec_tests/data/sdam_integration/find-network-error.yml
2038
- - spec/spec_tests/data/sdam_integration/connectTimeoutMS.yml
2039
- - spec/spec_tests/data/max_staleness/Sharded/Incompatible.yml
2040
- - spec/spec_tests/data/max_staleness/Sharded/SmallMaxStaleness.yml
2041
- - spec/spec_tests/data/max_staleness/Single/Incompatible.yml
2042
- - spec/spec_tests/data/max_staleness/Single/SmallMaxStaleness.yml
2043
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/MaxStalenessWithModePrimary.yml
2044
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/MaxStalenessTooSmall.yml
2045
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred_tags.yml
2046
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest.yml
2047
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred.yml
2048
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LastUpdateTime.yml
2049
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Secondary_tags2.yml
2050
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/DefaultNoMaxStaleness.yml
2051
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/PrimaryPreferred.yml
2052
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
2053
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LongHeartbeat2.yml
2054
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred_tags2.yml
2055
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Secondary_tags.yml
2056
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LongHeartbeat.yml
2057
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/PrimaryPreferred_incompatible.yml
2058
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/ZeroMaxStaleness.yml
2059
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest_tags.yml
2060
- - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest2.yml
2061
- - spec/spec_tests/data/max_staleness/Unknown/SmallMaxStaleness.yml
2062
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml
2063
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/SecondaryPreferred_tags.yml
2064
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Nearest.yml
2636
+ - spec/spec_tests/data/uri_options/connection-options.yml
2637
+ - spec/spec_tests/data/connection_string/valid-host_identifiers.yml
2638
+ - spec/spec_tests/data/connection_string/valid-db-with-dotted-name.yml
2639
+ - spec/spec_tests/data/connection_string/valid-unix_socket-absolute.yml
2640
+ - spec/spec_tests/data/connection_string/valid-auth.yml
2641
+ - spec/spec_tests/data/connection_string/valid-warnings.yml
2642
+ - spec/spec_tests/data/connection_string/valid-options.yml
2643
+ - spec/spec_tests/data/connection_string/invalid-uris.yml
2644
+ - spec/spec_tests/data/connection_string/valid-unix_socket-relative.yml
2645
+ - spec/spec_tests/data/sdam_monitoring/replica_set_other_chain.yml
2646
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_second_seed_removal.yml
2647
+ - spec/spec_tests/data/sdam_monitoring/required_replica_set.yml
2648
+ - spec/spec_tests/data/sdam_monitoring/standalone.yml
2649
+ - spec/spec_tests/data/sdam_monitoring/load_balancer.yml
2650
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary.yml
2651
+ - spec/spec_tests/data/sdam_monitoring/standalone_suppress_equal_description_changes.yml
2652
+ - spec/spec_tests/data/sdam_monitoring/standalone_repeated.yml
2653
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_no_primary.yml
2654
+ - spec/spec_tests/data/sdam_monitoring/standalone_to_rs_with_me_mismatch.yml
2655
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary_removal.yml
2656
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_primary_and_secondary.yml
2657
+ - spec/spec_tests/data/sdam_monitoring/replica_set_primary_address_change.yml
2658
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_me_mismatch.yml
2659
+ - spec/spec_tests/data/sdam_monitoring/replica_set_other_change.yml
2660
+ - spec/spec_tests/data/sdam_monitoring/replica_set_with_removal.yml
2661
+ - spec/spec_tests/data/sdam_monitoring/discovered_standalone.yml
2662
+ - spec/spec_tests/data/max_staleness/Single/SmallMaxStaleness.yml
2663
+ - spec/spec_tests/data/max_staleness/Single/Incompatible.yml
2664
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Secondary.yml
2065
2665
  - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/SecondaryPreferred.yml
2066
2666
  - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/LastUpdateTime.yml
2667
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/ZeroMaxStaleness.yml
2067
2668
  - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/DefaultNoMaxStaleness.yml
2068
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Secondary.yml
2669
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Nearest.yml
2069
2670
  - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/NoKnownServers.yml
2070
2671
  - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/PrimaryPreferred.yml
2071
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Incompatible.yml
2072
- - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/ZeroMaxStaleness.yml
2672
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml
2073
2673
  - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/PrimaryPreferred_tags.yml
2674
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Incompatible.yml
2074
2675
  - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/Nearest2.yml
2075
- - spec/spec_tests/data/sdam/single/direct_connection_wrong_set_name.yml
2076
- - spec/spec_tests/data/sdam/single/discover_standalone.yml
2077
- - spec/spec_tests/data/sdam/single/direct_connection_mongos.yml
2078
- - spec/spec_tests/data/sdam/single/not_ok_response.yml
2079
- - spec/spec_tests/data/sdam/single/direct_connection_rssecondary.yml
2080
- - spec/spec_tests/data/sdam/single/direct_connection_unavailable_seed.yml
2081
- - spec/spec_tests/data/sdam/single/direct_connection_external_ip.yml
2082
- - spec/spec_tests/data/sdam/single/direct_connection_rsprimary.yml
2083
- - spec/spec_tests/data/sdam/single/too_new.yml
2084
- - spec/spec_tests/data/sdam/single/too_old_then_upgraded.yml
2085
- - spec/spec_tests/data/sdam/single/standalone_removed.yml
2086
- - spec/spec_tests/data/sdam/single/ruby_primary_mismatched_me.yml
2087
- - spec/spec_tests/data/sdam/single/discover_unavailable_seed.yml
2088
- - spec/spec_tests/data/sdam/single/direct_connection_standalone.yml
2089
- - spec/spec_tests/data/sdam/single/ls_timeout_standalone.yml
2090
- - spec/spec_tests/data/sdam/single/direct_connection_rsarbiter.yml
2091
- - spec/spec_tests/data/sdam/single/too_old.yml
2092
- - spec/spec_tests/data/sdam/single/direct_connection_slave.yml
2093
- - spec/spec_tests/data/sdam/single/compatible.yml
2094
- - spec/spec_tests/data/sdam/single/ruby_primary_different_address.yml
2095
- - spec/spec_tests/data/sdam/single/direct_connection_replicaset.yml
2096
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-InterruptedDueToReplStateChange.yml
2097
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotMaster.yml
2676
+ - spec/spec_tests/data/max_staleness/ReplicaSetNoPrimary/SecondaryPreferred_tags.yml
2677
+ - spec/spec_tests/data/max_staleness/Sharded/SmallMaxStaleness.yml
2678
+ - spec/spec_tests/data/max_staleness/Sharded/Incompatible.yml
2679
+ - spec/spec_tests/data/max_staleness/Unknown/SmallMaxStaleness.yml
2680
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LongHeartbeat.yml
2681
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LongHeartbeat2.yml
2682
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Secondary_tags.yml
2683
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred.yml
2684
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/LastUpdateTime.yml
2685
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/ZeroMaxStaleness.yml
2686
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred_tags2.yml
2687
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/DefaultNoMaxStaleness.yml
2688
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest_tags.yml
2689
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest.yml
2690
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/PrimaryPreferred_incompatible.yml
2691
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Secondary_tags2.yml
2692
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/PrimaryPreferred.yml
2693
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/MaxStalenessTooSmall.yml
2694
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Incompatible.yml
2695
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/Nearest2.yml
2696
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/SecondaryPreferred_tags.yml
2697
+ - spec/spec_tests/data/max_staleness/ReplicaSetWithPrimary/MaxStalenessWithModePrimary.yml
2698
+ - spec/spec_tests/data/crud_unified/estimatedDocumentCount.yml
2699
+ - spec/spec_tests/data/crud_unified/updateOne-dots_and_dollars.yml
2700
+ - spec/spec_tests/data/crud_unified/findOneAndUpdate-dots_and_dollars.yml
2701
+ - spec/spec_tests/data/crud_unified/db-aggregate-write-readPreference.yml
2702
+ - spec/spec_tests/data/crud_unified/bulkWrite-deleteOne-hint-unacknowledged.yml
2703
+ - spec/spec_tests/data/crud_unified/replaceOne-let.yml
2704
+ - spec/spec_tests/data/crud_unified/updateMany-hint-clientError.yml
2705
+ - spec/spec_tests/data/crud_unified/findOneAndDelete-comment.yml
2706
+ - spec/spec_tests/data/crud_unified/findOneAndReplace-comment.yml
2707
+ - spec/spec_tests/data/crud_unified/findOneAndDelete-hint-clientError.yml
2708
+ - spec/spec_tests/data/crud_unified/aggregate-let.yml
2709
+ - spec/spec_tests/data/crud_unified/updateWithPipelines.yml
2710
+ - spec/spec_tests/data/crud_unified/bulkWrite-updateMany-let.yml
2711
+ - spec/spec_tests/data/crud_unified/distinct-comment.yml
2712
+ - spec/spec_tests/data/crud_unified/bulkWrite-update-hint-serverError.yml
2713
+ - spec/spec_tests/data/crud_unified/updateOne-hint-unacknowledged.yml
2714
+ - spec/spec_tests/data/crud_unified/deleteOne-hint.yml
2715
+ - spec/spec_tests/data/crud_unified/updateMany-let.yml
2716
+ - spec/spec_tests/data/crud_unified/updateMany-comment.yml
2717
+ - spec/spec_tests/data/crud_unified/findOneAndReplace-hint-serverError.yml
2718
+ - spec/spec_tests/data/crud_unified/updateMany-validation.yml
2719
+ - spec/spec_tests/data/crud_unified/bulkWrite-deleteMany-hint-unacknowledged.yml
2720
+ - spec/spec_tests/data/crud_unified/deleteMany-hint-unacknowledged.yml
2721
+ - spec/spec_tests/data/crud_unified/deleteOne-hint-serverError.yml
2722
+ - spec/spec_tests/data/crud_unified/aggregate-merge-errorResponse.yml
2723
+ - spec/spec_tests/data/crud_unified/findOneAndDelete-hint.yml
2724
+ - spec/spec_tests/data/crud_unified/deleteOne-hint-unacknowledged.yml
2725
+ - spec/spec_tests/data/crud_unified/bulkWrite-update-hint.yml
2726
+ - spec/spec_tests/data/crud_unified/updateOne-hint-serverError.yml
2727
+ - spec/spec_tests/data/crud_unified/insertOne-errorResponse.yml
2728
+ - spec/spec_tests/data/crud_unified/bulkWrite-update-validation.yml
2729
+ - spec/spec_tests/data/crud_unified/bulkWrite-update-hint-clientError.yml
2730
+ - spec/spec_tests/data/crud_unified/updateMany-hint.yml
2731
+ - spec/spec_tests/data/crud_unified/findOneAndReplace-let.yml
2732
+ - spec/spec_tests/data/crud_unified/bulkWrite-updateOne-hint-unacknowledged.yml
2733
+ - spec/spec_tests/data/crud_unified/replaceOne-comment.yml
2734
+ - spec/spec_tests/data/crud_unified/findOneAndReplace-hint-unacknowledged.yml
2735
+ - spec/spec_tests/data/crud_unified/bulkWrite-delete-hint-clientError.yml
2736
+ - spec/spec_tests/data/crud_unified/deleteOne-comment.yml
2737
+ - spec/spec_tests/data/crud_unified/db-aggregate.yml
2738
+ - spec/spec_tests/data/crud_unified/findOneAndUpdate-hint-clientError.yml
2739
+ - spec/spec_tests/data/crud_unified/bulkWrite-replaceOne-hint-unacknowledged.yml
2740
+ - spec/spec_tests/data/crud_unified/replaceOne-hint.yml
2741
+ - spec/spec_tests/data/crud_unified/deleteOne-errorResponse.yml
2742
+ - spec/spec_tests/data/crud_unified/countDocuments-comment.yml
2743
+ - spec/spec_tests/data/crud_unified/updateOne-comment.yml
2744
+ - spec/spec_tests/data/crud_unified/aggregate-out-readConcern.yml
2745
+ - spec/spec_tests/data/crud_unified/updateMany-hint-serverError.yml
2746
+ - spec/spec_tests/data/crud_unified/bulkWrite-comment.yml
2747
+ - spec/spec_tests/data/crud_unified/updateMany-hint-unacknowledged.yml
2748
+ - spec/spec_tests/data/crud_unified/bulkWrite-deleteOne-let.yml
2749
+ - spec/spec_tests/data/crud_unified/replaceOne-dots_and_dollars.yml
2750
+ - spec/spec_tests/data/crud_unified/findOneAndDelete-let.yml
2751
+ - spec/spec_tests/data/crud_unified/deleteOne-let.yml
2752
+ - spec/spec_tests/data/crud_unified/deleteOne-hint-clientError.yml
2753
+ - spec/spec_tests/data/crud_unified/aggregate-write-readPreference.yml
2754
+ - spec/spec_tests/data/crud_unified/replaceOne-hint-unacknowledged.yml
2755
+ - spec/spec_tests/data/crud_unified/find-let.yml
2756
+ - spec/spec_tests/data/crud_unified/bulkWrite-replaceOne-let.yml
2757
+ - spec/spec_tests/data/crud_unified/insertMany-comment.yml
2758
+ - spec/spec_tests/data/crud_unified/replaceOne-validation.yml
2759
+ - spec/spec_tests/data/crud_unified/find.yml
2760
+ - spec/spec_tests/data/crud_unified/bulkWrite-updateOne-let.yml
2761
+ - spec/spec_tests/data/crud_unified/bulkWrite-delete-hint.yml
2762
+ - spec/spec_tests/data/crud_unified/aggregate-allowdiskuse.yml
2763
+ - spec/spec_tests/data/crud_unified/find-comment.yml
2764
+ - spec/spec_tests/data/crud_unified/updateOne-validation.yml
2765
+ - spec/spec_tests/data/crud_unified/insertOne-comment.yml
2766
+ - spec/spec_tests/data/crud_unified/updateOne-let.yml
2767
+ - spec/spec_tests/data/crud_unified/find-allowdiskuse.yml
2768
+ - spec/spec_tests/data/crud_unified/insertMany-dots_and_dollars.yml
2769
+ - spec/spec_tests/data/crud_unified/insertOne-dots_and_dollars.yml
2770
+ - spec/spec_tests/data/crud_unified/updateOne-hint.yml
2771
+ - spec/spec_tests/data/crud_unified/bulkWrite-delete-hint-serverError.yml
2772
+ - spec/spec_tests/data/crud_unified/bulkWrite-errorResponse.yml
2773
+ - spec/spec_tests/data/crud_unified/findOneAndUpdate-errorResponse.yml
2774
+ - spec/spec_tests/data/crud_unified/deleteMany-hint-serverError.yml
2775
+ - spec/spec_tests/data/crud_unified/findOneAndUpdate-let.yml
2776
+ - spec/spec_tests/data/crud_unified/findOneAndDelete-hint-unacknowledged.yml
2777
+ - spec/spec_tests/data/crud_unified/updateOne-hint-clientError.yml
2778
+ - spec/spec_tests/data/crud_unified/bulkWrite-deleteMany-let.yml
2779
+ - spec/spec_tests/data/crud_unified/findOneAndDelete-hint-serverError.yml
2780
+ - spec/spec_tests/data/crud_unified/updateOne-errorResponse.yml
2781
+ - spec/spec_tests/data/crud_unified/estimatedDocumentCount-comment.yml
2782
+ - spec/spec_tests/data/crud_unified/aggregate.yml
2783
+ - spec/spec_tests/data/crud_unified/aggregate-merge.yml
2784
+ - spec/spec_tests/data/crud_unified/bulkWrite-insertOne-dots_and_dollars.yml
2785
+ - spec/spec_tests/data/crud_unified/deleteMany-let.yml
2786
+ - spec/spec_tests/data/crud_unified/bulkWrite-updateMany-dots_and_dollars.yml
2787
+ - spec/spec_tests/data/crud_unified/findOneAndUpdate-hint-unacknowledged.yml
2788
+ - spec/spec_tests/data/crud_unified/bulkWrite-updateMany-hint-unacknowledged.yml
2789
+ - spec/spec_tests/data/crud_unified/findOneAndUpdate-hint.yml
2790
+ - spec/spec_tests/data/crud_unified/updateMany-dots_and_dollars.yml
2791
+ - spec/spec_tests/data/crud_unified/bulkWrite-updateOne-dots_and_dollars.yml
2792
+ - spec/spec_tests/data/crud_unified/bulkWrite-replaceOne-dots_and_dollars.yml
2793
+ - spec/spec_tests/data/crud_unified/findOneAndUpdate-hint-serverError.yml
2794
+ - spec/spec_tests/data/crud_unified/deleteMany-comment.yml
2795
+ - spec/spec_tests/data/crud_unified/deleteMany-hint.yml
2796
+ - spec/spec_tests/data/crud_unified/findOneAndReplace-dots_and_dollars.yml
2797
+ - spec/spec_tests/data/crud_unified/findOneAndReplace-hint-clientError.yml
2798
+ - spec/spec_tests/data/crud_unified/bulkWrite-arrayFilters-clientError.yml
2799
+ - spec/spec_tests/data/crud_unified/bulkWrite-arrayFilters.yml
2800
+ - spec/spec_tests/data/crud_unified/findOneAndReplace-hint.yml
2801
+ - spec/spec_tests/data/crud_unified/deleteMany-hint-clientError.yml
2802
+ - spec/spec_tests/data/crud_unified/find-allowdiskuse-serverError.yml
2803
+ - spec/spec_tests/data/crud_unified/findOneAndUpdate-comment.yml
2804
+ - spec/spec_tests/data/crud_unified/find-allowdiskuse-clientError.yml
2805
+ - spec/spec_tests/data/load_balancers/non-lb-connection-establishment.yml
2806
+ - spec/spec_tests/data/load_balancers/lb-connection-establishment.yml
2807
+ - spec/spec_tests/data/load_balancers/server-selection.yml
2808
+ - spec/spec_tests/data/load_balancers/event-monitoring.yml
2809
+ - spec/spec_tests/data/command_monitoring_unified/deleteMany.yml
2810
+ - spec/spec_tests/data/command_monitoring_unified/writeConcernError.yml
2811
+ - spec/spec_tests/data/command_monitoring_unified/pre-42-server-connection-id.yml
2812
+ - spec/spec_tests/data/command_monitoring_unified/insertOne.yml
2813
+ - spec/spec_tests/data/command_monitoring_unified/bulkWrite.yml
2814
+ - spec/spec_tests/data/command_monitoring_unified/redacted-commands.yml
2815
+ - spec/spec_tests/data/command_monitoring_unified/updateMany.yml
2816
+ - spec/spec_tests/data/command_monitoring_unified/command.yml
2817
+ - spec/spec_tests/data/command_monitoring_unified/updateOne.yml
2818
+ - spec/spec_tests/data/command_monitoring_unified/insertMany.yml
2819
+ - spec/spec_tests/data/command_monitoring_unified/find.yml
2820
+ - spec/spec_tests/data/command_monitoring_unified/unacknowledgedBulkWrite.yml
2821
+ - spec/spec_tests/data/command_monitoring_unified/server-connection-id.yml
2822
+ - spec/spec_tests/data/command_monitoring_unified/deleteOne.yml
2823
+ - spec/spec_tests/data/change_streams_unified/change-streams-pre_and_post_images.yml
2824
+ - spec/spec_tests/data/change_streams_unified/change-streams-resume-errorLabels.yml
2825
+ - spec/spec_tests/data/change_streams_unified/change-streams-errors.yml
2826
+ - spec/spec_tests/data/change_streams_unified/change-streams.yml
2827
+ - spec/spec_tests/data/change_streams_unified/change-streams-disambiguatedPaths.yml
2828
+ - spec/spec_tests/data/change_streams_unified/change-streams-resume-allowlist.yml
2829
+ - spec/spec_tests/data/change_streams_unified/change-streams-showExpandedEvents.yml
2830
+ - spec/spec_tests/data/change_streams_unified/change-streams-clusterTime.yml
2831
+ - spec/spec_tests/data/read_write_concern/document/read-concern.yml
2832
+ - spec/spec_tests/data/read_write_concern/document/write-concern.yml
2833
+ - spec/spec_tests/data/read_write_concern/connection-string/read-concern.yml
2834
+ - spec/spec_tests/data/read_write_concern/connection-string/write-concern.yml
2835
+ - spec/spec_tests/data/read_write_concern/operation/default-write-concern-4.2.yml
2836
+ - spec/spec_tests/data/read_write_concern/operation/default-write-concern-3.4.yml
2837
+ - spec/spec_tests/data/read_write_concern/operation/default-write-concern-2.6.yml
2838
+ - spec/spec_tests/data/read_write_concern/operation/default-write-concern-3.2.yml
2839
+ - spec/spec_tests/data/gridfs_unified/downloadByName.yml
2840
+ - spec/spec_tests/data/gridfs_unified/delete.yml
2841
+ - spec/spec_tests/data/gridfs_unified/download.yml
2842
+ - spec/spec_tests/data/gridfs_unified/upload-disableMD5.yml
2843
+ - spec/spec_tests/data/gridfs_unified/upload.yml
2844
+ - spec/spec_tests/data/seed_list_discovery/load-balanced/srvMaxHosts-conflicts_with_loadBalanced-true.yml
2845
+ - spec/spec_tests/data/seed_list_discovery/load-balanced/loadBalanced-true-txt.yml
2846
+ - spec/spec_tests/data/seed_list_discovery/load-balanced/srvMaxHosts-conflicts_with_loadBalanced-true-txt.yml
2847
+ - spec/spec_tests/data/seed_list_discovery/load-balanced/loadBalanced-no-results.yml
2848
+ - spec/spec_tests/data/seed_list_discovery/load-balanced/srvMaxHosts-zero-txt.yml
2849
+ - spec/spec_tests/data/seed_list_discovery/load-balanced/loadBalanced-true-multiple-hosts.yml
2850
+ - spec/spec_tests/data/seed_list_discovery/load-balanced/srvMaxHosts-zero.yml
2851
+ - spec/spec_tests/data/seed_list_discovery/load-balanced/loadBalanced-replicaSet-errors.yml
2852
+ - spec/spec_tests/data/seed_list_discovery/load-balanced/loadBalanced-directConnection.yml
2853
+ - spec/spec_tests/data/seed_list_discovery/sharded/srvMaxHosts-greater_than_srv_records.yml
2854
+ - spec/spec_tests/data/seed_list_discovery/sharded/srvMaxHosts-equal_to_srv_records.yml
2855
+ - spec/spec_tests/data/seed_list_discovery/sharded/srvMaxHosts-zero.yml
2856
+ - spec/spec_tests/data/seed_list_discovery/sharded/srvMaxHosts-less_than_srv_records.yml
2857
+ - spec/spec_tests/data/seed_list_discovery/replica-set/one-txt-record.yml
2858
+ - spec/spec_tests/data/seed_list_discovery/replica-set/srvMaxHosts-greater_than_srv_records.yml
2859
+ - spec/spec_tests/data/seed_list_discovery/replica-set/longer-parent-in-return.yml
2860
+ - spec/spec_tests/data/seed_list_discovery/replica-set/srvMaxHosts-equal_to_srv_records.yml
2861
+ - spec/spec_tests/data/seed_list_discovery/replica-set/direct-connection-true.yml
2862
+ - spec/spec_tests/data/seed_list_discovery/replica-set/two-results-default-port.yml
2863
+ - spec/spec_tests/data/seed_list_discovery/replica-set/parent-part-mismatch4.yml
2864
+ - spec/spec_tests/data/seed_list_discovery/replica-set/misformatted-option.yml
2865
+ - spec/spec_tests/data/seed_list_discovery/replica-set/parent-part-mismatch3.yml
2866
+ - spec/spec_tests/data/seed_list_discovery/replica-set/encoded-userinfo-and-db.yml
2867
+ - spec/spec_tests/data/seed_list_discovery/replica-set/srvMaxHosts-zero-txt.yml
2868
+ - spec/spec_tests/data/seed_list_discovery/replica-set/loadBalanced-false-txt.yml
2869
+ - spec/spec_tests/data/seed_list_discovery/replica-set/returned-parent-wrong.yml
2870
+ - spec/spec_tests/data/seed_list_discovery/replica-set/txt-record-with-unallowed-option.yml
2871
+ - spec/spec_tests/data/seed_list_discovery/replica-set/uri-with-admin-database.yml
2872
+ - spec/spec_tests/data/seed_list_discovery/replica-set/direct-connection-false.yml
2873
+ - spec/spec_tests/data/seed_list_discovery/replica-set/srvMaxHosts-conflicts_with_replicaSet-txt.yml
2874
+ - spec/spec_tests/data/seed_list_discovery/replica-set/two-results-nonstandard-port.yml
2875
+ - spec/spec_tests/data/seed_list_discovery/replica-set/srvMaxHosts-zero.yml
2876
+ - spec/spec_tests/data/seed_list_discovery/replica-set/not-enough-parts.yml
2877
+ - spec/spec_tests/data/seed_list_discovery/replica-set/srvMaxHosts-less_than_srv_records.yml
2878
+ - spec/spec_tests/data/seed_list_discovery/replica-set/txt-record-with-overridden-ssl-option.yml
2879
+ - spec/spec_tests/data/seed_list_discovery/replica-set/uri-with-port.yml
2880
+ - spec/spec_tests/data/seed_list_discovery/replica-set/srvMaxHosts-conflicts_with_replicaSet.yml
2881
+ - spec/spec_tests/data/seed_list_discovery/replica-set/two-txt-records.yml
2882
+ - spec/spec_tests/data/seed_list_discovery/replica-set/txt-record-not-allowed-option.yml
2883
+ - spec/spec_tests/data/seed_list_discovery/replica-set/uri-with-two-hosts.yml
2884
+ - spec/spec_tests/data/seed_list_discovery/replica-set/parent-part-mismatch2.yml
2885
+ - spec/spec_tests/data/seed_list_discovery/replica-set/parent-part-mismatch1.yml
2886
+ - spec/spec_tests/data/seed_list_discovery/replica-set/parent-part-mismatch5.yml
2887
+ - spec/spec_tests/data/seed_list_discovery/replica-set/no-results.yml
2888
+ - spec/spec_tests/data/seed_list_discovery/replica-set/returned-parent-too-short.yml
2889
+ - spec/spec_tests/data/seed_list_discovery/replica-set/srv-service-name.yml
2890
+ - spec/spec_tests/data/seed_list_discovery/replica-set/txt-record-with-overridden-uri-option.yml
2891
+ - spec/spec_tests/data/seed_list_discovery/replica-set/one-result-default-port.yml
2892
+ - spec/spec_tests/data/seed_list_discovery/replica-set/one-txt-record-multiple-strings.yml
2893
+ - spec/spec_tests/data/seed_list_discovery/replica-set/uri-with-auth.yml
2894
+ - spec/spec_tests/data/transactions/retryable-abort.yml
2895
+ - spec/spec_tests/data/transactions/create-collection.yml
2896
+ - spec/spec_tests/data/transactions/count.yml
2897
+ - spec/spec_tests/data/transactions/update.yml
2898
+ - spec/spec_tests/data/transactions/isolation.yml
2899
+ - spec/spec_tests/data/transactions/errors-client.yml
2900
+ - spec/spec_tests/data/transactions/retryable-commit-errorLabels.yml
2901
+ - spec/spec_tests/data/transactions/delete.yml
2902
+ - spec/spec_tests/data/transactions/mongos-recovery-token.yml
2903
+ - spec/spec_tests/data/transactions/mongos-pin-auto.yml
2904
+ - spec/spec_tests/data/transactions/read-concern.yml
2905
+ - spec/spec_tests/data/transactions/insert.yml
2906
+ - spec/spec_tests/data/transactions/transaction-options-repl.yml
2907
+ - spec/spec_tests/data/transactions/read-pref.yml
2908
+ - spec/spec_tests/data/transactions/retryable-writes.yml
2909
+ - spec/spec_tests/data/transactions/reads.yml
2910
+ - spec/spec_tests/data/transactions/bulk.yml
2911
+ - spec/spec_tests/data/transactions/errors.yml
2912
+ - spec/spec_tests/data/transactions/findOneAndUpdate.yml
2913
+ - spec/spec_tests/data/transactions/retryable-commit.yml
2914
+ - spec/spec_tests/data/transactions/create-index.yml
2915
+ - spec/spec_tests/data/transactions/pin-mongos.yml
2916
+ - spec/spec_tests/data/transactions/write-concern.yml
2917
+ - spec/spec_tests/data/transactions/findOneAndDelete.yml
2918
+ - spec/spec_tests/data/transactions/run-command.yml
2919
+ - spec/spec_tests/data/transactions/abort.yml
2920
+ - spec/spec_tests/data/transactions/error-labels.yml
2921
+ - spec/spec_tests/data/transactions/causal-consistency.yml
2922
+ - spec/spec_tests/data/transactions/findOneAndReplace.yml
2923
+ - spec/spec_tests/data/transactions/commit.yml
2924
+ - spec/spec_tests/data/transactions/transaction-options.yml
2925
+ - spec/spec_tests/data/transactions/retryable-abort-errorLabels.yml
2926
+ - spec/spec_tests/data/server_selection_rtt/value_test_2.yml
2927
+ - spec/spec_tests/data/server_selection_rtt/value_test_3.yml
2928
+ - spec/spec_tests/data/server_selection_rtt/first_value.yml
2929
+ - spec/spec_tests/data/server_selection_rtt/value_test_5.yml
2930
+ - spec/spec_tests/data/server_selection_rtt/value_test_4.yml
2931
+ - spec/spec_tests/data/server_selection_rtt/first_value_zero.yml
2932
+ - spec/spec_tests/data/server_selection_rtt/value_test_1.yml
2933
+ - spec/spec_tests/data/crud/write/deleteMany.yml
2934
+ - spec/spec_tests/data/crud/write/deleteOne-collation.yml
2935
+ - spec/spec_tests/data/crud/write/findOneAndUpdate-collation.yml
2936
+ - spec/spec_tests/data/crud/write/replaceOne.yml
2937
+ - spec/spec_tests/data/crud/write/findOneAndReplace-upsert.yml
2938
+ - spec/spec_tests/data/crud/write/findOneAndDelete-collation.yml
2939
+ - spec/spec_tests/data/crud/write/findOneAndUpdate-arrayFilters.yml
2940
+ - spec/spec_tests/data/crud/write/insertOne.yml
2941
+ - spec/spec_tests/data/crud/write/updateMany-arrayFilters.yml
2942
+ - spec/spec_tests/data/crud/write/updateOne-pre_2.6.yml
2943
+ - spec/spec_tests/data/crud/write/findOneAndReplace-upsert_pre_2.6.yml
2944
+ - spec/spec_tests/data/crud/write/updateMany-pre_2.6.yml
2945
+ - spec/spec_tests/data/crud/write/bulkWrite.yml
2946
+ - spec/spec_tests/data/crud/write/updateOne-arrayFilters.yml
2947
+ - spec/spec_tests/data/crud/write/updateMany.yml
2948
+ - spec/spec_tests/data/crud/write/updateOne.yml
2949
+ - spec/spec_tests/data/crud/write/insertMany.yml
2950
+ - spec/spec_tests/data/crud/write/deleteMany-collation.yml
2951
+ - spec/spec_tests/data/crud/write/findOneAndUpdate.yml
2952
+ - spec/spec_tests/data/crud/write/updateOne-collation.yml
2953
+ - spec/spec_tests/data/crud/write/findOneAndDelete.yml
2954
+ - spec/spec_tests/data/crud/write/replaceOne-upsert.yml
2955
+ - spec/spec_tests/data/crud/write/deleteOne.yml
2956
+ - spec/spec_tests/data/crud/write/replaceOne-pre_2.6.yml
2957
+ - spec/spec_tests/data/crud/write/bulkWrite-collation.yml
2958
+ - spec/spec_tests/data/crud/write/updateMany-collation.yml
2959
+ - spec/spec_tests/data/crud/write/findOneAndReplace.yml
2960
+ - spec/spec_tests/data/crud/write/bulkWrite-arrayFilters.yml
2961
+ - spec/spec_tests/data/crud/write/findOneAndReplace-collation.yml
2962
+ - spec/spec_tests/data/crud/write/replaceOne-collation.yml
2963
+ - spec/spec_tests/data/crud/read/count.yml
2964
+ - spec/spec_tests/data/crud/read/count-collation.yml
2965
+ - spec/spec_tests/data/crud/read/count-empty.yml
2966
+ - spec/spec_tests/data/crud/read/find-collation.yml
2967
+ - spec/spec_tests/data/crud/read/aggregate-out.yml
2968
+ - spec/spec_tests/data/crud/read/distinct.yml
2969
+ - spec/spec_tests/data/crud/read/find.yml
2970
+ - spec/spec_tests/data/crud/read/aggregate.yml
2971
+ - spec/spec_tests/data/crud/read/aggregate-collation.yml
2972
+ - spec/spec_tests/data/crud/read/distinct-collation.yml
2973
+ - spec/spec_tests/data/unified/valid-fail/entity-findCursor-malformed.yml
2974
+ - spec/spec_tests/data/unified/valid-fail/operation-failure.yml
2975
+ - spec/spec_tests/data/unified/valid-fail/ignoreResultAndError.yml
2976
+ - spec/spec_tests/data/unified/valid-fail/entity-findCursor.yml
2977
+ - spec/spec_tests/data/unified/valid-fail/operation-unsupported.yml
2978
+ - spec/spec_tests/data/unified/valid-fail/ignoreResultAndError-malformed.yml
2979
+ - spec/spec_tests/data/unified/valid-pass/poc-transactions-convenient-api.yml
2980
+ - spec/spec_tests/data/unified/valid-pass/expectedError-errorResponse.yml
2981
+ - spec/spec_tests/data/unified/valid-pass/expectedEventsForClient-ignoreExtraEvents.yml
2982
+ - spec/spec_tests/data/unified/valid-pass/poc-gridfs.yml
2983
+ - spec/spec_tests/data/unified/valid-pass/poc-change-streams.yml
2984
+ - spec/spec_tests/data/unified/valid-pass/entity-client-cmap-events.yml
2985
+ - spec/spec_tests/data/unified/valid-pass/assertNumberConnectionsCheckedOut.yml
2986
+ - spec/spec_tests/data/unified/valid-pass/poc-crud.yml
2987
+ - spec/spec_tests/data/unified/valid-pass/entity-client-storeEventsAsEntities.yml
2988
+ - spec/spec_tests/data/unified/valid-pass/poc-command-monitoring.yml
2989
+ - spec/spec_tests/data/unified/valid-pass/poc-transactions-mongos-pin-auto.yml
2990
+ - spec/spec_tests/data/unified/valid-pass/ignoreResultAndError.yml
2991
+ - spec/spec_tests/data/unified/valid-pass/poc-sessions.yml
2992
+ - spec/spec_tests/data/unified/valid-pass/poc-transactions.yml
2993
+ - spec/spec_tests/data/unified/valid-pass/expectedEventsForClient-eventType.yml
2994
+ - spec/spec_tests/data/unified/valid-pass/collectionData-createOptions.yml
2995
+ - spec/spec_tests/data/unified/valid-pass/poc-retryable-writes.yml
2996
+ - spec/spec_tests/data/unified/valid-pass/observeSensitiveCommands.yml
2997
+ - spec/spec_tests/data/unified/valid-pass/poc-retryable-reads.yml
2998
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Aggregate.yml
2999
+ - spec/spec_tests/data/client_side_encryption/awsTemporary.yml
3000
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Update.yml
3001
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Delete.yml
3002
+ - spec/spec_tests/data/client_side_encryption/count.yml
3003
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-FindOneAndUpdate.yml
3004
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Update.yml
3005
+ - spec/spec_tests/data/client_side_encryption/replaceOne.yml
3006
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-InsertFind.yml
3007
+ - spec/spec_tests/data/client_side_encryption/fle2v2-FindOneAndUpdate.yml
3008
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Aggregate.yml
3009
+ - spec/spec_tests/data/client_side_encryption/basic.yml
3010
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Aggregate.yml
3011
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Aggregate.yml
3012
+ - spec/spec_tests/data/client_side_encryption/fle2v2-EncryptedFields-vs-EncryptedFieldsMap.yml
3013
+ - spec/spec_tests/data/client_side_encryption/malformedCiphertext.yml
3014
+ - spec/spec_tests/data/client_side_encryption/keyAltName.yml
3015
+ - spec/spec_tests/data/client_side_encryption/bypassAutoEncryption.yml
3016
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-InsertFind.yml
3017
+ - spec/spec_tests/data/client_side_encryption/delete.yml
3018
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-InsertFind.yml
3019
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Correctness.yml
3020
+ - spec/spec_tests/data/client_side_encryption/fle2v2-DecryptExistingData.yml
3021
+ - spec/spec_tests/data/client_side_encryption/fle2v2-EncryptedFieldsMap-defaults.yml
3022
+ - spec/spec_tests/data/client_side_encryption/create-and-createIndexes.yml
3023
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-InsertFind.yml
3024
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Update.yml
3025
+ - spec/spec_tests/data/client_side_encryption/fle2v2-validatorAndPartialFieldExpression.yml
3026
+ - spec/spec_tests/data/client_side_encryption/insert.yml
3027
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Delete.yml
3028
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Update.yml
3029
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Delete.yml
3030
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Aggregate.yml
3031
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Correctness.yml
3032
+ - spec/spec_tests/data/client_side_encryption/distinct.yml
3033
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-InsertFind.yml
3034
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-FindOneAndUpdate.yml
3035
+ - spec/spec_tests/data/client_side_encryption/badQueries.yml
3036
+ - spec/spec_tests/data/client_side_encryption/updateMany.yml
3037
+ - spec/spec_tests/data/client_side_encryption/fle2v2-InsertFind-Indexed.yml
3038
+ - spec/spec_tests/data/client_side_encryption/fle2v2-EncryptedFields-vs-jsonSchema.yml
3039
+ - spec/spec_tests/data/client_side_encryption/bulk.yml
3040
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-FindOneAndUpdate.yml
3041
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Delete.yml
3042
+ - spec/spec_tests/data/client_side_encryption/updateOne.yml
3043
+ - spec/spec_tests/data/client_side_encryption/getMore.yml
3044
+ - spec/spec_tests/data/client_side_encryption/findOneAndUpdate.yml
3045
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Aggregate.yml
3046
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Update.yml
3047
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-FindOneAndUpdate.yml
3048
+ - spec/spec_tests/data/client_side_encryption/find.yml
3049
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Delete.yml
3050
+ - spec/spec_tests/data/client_side_encryption/fle2v2-CreateCollection.yml
3051
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Update.yml
3052
+ - spec/spec_tests/data/client_side_encryption/types.yml
3053
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-WrongType.yml
3054
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Correctness.yml
3055
+ - spec/spec_tests/data/client_side_encryption/fle2v2-BypassQueryAnalysis.yml
3056
+ - spec/spec_tests/data/client_side_encryption/azureKMS.yml
3057
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Delete.yml
3058
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Delete.yml
3059
+ - spec/spec_tests/data/client_side_encryption/countDocuments.yml
3060
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Delete.yml
3061
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-FindOneAndUpdate.yml
3062
+ - spec/spec_tests/data/client_side_encryption/unsupportedCommand.yml
3063
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Correctness.yml
3064
+ - spec/spec_tests/data/client_side_encryption/localSchema.yml
3065
+ - spec/spec_tests/data/client_side_encryption/bypassedCommand.yml
3066
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Update.yml
3067
+ - spec/spec_tests/data/client_side_encryption/findOneAndDelete.yml
3068
+ - spec/spec_tests/data/client_side_encryption/aggregate.yml
3069
+ - spec/spec_tests/data/client_side_encryption/fle2v2-CreateCollection-OldServer.yml
3070
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-FindOneAndUpdate.yml
3071
+ - spec/spec_tests/data/client_side_encryption/explain.yml
3072
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-InsertFind.yml
3073
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Aggregate.yml
3074
+ - spec/spec_tests/data/client_side_encryption/unified/rewrapManyDataKey.yml
3075
+ - spec/spec_tests/data/client_side_encryption/unified/rewrapManyDataKey-decrypt_failure.yml
3076
+ - spec/spec_tests/data/client_side_encryption/unified/getKey.yml
3077
+ - spec/spec_tests/data/client_side_encryption/unified/createDataKey.yml
3078
+ - spec/spec_tests/data/client_side_encryption/unified/removeKeyAltName.yml
3079
+ - spec/spec_tests/data/client_side_encryption/unified/deleteKey.yml
3080
+ - spec/spec_tests/data/client_side_encryption/unified/addKeyAltName.yml
3081
+ - spec/spec_tests/data/client_side_encryption/unified/createDataKey-kms_providers-invalid.yml
3082
+ - spec/spec_tests/data/client_side_encryption/unified/rewrapManyDataKey-encrypt_failure.yml
3083
+ - spec/spec_tests/data/client_side_encryption/unified/getKeys.yml
3084
+ - spec/spec_tests/data/client_side_encryption/unified/getKeyByAltName.yml
3085
+ - spec/spec_tests/data/client_side_encryption/maxWireVersion.yml
3086
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Correctness.yml
3087
+ - spec/spec_tests/data/client_side_encryption/gcpKMS.yml
3088
+ - spec/spec_tests/data/client_side_encryption/noSchema.yml
3089
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Correctness.yml
3090
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-InsertFind.yml
3091
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Correctness.yml
3092
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Compact.yml
3093
+ - spec/spec_tests/data/client_side_encryption/fle2v2-MissingKey.yml
3094
+ - spec/spec_tests/data/client_side_encryption/fle2v2-InsertFind-Unindexed.yml
3095
+ - spec/spec_tests/data/client_side_encryption/validatorAndPartialFieldExpression.yml
3096
+ - spec/spec_tests/data/client_side_encryption/fle2v2-NoEncryption.yml
3097
+ - spec/spec_tests/data/client_side_encryption/localKMS.yml
3098
+ - spec/spec_tests/data/client_side_encryption/findOneAndReplace.yml
3099
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Update.yml
3100
+ - spec/spec_tests/data/client_side_encryption/badSchema.yml
3101
+ - spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-FindOneAndUpdate.yml
3102
+ - spec/spec_tests/data/client_side_encryption/missingKey.yml
3103
+ - spec/spec_tests/data/retryable_reads/legacy/countDocuments-serverErrors.yml
3104
+ - spec/spec_tests/data/retryable_reads/legacy/estimatedDocumentCount.yml
3105
+ - spec/spec_tests/data/retryable_reads/legacy/listDatabaseObjects.yml
3106
+ - spec/spec_tests/data/retryable_reads/legacy/find-serverErrors.yml
3107
+ - spec/spec_tests/data/retryable_reads/legacy/gridfs-downloadByName.yml
3108
+ - spec/spec_tests/data/retryable_reads/legacy/findOne.yml
3109
+ - spec/spec_tests/data/retryable_reads/legacy/count.yml
3110
+ - spec/spec_tests/data/retryable_reads/legacy/listCollectionObjects-serverErrors.yml
3111
+ - spec/spec_tests/data/retryable_reads/legacy/count-serverErrors.yml
3112
+ - spec/spec_tests/data/retryable_reads/legacy/listDatabases-serverErrors.yml
3113
+ - spec/spec_tests/data/retryable_reads/legacy/distinct-serverErrors.yml
3114
+ - spec/spec_tests/data/retryable_reads/legacy/listDatabaseNames.yml
3115
+ - spec/spec_tests/data/retryable_reads/legacy/findOne-serverErrors.yml
3116
+ - spec/spec_tests/data/retryable_reads/legacy/gridfs-downloadByName-serverErrors.yml
3117
+ - spec/spec_tests/data/retryable_reads/legacy/listIndexNames-serverErrors.yml
3118
+ - spec/spec_tests/data/retryable_reads/legacy/listIndexes-serverErrors.yml
3119
+ - spec/spec_tests/data/retryable_reads/legacy/gridfs-download-serverErrors.yml
3120
+ - spec/spec_tests/data/retryable_reads/legacy/distinct.yml
3121
+ - spec/spec_tests/data/retryable_reads/legacy/listCollections.yml
3122
+ - spec/spec_tests/data/retryable_reads/legacy/listCollections-serverErrors.yml
3123
+ - spec/spec_tests/data/retryable_reads/legacy/changeStreams-db.coll.watch-serverErrors.yml
3124
+ - spec/spec_tests/data/retryable_reads/legacy/listIndexNames.yml
3125
+ - spec/spec_tests/data/retryable_reads/legacy/changeStreams-client.watch.yml
3126
+ - spec/spec_tests/data/retryable_reads/legacy/find.yml
3127
+ - spec/spec_tests/data/retryable_reads/legacy/listDatabases.yml
3128
+ - spec/spec_tests/data/retryable_reads/legacy/aggregate-serverErrors.yml
3129
+ - spec/spec_tests/data/retryable_reads/legacy/listIndexes.yml
3130
+ - spec/spec_tests/data/retryable_reads/legacy/countDocuments.yml
3131
+ - spec/spec_tests/data/retryable_reads/legacy/changeStreams-client.watch-serverErrors.yml
3132
+ - spec/spec_tests/data/retryable_reads/legacy/aggregate.yml
3133
+ - spec/spec_tests/data/retryable_reads/legacy/aggregate-merge.yml
3134
+ - spec/spec_tests/data/retryable_reads/legacy/changeStreams-db.coll.watch.yml
3135
+ - spec/spec_tests/data/retryable_reads/legacy/mapReduce.yml
3136
+ - spec/spec_tests/data/retryable_reads/legacy/estimatedDocumentCount-serverErrors.yml
3137
+ - spec/spec_tests/data/retryable_reads/legacy/changeStreams-db.watch-serverErrors.yml
3138
+ - spec/spec_tests/data/retryable_reads/legacy/gridfs-download.yml
3139
+ - spec/spec_tests/data/retryable_reads/legacy/listCollectionObjects.yml
3140
+ - spec/spec_tests/data/retryable_reads/legacy/listDatabaseNames-serverErrors.yml
3141
+ - spec/spec_tests/data/retryable_reads/legacy/listDatabaseObjects-serverErrors.yml
3142
+ - spec/spec_tests/data/retryable_reads/legacy/changeStreams-db.watch.yml
3143
+ - spec/spec_tests/data/retryable_reads/legacy/listCollectionNames.yml
3144
+ - spec/spec_tests/data/retryable_reads/legacy/listCollectionNames-serverErrors.yml
3145
+ - spec/spec_tests/data/retryable_reads/unified/handshakeError.yml
3146
+ - spec/spec_tests/data/transactions_unified/retryable-abort-handshake.yml
3147
+ - spec/spec_tests/data/transactions_unified/mongos-unpin.yml
3148
+ - spec/spec_tests/data/transactions_unified/retryable-commit-handshake.yml
3149
+ - spec/spec_tests/data/transactions_unified/do-not-retry-read-in-transaction.yml
3150
+ - spec/spec_tests/data/collection_management/timeseries-collection.yml
3151
+ - spec/spec_tests/data/collection_management/modifyCollection-pre_and_post_images.yml
3152
+ - spec/spec_tests/data/collection_management/clustered-indexes.yml
3153
+ - spec/spec_tests/data/collection_management/createCollection-pre_and_post_images.yml
3154
+ - spec/spec_tests/data/collection_management/modifyCollection-errorResponse.yml
3155
+ - spec/spec_tests/data/sdam/load-balanced/discover_load_balancer.yml
3156
+ - spec/spec_tests/data/sdam/errors/post-42-NotPrimaryOrSecondary.yml
2098
3157
  - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-PrimarySteppedDown.yml
3158
+ - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotPrimaryOrSecondary.yml
2099
3159
  - spec/spec_tests/data/sdam/errors/pre-42-InterruptedDueToReplStateChange.yml
2100
- - spec/spec_tests/data/sdam/errors/post-42-InterruptedAtShutdown.yml
2101
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotMaster.yml
2102
- - spec/spec_tests/data/sdam/errors/post-42-NotMasterNoSlaveOk.yml
2103
- - spec/spec_tests/data/sdam/errors/stale-generation-InterruptedDueToReplStateChange.yml
2104
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-InterruptedDueToReplStateChange.yml
2105
- - spec/spec_tests/data/sdam/errors/stale-generation-NotMaster.yml
2106
- - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-InterruptedDueToReplStateChange.yml
2107
- - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-ShutdownInProgress.yml
2108
- - spec/spec_tests/data/sdam/errors/post-42-ShutdownInProgress.yml
2109
- - spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotMasterOrSecondary.yml
2110
3160
  - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-ShutdownInProgress.yml
2111
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-ShutdownInProgress.yml
2112
- - spec/spec_tests/data/sdam/errors/non-stale-network-timeout-error.yml
2113
- - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-timeout.yml
2114
- - spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotMaster.yml
2115
- - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-timeout.yml
2116
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotMasterNoSlaveOk.yml
2117
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotMasterNoSlaveOk.yml
2118
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-InterruptedDueToReplStateChange.yml
3161
+ - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotPrimaryNoSecondaryOk.yml
3162
+ - spec/spec_tests/data/sdam/errors/pre-42-NotPrimaryOrSecondary.yml
3163
+ - spec/spec_tests/data/sdam/errors/stale-generation-NotWritablePrimary.yml
3164
+ - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-InterruptedAtShutdown.yml
2119
3165
  - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-PrimarySteppedDown.yml
2120
- - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-PrimarySteppedDown.yml
2121
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotMasterNoSlaveOk.yml
3166
+ - spec/spec_tests/data/sdam/errors/stale-topologyVersion-InterruptedDueToReplStateChange.yml
3167
+ - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotWritablePrimary.yml
2122
3168
  - spec/spec_tests/data/sdam/errors/pre-42-ShutdownInProgress.yml
2123
- - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-InterruptedAtShutdown.yml
2124
- - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotMasterNoSlaveOk.yml
2125
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotMaster.yml
3169
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotWritablePrimary.yml
3170
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotWritablePrimary.yml
3171
+ - spec/spec_tests/data/sdam/errors/stale-generation-NotPrimaryNoSecondaryOk.yml
3172
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-InterruptedAtShutdown.yml
3173
+ - spec/spec_tests/data/sdam/errors/stale-topologyVersion-LegacyNotPrimary.yml
3174
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotPrimaryNoSecondaryOk.yml
3175
+ - spec/spec_tests/data/sdam/errors/stale-generation-ShutdownInProgress.yml
3176
+ - spec/spec_tests/data/sdam/errors/stale-topologyVersion-InterruptedAtShutdown.yml
3177
+ - spec/spec_tests/data/sdam/errors/post-42-PrimarySteppedDown.yml
3178
+ - spec/spec_tests/data/sdam/errors/stale-generation-PrimarySteppedDown.yml
3179
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-InterruptedDueToReplStateChange.yml
3180
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotPrimaryOrSecondary.yml
3181
+ - spec/spec_tests/data/sdam/errors/pre-42-InterruptedAtShutdown.yml
3182
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-LegacyNotPrimary.yml
2126
3183
  - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-InterruptedDueToReplStateChange.yml
2127
- - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-PrimarySteppedDown.yml
2128
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotMasterOrSecondary.yml
2129
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-InterruptedAtShutdown.yml
2130
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-PrimarySteppedDown.yml
2131
- - spec/spec_tests/data/sdam/errors/stale-generation-NotMasterOrSecondary.yml
2132
- - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotMasterOrSecondary.yml
2133
- - spec/spec_tests/data/sdam/errors/error_handling_handshake.yml
2134
- - spec/spec_tests/data/sdam/errors/stale-topologyVersion-InterruptedDueToReplStateChange.yml
3184
+ - spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotPrimaryNoSecondaryOk.yml
3185
+ - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-timeout.yml
3186
+ - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-ShutdownInProgress.yml
3187
+ - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-network.yml
3188
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotPrimaryNoSecondaryOk.yml
3189
+ - spec/spec_tests/data/sdam/errors/non-stale-network-timeout-error.yml
3190
+ - spec/spec_tests/data/sdam/errors/prefer-error-code.yml
3191
+ - spec/spec_tests/data/sdam/errors/pre-42-PrimarySteppedDown.yml
3192
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotPrimaryOrSecondary.yml
3193
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotWritablePrimary.yml
3194
+ - spec/spec_tests/data/sdam/errors/post-42-InterruptedAtShutdown.yml
3195
+ - spec/spec_tests/data/sdam/errors/pre-42-LegacyNotPrimary.yml
3196
+ - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-InterruptedDueToReplStateChange.yml
2135
3197
  - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-network.yml
2136
- - spec/spec_tests/data/sdam/errors/stale-generation-InterruptedAtShutdown.yml
2137
- - spec/spec_tests/data/sdam/errors/stale-generation-PrimarySteppedDown.yml
3198
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-LegacyNotPrimary.yml
3199
+ - spec/spec_tests/data/sdam/errors/pre-42-NotPrimaryNoSecondaryOk.yml
3200
+ - spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotWritablePrimary.yml
3201
+ - spec/spec_tests/data/sdam/errors/stale-topologyVersion-ShutdownInProgress.yml
2138
3202
  - spec/spec_tests/data/sdam/errors/post-42-InterruptedDueToReplStateChange.yml
3203
+ - spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotPrimaryOrSecondary.yml
3204
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-InterruptedDueToReplStateChange.yml
3205
+ - spec/spec_tests/data/sdam/errors/post-42-NotPrimaryNoSecondaryOk.yml
3206
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-InterruptedAtShutdown.yml
2139
3207
  - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-ShutdownInProgress.yml
2140
- - spec/spec_tests/data/sdam/errors/stale-topologyVersion-ShutdownInProgress.yml
2141
- - spec/spec_tests/data/sdam/errors/stale-topologyVersion-NotMasterNoSlaveOk.yml
2142
- - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-network.yml
2143
- - spec/spec_tests/data/sdam/errors/stale-generation-ShutdownInProgress.yml
2144
- - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotMaster.yml
2145
- - spec/spec_tests/data/sdam/errors/post-42-NotMasterOrSecondary.yml
2146
- - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-ShutdownInProgress.yml
2147
- - spec/spec_tests/data/sdam/errors/stale-generation-NotMasterNoSlaveOk.yml
2148
- - spec/spec_tests/data/sdam/errors/pre-42-NotMasterOrSecondary.yml
2149
- - spec/spec_tests/data/sdam/errors/post-42-PrimarySteppedDown.yml
2150
- - spec/spec_tests/data/sdam/errors/stale-topologyVersion-InterruptedAtShutdown.yml
2151
- - spec/spec_tests/data/sdam/errors/post-42-NotMaster.yml
2152
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotMasterOrSecondary.yml
2153
- - spec/spec_tests/data/sdam/errors/pre-42-NotMasterNoSlaveOk.yml
3208
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-NotPrimaryNoSecondaryOk.yml
3209
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-PrimarySteppedDown.yml
3210
+ - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotPrimaryOrSecondary.yml
3211
+ - spec/spec_tests/data/sdam/errors/stale-generation-NotPrimaryOrSecondary.yml
3212
+ - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-InterruptedAtShutdown.yml
3213
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-ShutdownInProgress.yml
3214
+ - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-LegacyNotPrimary.yml
3215
+ - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-PrimarySteppedDown.yml
3216
+ - spec/spec_tests/data/sdam/errors/pre-42-NotWritablePrimary.yml
3217
+ - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-timeout.yml
3218
+ - spec/spec_tests/data/sdam/errors/stale-generation-InterruptedAtShutdown.yml
3219
+ - spec/spec_tests/data/sdam/errors/post-42-LegacyNotPrimary.yml
3220
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-LegacyNotPrimary.yml
2154
3221
  - spec/spec_tests/data/sdam/errors/stale-topologyVersion-PrimarySteppedDown.yml
2155
- - spec/spec_tests/data/sdam/errors/pre-42-InterruptedAtShutdown.yml
2156
- - spec/spec_tests/data/sdam/errors/non-stale-network-error.yml
2157
- - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotMasterNoSlaveOk.yml
2158
- - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-InterruptedAtShutdown.yml
2159
- - spec/spec_tests/data/sdam/errors/pre-42-NotMaster.yml
2160
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-proccessId-changed-NotMasterOrSecondary.yml
2161
- - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotMaster.yml
3222
+ - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotWritablePrimary.yml
3223
+ - spec/spec_tests/data/sdam/errors/write_errors_ignored.yml
3224
+ - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-LegacyNotPrimary.yml
3225
+ - spec/spec_tests/data/sdam/errors/post-42-NotWritablePrimary.yml
3226
+ - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-PrimarySteppedDown.yml
3227
+ - spec/spec_tests/data/sdam/errors/error_handling_handshake.yml
2162
3228
  - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-InterruptedAtShutdown.yml
2163
- - spec/spec_tests/data/sdam/errors/pre-42-PrimarySteppedDown.yml
2164
- - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-InterruptedAtShutdown.yml
2165
- - spec/spec_tests/data/sdam/errors/stale-generation-afterHandshakeCompletes-NotMasterOrSecondary.yml
2166
- - spec/spec_tests/data/sdam/sharded/discover_single_mongos.yml
2167
- - spec/spec_tests/data/sdam/sharded/ls_timeout_mongos.yml
2168
- - spec/spec_tests/data/sdam/sharded/mongos_disconnect.yml
2169
- - spec/spec_tests/data/sdam/sharded/too_new.yml
2170
- - spec/spec_tests/data/sdam/sharded/non_mongos_removed.yml
3229
+ - spec/spec_tests/data/sdam/errors/stale-generation-InterruptedDueToReplStateChange.yml
3230
+ - spec/spec_tests/data/sdam/errors/non-stale-network-error.yml
3231
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-missing-NotPrimaryOrSecondary.yml
3232
+ - spec/spec_tests/data/sdam/errors/non-stale-topologyVersion-greater-InterruptedDueToReplStateChange.yml
3233
+ - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-ShutdownInProgress.yml
3234
+ - spec/spec_tests/data/sdam/errors/stale-generation-beforeHandshakeCompletes-NotPrimaryNoSecondaryOk.yml
3235
+ - spec/spec_tests/data/sdam/errors/post-42-ShutdownInProgress.yml
2171
3236
  - spec/spec_tests/data/sdam/sharded/ruby_primary_mismatched_me.yml
2172
- - spec/spec_tests/data/sdam/sharded/multiple_mongoses.yml
2173
3237
  - spec/spec_tests/data/sdam/sharded/normalize_uri_case.yml
3238
+ - spec/spec_tests/data/sdam/sharded/too_new.yml
2174
3239
  - spec/spec_tests/data/sdam/sharded/too_old.yml
3240
+ - spec/spec_tests/data/sdam/sharded/mongos_disconnect.yml
2175
3241
  - spec/spec_tests/data/sdam/sharded/compatible.yml
3242
+ - spec/spec_tests/data/sdam/sharded/multiple_mongoses.yml
3243
+ - spec/spec_tests/data/sdam/sharded/discover_single_mongos.yml
2176
3244
  - spec/spec_tests/data/sdam/sharded/ruby_primary_different_address.yml
2177
- - spec/spec_tests/data/sdam/rs/primary_becomes_standalone.yml
2178
- - spec/spec_tests/data/sdam/rs/discover_hidden.yml
2179
- - spec/spec_tests/data/sdam/rs/non_rs_member.yml
2180
- - spec/spec_tests/data/sdam/rs/primary_wrong_set_name.yml
2181
- - spec/spec_tests/data/sdam/rs/discovery.yml
2182
- - spec/spec_tests/data/sdam/rs/discover_rsother_replicaset.yml
2183
- - spec/spec_tests/data/sdam/rs/primary_disconnect_electionid.yml
2184
- - spec/spec_tests/data/sdam/rs/primary_becomes_ghost.yml
3245
+ - spec/spec_tests/data/sdam/sharded/ls_timeout_mongos.yml
3246
+ - spec/spec_tests/data/sdam/sharded/non_mongos_removed.yml
3247
+ - spec/spec_tests/data/sdam/single/ruby_primary_mismatched_me.yml
3248
+ - spec/spec_tests/data/sdam/single/not_ok_response.yml
3249
+ - spec/spec_tests/data/sdam/single/discover_unavailable_seed.yml
3250
+ - spec/spec_tests/data/sdam/single/direct_connection_rsarbiter.yml
3251
+ - spec/spec_tests/data/sdam/single/too_new.yml
3252
+ - spec/spec_tests/data/sdam/single/too_old.yml
3253
+ - spec/spec_tests/data/sdam/single/direct_connection_unavailable_seed.yml
3254
+ - spec/spec_tests/data/sdam/single/discover_standalone.yml
3255
+ - spec/spec_tests/data/sdam/single/direct_connection_rsprimary.yml
3256
+ - spec/spec_tests/data/sdam/single/too_old_then_upgraded.yml
3257
+ - spec/spec_tests/data/sdam/single/direct_connection_wrong_set_name.yml
3258
+ - spec/spec_tests/data/sdam/single/compatible.yml
3259
+ - spec/spec_tests/data/sdam/single/ls_timeout_standalone.yml
3260
+ - spec/spec_tests/data/sdam/single/standalone_removed.yml
3261
+ - spec/spec_tests/data/sdam/single/direct_connection_mongos.yml
3262
+ - spec/spec_tests/data/sdam/single/direct_connection_rssecondary.yml
3263
+ - spec/spec_tests/data/sdam/single/ruby_primary_different_address.yml
3264
+ - spec/spec_tests/data/sdam/single/direct_connection_standalone.yml
3265
+ - spec/spec_tests/data/sdam/single/direct_connection_external_ip.yml
3266
+ - spec/spec_tests/data/sdam/single/standalone_using_legacy_hello.yml
3267
+ - spec/spec_tests/data/sdam/single/direct_connection_replicaset.yml
3268
+ - spec/spec_tests/data/sdam/rs/incompatible_arbiter.yml
3269
+ - spec/spec_tests/data/sdam/rs/unexpected_mongos.yml
3270
+ - spec/spec_tests/data/sdam/rs/set_version_can_rollback.yml
2185
3271
  - spec/spec_tests/data/sdam/rs/discover_ghost.yml
3272
+ - spec/spec_tests/data/sdam/rs/primary_changes_set_name.yml
3273
+ - spec/spec_tests/data/sdam/rs/too_new.yml
2186
3274
  - spec/spec_tests/data/sdam/rs/new_primary_new_electionid.yml
2187
- - spec/spec_tests/data/sdam/rs/ruby_primary_address_change.yml
2188
- - spec/spec_tests/data/sdam/rs/equal_electionids.yml
2189
- - spec/spec_tests/data/sdam/rs/unexpected_mongos.yml
2190
- - spec/spec_tests/data/sdam/rs/stepdown_change_set_name.yml
2191
- - spec/spec_tests/data/sdam/rs/new_primary_wrong_set_name.yml
2192
- - spec/spec_tests/data/sdam/rs/discover_hidden_replicaset.yml
2193
- - spec/spec_tests/data/sdam/rs/discover_arbiters_replicaset.yml
2194
- - spec/spec_tests/data/sdam/rs/discover_primary_replicaset.yml
2195
- - spec/spec_tests/data/sdam/rs/incompatible_other.yml
3275
+ - spec/spec_tests/data/sdam/rs/too_old.yml
3276
+ - spec/spec_tests/data/sdam/rs/compatible_unknown.yml
3277
+ - spec/spec_tests/data/sdam/rs/topology_version_greater.yml
3278
+ - spec/spec_tests/data/sdam/rs/normalize_case.yml
3279
+ - spec/spec_tests/data/sdam/rs/primary_becomes_standalone.yml
3280
+ - spec/spec_tests/data/sdam/rs/response_from_removed.yml
3281
+ - spec/spec_tests/data/sdam/rs/discover_primary.yml
3282
+ - spec/spec_tests/data/sdam/rs/setversion_equal_max_without_electionid.yml
2196
3283
  - spec/spec_tests/data/sdam/rs/primary_disconnect.yml
3284
+ - spec/spec_tests/data/sdam/rs/discover_rsother.yml
2197
3285
  - spec/spec_tests/data/sdam/rs/primary_reports_new_member.yml
2198
- - spec/spec_tests/data/sdam/rs/normalize_case_me.yml
2199
- - spec/spec_tests/data/sdam/rs/primary_becomes_mongos.yml
2200
- - spec/spec_tests/data/sdam/rs/null_election_id.yml
2201
- - spec/spec_tests/data/sdam/rs/secondary_wrong_set_name.yml
2202
- - spec/spec_tests/data/sdam/rs/discover_secondary.yml
2203
- - spec/spec_tests/data/sdam/rs/secondary_ignore_ok_0.yml
2204
- - spec/spec_tests/data/sdam/rs/sec_not_auth.yml
2205
- - spec/spec_tests/data/sdam/rs/too_new.yml
2206
- - spec/spec_tests/data/sdam/rs/discover_passives.yml
2207
- - spec/spec_tests/data/sdam/rs/topology_version_less.yml
2208
- - spec/spec_tests/data/sdam/rs/member_standalone.yml
2209
- - spec/spec_tests/data/sdam/rs/discover_secondary_replicaset.yml
2210
- - spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
3286
+ - spec/spec_tests/data/sdam/rs/member_reconfig.yml
2211
3287
  - spec/spec_tests/data/sdam/rs/setversion_without_electionid.yml
2212
- - spec/spec_tests/data/sdam/rs/topology_version_equal.yml
2213
- - spec/spec_tests/data/sdam/rs/topology_version_greater.yml
2214
- - spec/spec_tests/data/sdam/rs/ruby_secondary_wrong_set_name_with_primary_second.yml
2215
- - spec/spec_tests/data/sdam/rs/primary_changes_set_name.yml
2216
- - spec/spec_tests/data/sdam/rs/new_primary.yml
2217
- - spec/spec_tests/data/sdam/rs/new_primary_new_setversion.yml
2218
- - spec/spec_tests/data/sdam/rs/repeated.yml
2219
- - spec/spec_tests/data/sdam/rs/response_from_removed.yml
3288
+ - spec/spec_tests/data/sdam/rs/primary_mismatched_me_not_removed.yml
3289
+ - spec/spec_tests/data/sdam/rs/primary_becomes_ghost.yml
3290
+ - spec/spec_tests/data/sdam/rs/use_setversion_without_electionid-pre-6.0.yml
3291
+ - spec/spec_tests/data/sdam/rs/discover_passives.yml
3292
+ - spec/spec_tests/data/sdam/rs/sec_not_auth.yml
3293
+ - spec/spec_tests/data/sdam/rs/secondary_ignore_ok_0.yml
3294
+ - spec/spec_tests/data/sdam/rs/discovery.yml
3295
+ - spec/spec_tests/data/sdam/rs/null_election_id-pre-6.0.yml
3296
+ - spec/spec_tests/data/sdam/rs/null_election_id.yml
3297
+ - spec/spec_tests/data/sdam/rs/secondary_mismatched_me.yml
2220
3298
  - spec/spec_tests/data/sdam/rs/primary_hint_from_secondary_with_mismatched_me.yml
2221
- - spec/spec_tests/data/sdam/rs/secondary_wrong_set_name_with_primary.yml
2222
3299
  - spec/spec_tests/data/sdam/rs/primary_disconnect_setversion.yml
2223
- - spec/spec_tests/data/sdam/rs/primary_to_no_primary_mismatched_me.yml
2224
- - spec/spec_tests/data/sdam/rs/secondary_mismatched_me.yml
2225
- - spec/spec_tests/data/sdam/rs/ls_timeout.yml
2226
- - spec/spec_tests/data/sdam/rs/normalize_case.yml
2227
- - spec/spec_tests/data/sdam/rs/compatible_unknown.yml
2228
- - spec/spec_tests/data/sdam/rs/incompatible_arbiter.yml
2229
- - spec/spec_tests/data/sdam/rs/discover_rsother.yml
2230
- - spec/spec_tests/data/sdam/rs/wrong_set_name.yml
2231
- - spec/spec_tests/data/sdam/rs/hosts_differ_from_seeds.yml
2232
- - spec/spec_tests/data/sdam/rs/too_old.yml
2233
- - spec/spec_tests/data/sdam/rs/discover_passives_replicaset.yml
2234
- - spec/spec_tests/data/sdam/rs/primary_mismatched_me.yml
2235
- - spec/spec_tests/data/sdam/rs/use_setversion_without_electionid.yml
2236
- - spec/spec_tests/data/sdam/rs/discover_ghost_replicaset.yml
2237
3300
  - spec/spec_tests/data/sdam/rs/compatible.yml
2238
3301
  - spec/spec_tests/data/sdam/rs/incompatible_ghost.yml
3302
+ - spec/spec_tests/data/sdam/rs/new_primary.yml
3303
+ - spec/spec_tests/data/sdam/rs/primary_becomes_mongos.yml
3304
+ - spec/spec_tests/data/sdam/rs/setversion_without_electionid-pre-6.0.yml
3305
+ - spec/spec_tests/data/sdam/rs/primary_disconnect_electionid.yml
3306
+ - spec/spec_tests/data/sdam/rs/secondary_wrong_set_name_with_primary.yml
3307
+ - spec/spec_tests/data/sdam/rs/secondary_ignore_ok_0-pre-6.0.yml
3308
+ - spec/spec_tests/data/sdam/rs/wrong_set_name.yml
3309
+ - spec/spec_tests/data/sdam/rs/secondary_wrong_set_name.yml
3310
+ - spec/spec_tests/data/sdam/rs/discover_ghost_replicaset.yml
3311
+ - spec/spec_tests/data/sdam/rs/hosts_differ_from_seeds.yml
3312
+ - spec/spec_tests/data/sdam/rs/discover_hidden.yml
3313
+ - spec/spec_tests/data/sdam/rs/primary_wrong_set_name.yml
3314
+ - spec/spec_tests/data/sdam/rs/discover_rsother_replicaset.yml
3315
+ - spec/spec_tests/data/sdam/rs/equal_electionids.yml
3316
+ - spec/spec_tests/data/sdam/rs/new_primary_new_setversion.yml
3317
+ - spec/spec_tests/data/sdam/rs/member_standalone.yml
2239
3318
  - spec/spec_tests/data/sdam/rs/replicaset_rsnp.yml
2240
- - spec/spec_tests/data/sdam/rs/discover_primary.yml
3319
+ - spec/spec_tests/data/sdam/rs/use_setversion_without_electionid.yml
3320
+ - spec/spec_tests/data/sdam/rs/non_rs_member.yml
3321
+ - spec/spec_tests/data/sdam/rs/topology_version_equal.yml
3322
+ - spec/spec_tests/data/sdam/rs/ls_timeout.yml
3323
+ - spec/spec_tests/data/sdam/rs/topology_version_less.yml
3324
+ - spec/spec_tests/data/sdam/rs/setversion_greaterthan_max_without_electionid.yml
3325
+ - spec/spec_tests/data/sdam/rs/electionId_precedence_setVersion.yml
3326
+ - spec/spec_tests/data/sdam/rs/discover_primary_replicaset.yml
3327
+ - spec/spec_tests/data/sdam/rs/primary_mismatched_me.yml
3328
+ - spec/spec_tests/data/sdam/rs/discover_passives_replicaset.yml
3329
+ - spec/spec_tests/data/sdam/rs/discover_arbiters_replicaset.yml
3330
+ - spec/spec_tests/data/sdam/rs/ruby_secondary_wrong_set_name_with_primary_second.yml
3331
+ - spec/spec_tests/data/sdam/rs/primary_to_no_primary_mismatched_me.yml
3332
+ - spec/spec_tests/data/sdam/rs/repeated.yml
3333
+ - spec/spec_tests/data/sdam/rs/discover_secondary.yml
2241
3334
  - spec/spec_tests/data/sdam/rs/discover_arbiters.yml
2242
- - spec/spec_tests/data/sdam/rs/member_reconfig.yml
2243
- - spec/spec_tests/data/read_write_concern/connection-string/read-concern.yml
2244
- - spec/spec_tests/data/read_write_concern/connection-string/write-concern.yml
2245
- - spec/spec_tests/data/read_write_concern/document/read-concern.yml
2246
- - spec/spec_tests/data/read_write_concern/document/write-concern.yml
2247
- - spec/spec_tests/data/read_write_concern/operation/default-write-concern-4.2.yml
2248
- - spec/spec_tests/data/read_write_concern/operation/default-write-concern-3.4.yml
2249
- - spec/spec_tests/data/read_write_concern/operation/default-write-concern-3.2.yml
2250
- - spec/spec_tests/data/read_write_concern/operation/default-write-concern-2.6.yml
2251
- - spec/spec_tests/data/retryable_writes/findOneAndDelete-serverErrors.yml
2252
- - spec/spec_tests/data/retryable_writes/insertMany-serverErrors.yml
2253
- - spec/spec_tests/data/retryable_writes/findOneAndUpdate.yml
2254
- - spec/spec_tests/data/retryable_writes/insertMany-errorLabels.yml
2255
- - spec/spec_tests/data/retryable_writes/updateOne-serverErrors.yml
2256
- - spec/spec_tests/data/retryable_writes/replaceOne-serverErrors.yml
2257
- - spec/spec_tests/data/retryable_writes/findOneAndUpdate-serverErrors.yml
2258
- - spec/spec_tests/data/retryable_writes/findOneAndReplace-errorLabels.yml
2259
- - spec/spec_tests/data/retryable_writes/insertOne-errorLabels.yml
2260
- - spec/spec_tests/data/retryable_writes/deleteOne-errorLabels.yml
2261
- - spec/spec_tests/data/retryable_writes/insertMany.yml
2262
- - spec/spec_tests/data/retryable_writes/updateOne-errorLabels.yml
2263
- - spec/spec_tests/data/retryable_writes/bulkWrite.yml
2264
- - spec/spec_tests/data/retryable_writes/findOneAndDelete.yml
2265
- - spec/spec_tests/data/retryable_writes/findOneAndDelete-errorLabels.yml
2266
- - spec/spec_tests/data/retryable_writes/findOneAndReplace.yml
2267
- - spec/spec_tests/data/retryable_writes/deleteMany.yml
2268
- - spec/spec_tests/data/retryable_writes/replaceOne-errorLabels.yml
2269
- - spec/spec_tests/data/retryable_writes/updateMany.yml
2270
- - spec/spec_tests/data/retryable_writes/deleteOne-serverErrors.yml
2271
- - spec/spec_tests/data/retryable_writes/deleteOne.yml
2272
- - spec/spec_tests/data/retryable_writes/insertOne.yml
2273
- - spec/spec_tests/data/retryable_writes/bulkWrite-errorLabels.yml
2274
- - spec/spec_tests/data/retryable_writes/findOneAndReplace-serverErrors.yml
2275
- - spec/spec_tests/data/retryable_writes/insertOne-serverErrors.yml
2276
- - spec/spec_tests/data/retryable_writes/replaceOne.yml
2277
- - spec/spec_tests/data/retryable_writes/bulkWrite-serverErrors.yml
2278
- - spec/spec_tests/data/retryable_writes/findOneAndUpdate-errorLabels.yml
2279
- - spec/spec_tests/data/retryable_writes/updateOne.yml
2280
- - spec/spec_tests/data/change_streams/change-streams-resume-whitelist.yml
2281
- - spec/spec_tests/data/change_streams/change-streams-resume-errorLabels.yml
2282
- - spec/spec_tests/data/change_streams/change-streams-errors.yml
2283
- - spec/spec_tests/data/change_streams/change-streams.yml
2284
- - spec/spec_tests/data/server_selection/Sharded/read/Nearest.yml
2285
- - spec/spec_tests/data/server_selection/Sharded/read/SecondaryPreferred.yml
2286
- - spec/spec_tests/data/server_selection/Sharded/read/Secondary.yml
2287
- - spec/spec_tests/data/server_selection/Sharded/read/PrimaryPreferred.yml
2288
- - spec/spec_tests/data/server_selection/Sharded/read/Primary.yml
2289
- - spec/spec_tests/data/server_selection/Single/read/SecondaryPreferred.yml
2290
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred_tags.yml
2291
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest.yml
2292
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred.yml
2293
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Secondary.yml
2294
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/PrimaryPreferred.yml
2295
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/SecondaryPreferred_non_matching.yml
2296
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Primary.yml
2297
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest_multiple.yml
2298
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Nearest_non_matching.yml
2299
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/PrimaryPreferred_non_matching.yml
2300
- - spec/spec_tests/data/server_selection/ReplicaSetWithPrimary/read/Secondary_non_matching.yml
2301
- - spec/spec_tests/data/server_selection/Unknown/read/SecondaryPreferred.yml
2302
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PossiblePrimary.yml
2303
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest.yml
2304
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/SecondaryPreferred.yml
2305
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary.yml
2306
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_multi_tags2.yml
2307
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PrimaryPreferred.yml
2308
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/SecondaryPreferred_non_matching.yml
2309
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Primary.yml
2310
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PossiblePrimaryNearest.yml
2311
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest_multiple.yml
2312
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Nearest_non_matching.yml
2313
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/PrimaryPreferred_non_matching.yml
2314
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_non_matching.yml
2315
- - spec/spec_tests/data/server_selection/ReplicaSetNoPrimary/read/Secondary_multi_tags.yml
2316
- - spec/spec_tests/data/crud_v2/updateOne-hint-serverError.yml
2317
- - spec/spec_tests/data/crud_v2/updateMany-hint-clientError.yml
2318
- - spec/spec_tests/data/crud_v2/findOneAndUpdate-hint-serverError.yml
2319
- - spec/spec_tests/data/crud_v2/unacknowledged-deleteMany-hint-clientError.yml
2320
- - spec/spec_tests/data/crud_v2/replaceOne-hint.yml
2321
- - spec/spec_tests/data/crud_v2/unacknowledged-findOneAndDelete-hint-clientError.yml
2322
- - spec/spec_tests/data/crud_v2/find-allowdiskuse-clientError.yml
2323
- - spec/spec_tests/data/crud_v2/findOneAndDelete-hint-clientError.yml
2324
- - spec/spec_tests/data/crud_v2/unacknowledged-findOneAndReplace-hint-clientError.yml
2325
- - spec/spec_tests/data/crud_v2/bulkWrite-delete-hint-clientError.yml
2326
- - spec/spec_tests/data/crud_v2/unacknowledged-deleteOne-hint-clientError.yml
2327
- - spec/spec_tests/data/crud_v2/findOneAndUpdate-hint-clientError.yml
2328
- - spec/spec_tests/data/crud_v2/deleteOne-hint-serverError.yml
2329
- - spec/spec_tests/data/crud_v2/updateWithPipelines.yml
2330
- - spec/spec_tests/data/crud_v2/aggregate-out-readConcern.yml
2331
- - spec/spec_tests/data/crud_v2/find-allowdiskuse-serverError.yml
2332
- - spec/spec_tests/data/crud_v2/deleteMany-hint-serverError.yml
2333
- - spec/spec_tests/data/crud_v2/deleteOne-hint-clientError.yml
2334
- - spec/spec_tests/data/crud_v2/findOneAndReplace-hint.yml
2335
- - spec/spec_tests/data/crud_v2/findOneAndDelete-hint-serverError.yml
2336
- - spec/spec_tests/data/crud_v2/deleteMany-hint-clientError.yml
2337
- - spec/spec_tests/data/crud_v2/unacknowledged-findOneAndUpdate-hint-clientError.yml
2338
- - spec/spec_tests/data/crud_v2/unacknowledged-replaceOne-hint-clientError.yml
2339
- - spec/spec_tests/data/crud_v2/bulkWrite-update-hint.yml
2340
- - spec/spec_tests/data/crud_v2/bulkWrite-delete-hint-serverError.yml
2341
- - spec/spec_tests/data/crud_v2/findOneAndReplace-hint-serverError.yml
2342
- - spec/spec_tests/data/crud_v2/bulkWrite-update-hint-clientError.yml
2343
- - spec/spec_tests/data/crud_v2/bulkWrite-delete-hint.yml
2344
- - spec/spec_tests/data/crud_v2/db-aggregate.yml
2345
- - spec/spec_tests/data/crud_v2/findOneAndDelete-hint.yml
2346
- - spec/spec_tests/data/crud_v2/unacknowledged-bulkWrite-delete-hint-clientError.yml
2347
- - spec/spec_tests/data/crud_v2/updateOne-hint.yml
2348
- - spec/spec_tests/data/crud_v2/deleteMany-hint.yml
2349
- - spec/spec_tests/data/crud_v2/bulkWrite-update-hint-serverError.yml
2350
- - spec/spec_tests/data/crud_v2/updateMany-hint-serverError.yml
2351
- - spec/spec_tests/data/crud_v2/updateOne-hint-clientError.yml
2352
- - spec/spec_tests/data/crud_v2/unacknowledged-updateMany-hint-clientError.yml
2353
- - spec/spec_tests/data/crud_v2/find-allowdiskuse.yml
2354
- - spec/spec_tests/data/crud_v2/unacknowledged-updateOne-hint-clientError.yml
2355
- - spec/spec_tests/data/crud_v2/deleteOne-hint.yml
2356
- - spec/spec_tests/data/crud_v2/updateMany-hint.yml
2357
- - spec/spec_tests/data/crud_v2/unacknowledged-bulkWrite-update-hint-clientError.yml
2358
- - spec/spec_tests/data/crud_v2/bulkWrite-arrayFilters.yml
2359
- - spec/spec_tests/data/crud_v2/aggregate-merge.yml
2360
- - spec/spec_tests/data/crud_v2/findOneAndReplace-hint-clientError.yml
2361
- - spec/spec_tests/data/crud_v2/findOneAndUpdate-hint.yml
2362
- - spec/spec_tests/data/server_selection_rtt/value_test_2.yml
2363
- - spec/spec_tests/data/server_selection_rtt/first_value_zero.yml
2364
- - spec/spec_tests/data/server_selection_rtt/first_value.yml
2365
- - spec/spec_tests/data/server_selection_rtt/value_test_5.yml
2366
- - spec/spec_tests/data/server_selection_rtt/value_test_1.yml
2367
- - spec/spec_tests/data/server_selection_rtt/value_test_3.yml
2368
- - spec/spec_tests/data/server_selection_rtt/value_test_4.yml
2369
- - spec/spec_tests/data/command_monitoring/find.yml
2370
- - spec/spec_tests/data/command_monitoring/insertMany.yml
2371
- - spec/spec_tests/data/command_monitoring/bulkWrite.yml
2372
- - spec/spec_tests/data/command_monitoring/unacknowledgedBulkWrite.yml
2373
- - spec/spec_tests/data/command_monitoring/deleteMany.yml
2374
- - spec/spec_tests/data/command_monitoring/updateMany.yml
2375
- - spec/spec_tests/data/command_monitoring/deleteOne.yml
2376
- - spec/spec_tests/data/command_monitoring/insertOne.yml
2377
- - spec/spec_tests/data/command_monitoring/command.yml
2378
- - spec/spec_tests/data/command_monitoring/updateOne.yml
2379
- - spec/spec_tests/data/transactions/update.yml
2380
- - spec/spec_tests/data/transactions/retryable-abort-errorLabels.yml
2381
- - spec/spec_tests/data/transactions/transaction-options.yml
2382
- - spec/spec_tests/data/transactions/findOneAndUpdate.yml
2383
- - spec/spec_tests/data/transactions/create-index.yml
2384
- - spec/spec_tests/data/transactions/mongos-pin-auto.yml
2385
- - spec/spec_tests/data/transactions/create-collection.yml
2386
- - spec/spec_tests/data/transactions/commit.yml
2387
- - spec/spec_tests/data/transactions/isolation.yml
2388
- - spec/spec_tests/data/transactions/abort.yml
2389
- - spec/spec_tests/data/transactions/read-pref.yml
2390
- - spec/spec_tests/data/transactions/causal-consistency.yml
2391
- - spec/spec_tests/data/transactions/findOneAndDelete.yml
2392
- - spec/spec_tests/data/transactions/retryable-commit-errorLabels.yml
2393
- - spec/spec_tests/data/transactions/read-concern.yml
2394
- - spec/spec_tests/data/transactions/transaction-options-repl.yml
2395
- - spec/spec_tests/data/transactions/mongos-recovery-token.yml
2396
- - spec/spec_tests/data/transactions/findOneAndReplace.yml
2397
- - spec/spec_tests/data/transactions/write-concern.yml
2398
- - spec/spec_tests/data/transactions/reads.yml
2399
- - spec/spec_tests/data/transactions/pin-mongos.yml
2400
- - spec/spec_tests/data/transactions/delete.yml
2401
- - spec/spec_tests/data/transactions/retryable-commit.yml
2402
- - spec/spec_tests/data/transactions/errors-client.yml
2403
- - spec/spec_tests/data/transactions/error-labels.yml
2404
- - spec/spec_tests/data/transactions/retryable-abort.yml
2405
- - spec/spec_tests/data/transactions/errors.yml
2406
- - spec/spec_tests/data/transactions/bulk.yml
2407
- - spec/spec_tests/data/transactions/run-command.yml
2408
- - spec/spec_tests/data/transactions/count.yml
2409
- - spec/spec_tests/data/transactions/insert.yml
2410
- - spec/spec_tests/data/transactions/retryable-writes.yml
2411
- - spec/spec_tests/data/connection_string/valid-auth.yml
2412
- - spec/spec_tests/data/connection_string/valid-db-with-dotted-name.yml
2413
- - spec/spec_tests/data/connection_string/valid-warnings.yml
2414
- - spec/spec_tests/data/connection_string/invalid-uris.yml
2415
- - spec/spec_tests/data/connection_string/valid-options.yml
2416
- - spec/spec_tests/data/connection_string/valid-host_identifiers.yml
2417
- - spec/spec_tests/data/connection_string/valid-unix_socket-relative.yml
2418
- - spec/spec_tests/data/connection_string/valid-unix_socket-absolute.yml
2419
- - spec/spec_tests/sdam_integration_spec.rb
2420
- - spec/spec_tests/change_streams_spec.rb
2421
- - spec/spec_tests/retryable_writes_spec.rb
2422
- - spec/spec_tests/max_staleness_spec.rb
2423
- - spec/spec_tests/crud_spec.rb
2424
- - spec/spec_tests/sdam_monitoring_spec.rb
2425
- - spec/spec_tests/client_side_encryption_spec.rb
3335
+ - spec/spec_tests/data/sdam/rs/normalize_case_me.yml
3336
+ - spec/spec_tests/data/sdam/rs/incompatible_other.yml
3337
+ - spec/spec_tests/data/sdam/rs/stepdown_change_set_name.yml
3338
+ - spec/spec_tests/data/sdam/rs/ruby_primary_address_change.yml
3339
+ - spec/spec_tests/data/sdam/rs/new_primary_wrong_set_name.yml
3340
+ - spec/spec_tests/data/sdam/rs/discover_hidden_replicaset.yml
3341
+ - spec/spec_tests/data/sdam/rs/discover_secondary_replicaset.yml
3342
+ - spec/spec_tests/data/gridfs/download_by_name.yml
3343
+ - spec/spec_tests/data/gridfs/delete.yml
3344
+ - spec/spec_tests/data/gridfs/download.yml
3345
+ - spec/spec_tests/data/gridfs/upload.yml
3346
+ - spec/spec_tests/data/sdam_unified/auth-shutdown-error.yml
3347
+ - spec/spec_tests/data/sdam_unified/find-network-error.yml
3348
+ - spec/spec_tests/data/sdam_unified/cancel-server-check.yml
3349
+ - spec/spec_tests/data/sdam_unified/auth-network-error.yml
3350
+ - spec/spec_tests/data/sdam_unified/interruptInUse-pool-clear.yml
3351
+ - spec/spec_tests/data/sdam_unified/insert-shutdown-error.yml
3352
+ - spec/spec_tests/data/sdam_unified/pool-cleared-error.yml
3353
+ - spec/spec_tests/data/sdam_unified/hello-timeout.yml
3354
+ - spec/spec_tests/data/sdam_unified/hello-command-error.yml
3355
+ - spec/spec_tests/data/sdam_unified/insert-network-error.yml
3356
+ - spec/spec_tests/data/sdam_unified/connectTimeoutMS.yml
3357
+ - spec/spec_tests/data/sdam_unified/auth-misc-command-error.yml
3358
+ - spec/spec_tests/data/sdam_unified/find-network-timeout-error.yml
3359
+ - spec/spec_tests/data/sdam_unified/auth-network-timeout-error.yml
3360
+ - spec/spec_tests/data/sdam_unified/hello-network-error.yml
3361
+ - spec/spec_tests/data/sdam_unified/rediscover-quickly-after-step-down.yml
3362
+ - spec/spec_tests/data/sdam_unified/minPoolSize-error.yml
3363
+ - spec/spec_tests/data/sdam_unified/find-shutdown-error.yml
3364
+ - spec/spec_tests/data/sdam_unified/auth-error.yml
2426
3365
  - spec/spec_tests/auth_spec.rb
2427
3366
  - spec/spec_tests/transactions_spec.rb
3367
+ - spec/spec_tests/transactions_unified_spec.rb
3368
+ - spec/spec_tests/retryable_reads_spec.rb
3369
+ - spec/spec_tests/gridfs_spec.rb
3370
+ - spec/spec_tests/read_write_concern_operaton_spec.rb
3371
+ - spec/spec_tests/cmap_spec.rb
3372
+ - spec/spec_tests/server_selection_spec.rb
3373
+ - spec/spec_tests/crud_unified_spec.rb
3374
+ - spec/spec_tests/client_side_encryption_unified_spec.rb
3375
+ - spec/spec_tests/retryable_writes_unified_spec.rb
2428
3376
  - spec/spec_tests/read_write_concern_connection_string_spec.rb
2429
3377
  - spec/spec_tests/sdam_spec.rb
2430
- - spec/spec_tests/connection_string_spec.rb
2431
- - spec/spec_tests/read_write_concern_operaton_spec.rb
2432
- - spec/README.md
2433
- - spec/runners/connection_string.rb
2434
- - spec/runners/crud.rb
2435
- - spec/runners/transactions.rb
2436
- - spec/runners/read_write_concern_document.rb
2437
- - spec/runners/crud/outcome.rb
2438
- - spec/runners/crud/test_base.rb
2439
- - spec/runners/crud/spec.rb
2440
- - spec/runners/crud/operation.rb
2441
- - spec/runners/crud/requirement.rb
2442
- - spec/runners/crud/test.rb
2443
- - spec/runners/crud/context.rb
2444
- - spec/runners/crud/verifier.rb
2445
- - spec/runners/cmap/verifier.rb
2446
- - spec/runners/command_monitoring.rb
2447
- - spec/runners/sdam/verifier.rb
2448
- - spec/runners/sdam.rb
2449
- - spec/runners/change_streams/outcome.rb
2450
- - spec/runners/change_streams/spec.rb
2451
- - spec/runners/change_streams/test.rb
2452
- - spec/runners/gridfs.rb
2453
- - spec/runners/server_selection.rb
2454
- - spec/runners/cmap.rb
2455
- - spec/runners/auth.rb
2456
- - spec/runners/transactions/spec.rb
2457
- - spec/runners/transactions/operation.rb
2458
- - spec/runners/transactions/test.rb
2459
- - spec/runners/server_selection_rtt.rb
2460
- - spec/NOTES.aws-auth.md
2461
- - spec/README.aws-auth.md
2462
- - spec/spec_helper.rb
2463
- - spec/stress/connection_pool_timing_spec.rb
2464
- - spec/stress/cleanup_spec.rb
2465
- - spec/stress/connection_pool_stress_spec.rb
2466
- - spec/stress/fork_reconnect_stress_spec.rb
2467
- - spec/support/cluster_tools.rb
2468
- - spec/support/aws_utils.rb
2469
- - spec/support/authorization.rb
2470
- - spec/support/spec_organizer.rb
2471
- - spec/support/crypt/corpus/corpus-schema.json
2472
- - spec/support/crypt/corpus/corpus_encrypted.json
2473
- - spec/support/crypt/corpus/corpus-key-aws.json
2474
- - spec/support/crypt/corpus/corpus-key-local.json
2475
- - spec/support/crypt/corpus/corpus.json
2476
- - spec/support/crypt/limits/limits-key.json
2477
- - spec/support/crypt/limits/limits-schema.json
2478
- - spec/support/crypt/limits/limits-doc.json
2479
- - spec/support/crypt/schema_maps/schema_map_local_key_alt_names.json
2480
- - spec/support/crypt/schema_maps/schema_map_aws.json
2481
- - spec/support/crypt/schema_maps/schema_map_aws_key_alt_names.json
2482
- - spec/support/crypt/schema_maps/schema_map_local.json
2483
- - spec/support/crypt/data_keys/key_document_aws.json
2484
- - spec/support/crypt/data_keys/key_document_local.json
2485
- - spec/support/crypt/external/external-schema.json
2486
- - spec/support/crypt/external/external-key.json
2487
- - spec/support/constraints.rb
2488
- - spec/support/primary_socket.rb
2489
- - spec/support/cluster_config.rb
2490
- - spec/support/certificates/server.pem
2491
- - spec/support/certificates/client.key
2492
- - spec/support/certificates/python-ca.crt
2493
- - spec/support/certificates/client-second-level.key
2494
- - spec/support/certificates/README.md
2495
- - spec/support/certificates/server-second-level-bundle.pem
2496
- - spec/support/certificates/client-second-level.crt
2497
- - spec/support/certificates/client-second-level-bundle.pem
2498
- - spec/support/certificates/client.pem
2499
- - spec/support/certificates/server-second-level.key
2500
- - spec/support/certificates/server-int.crt
2501
- - spec/support/certificates/crl_client_revoked.pem
2502
- - spec/support/certificates/client.crt
2503
- - spec/support/certificates/client-x509.key
2504
- - spec/support/certificates/client-second-level.pem
2505
- - spec/support/certificates/client-int.crt
2506
- - spec/support/certificates/server-second-level.pem
2507
- - spec/support/certificates/client-x509.crt
2508
- - spec/support/certificates/server-second-level.crt
2509
- - spec/support/certificates/ca.crt
2510
- - spec/support/certificates/crl.pem
2511
- - spec/support/certificates/client-encrypted.key
2512
- - spec/support/certificates/client-x509.pem
2513
- - spec/support/certificates/multi-ca.crt
2514
- - spec/support/keyword_struct.rb
2515
- - spec/support/client_registry_macros.rb
2516
- - spec/support/sdam_formatter_integration.rb
2517
- - spec/support/background_thread_registry.rb
2518
- - spec/support/local_resource_registry.rb
2519
- - spec/support/shared/server_selector.rb
2520
- - spec/support/shared/protocol.rb
2521
- - spec/support/shared/scram_conversation.rb
2522
- - spec/support/shared/session.rb
2523
- - spec/support/spec_setup.rb
2524
- - spec/support/spec_config.rb
2525
- - spec/support/crypt.rb
2526
- - spec/support/matchers.rb
2527
- - spec/support/json_ext_formatter.rb
2528
- - spec/support/dns.rb
2529
- - spec/support/aws_utils/provisioner.rb
2530
- - spec/support/aws_utils/orchestrator.rb
2531
- - spec/support/aws_utils/inspector.rb
2532
- - spec/support/aws_utils/base.rb
2533
- - spec/support/monitoring_ext.rb
2534
- - spec/support/lite_constraints.rb
2535
- - spec/support/event_subscriber.rb
2536
- - spec/support/common_shortcuts.rb
2537
- - spec/support/child_process_helper.rb
2538
- - spec/support/client_registry.rb
2539
- - spec/support/utils.rb
2540
- - spec/USERS.md
2541
- - spec/atlas/atlas_connectivity_spec.rb
2542
- - spec/atlas/operations_spec.rb
2543
- - spec/lite_spec_helper.rb
3378
+ - spec/spec_tests/transactions_api_spec.rb