[CDRIVER-3067] Ensure 4.0 drivers return an error when attempting sharded transactions on 4.2 Created: 02/Apr/19  Updated: 28/Oct/23  Resolved: 17/Jun/19

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: 1.11.0
Fix Version/s: 1.14.1

Type: Improvement Priority: Major - P3
Reporter: Jeremy Mikola Assignee: Clyde Bazile III (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-624 Ensure 4.0 drivers return an error wh... Implementing
Related
related to CDRIVER-3161 Prohibit starting a transaction for m... Closed
related to CDRIVER-3224 mongoc_client_session_start_transacti... Closed
related to PHPC-1359 Ensure 4.0 drivers return an error wh... Closed
is related to CDRIVER-2872 Support mongos pinning for sharded tr... Closed

 Description   

In versions of the driver that do not support sharded transactions, mongoc_client_session_start_transaction should report an error if the topology is a sharded cluster.

This logic will not be necessary once the driver supports mongos pinning (CDRIVER-2872).



 Comments   
Comment by Githook User [ 17/Jun/19 ]

Author:

{'name': 'bazile-clyde', 'email': '34226620+bazile-clyde@users.noreply.github.com', 'username': 'bazile-clyde'}

Message: CDRIVER-3067/3161 error when attempting sharded transactions on 4.2 or maxWireVersion < 7 (#567) (#568)
Branch: r1.14
https://github.com/mongodb/mongo-c-driver/commit/2d7d5f20261eb797afed22a17c397c8c91014605

Comment by Githook User [ 17/Jun/19 ]

Author:

{'name': 'bazile-clyde', 'email': '34226620+bazile-clyde@users.noreply.github.com', 'username': 'bazile-clyde'}

Message: CDRIVER-3067/3161 error when attempting sharded transactions on 4.2 or maxWireVersion < 7 (#567)
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/55207762bc910a2d5a74bf141b7a8f9ede0f7d59

Generated at Wed Feb 07 21:17:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.