[CXX-1760] Ensure 4.0 drivers return an error when attempting sharded transactions on 4.2 Created: 08/Apr/19  Updated: 02/Mar/20  Resolved: 02/Mar/20

Status: Closed
Project: C++ Driver
Component/s: Implementation
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Rathi Gnanasekaran Assignee: Kevin Albertson
Resolution: Done 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

 Description   

See DRIVERS-624 for details.



 Comments   
Comment by Kevin Albertson [ 02/Mar/20 ]

CDRIVER-3067 added checks for the libmongoc 1.14.1. Sharded transaction support should be entirely handled by libmongoc. As a sanity check, I verified that building the C++ driver with the 3.4.0 against libmongoc 1.14.1, and attempting a sharded transaction resulted in an exception being thrown with the message "Multi-document transactions on sharded clusters are not supported by this version of libmongoc".

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