[DRIVERS-577] Update Transactions Retry Example 3 to include read preference Created: 10/Oct/18  Updated: 26/Sep/22  Resolved: 26/Sep/22

Status: Closed
Project: Drivers
Component/s: Docs Examples
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2019-02-11 at 10.15.49 AM.png    
Issue Links:
Depends
depends on CDRIVER-2935 Update Transactions Retry Example 3 t... Closed
depends on CSHARP-2492 Update Transactions Retry Example 3 t... Closed
depends on CXX-1718 Update Transactions Retry Example 3 t... Closed
depends on MOTOR-301 Update Transactions Retry Example 3 t... Closed
depends on NODE-1847 Update Transactions Retry Example 3 t... Closed
depends on RUST-133 Update Transactions Retry Example 3 t... Closed
depends on GODRIVER-788 Update Transactions Retry Example 3 t... Closed
depends on JAVA-3152 Update Transactions Retry Example 3 t... Closed
depends on PHPLIB-408 Update Transactions Retry Example 3 t... Closed
depends on PYTHON-1729 Update Transactions Retry Example 3 t... Closed
depends on RUBY-1688 Update Transactions Retry Example 3 t... Closed
Gantt Dependency
has to be done after DRIVERS-488 Provide Transactions example for Docs Closed
Related
related to DOCS-12111 Transaction options: read pref Closed
Driver Compliance:
Key Status/Resolution FixVersion
NODE-1847 Done
SCALA-490 Fixed 2.7.0
PYTHON-1729 Fixed 3.9
CSHARP-2492 Fixed 2.10.0
PERL-1056 Done 2.1.1
RUBY-1688 Fixed 2.13.0.beta1
JAVA-3152 Fixed 3.11.0
CXX-1718 Won't Fix
PHPLIB-408 Fixed 1.5.0
RUST-133 Won't Fix
MOTOR-301 Won't Fix
GODRIVER-788 Fixed 1.0.0-rc1
CDRIVER-2935 Won't Fix

 Description   

Hi – so, there have been questions about how to set read preference for transactions:

Currently, in Transactions Retry Example 3, we start the transaction with read concern/write concern.

Could we update the startTransaction call to include read preference 'primary'

Documentation link : https://docs.mongodb.com/master/core/transactions/#transactions-in-applications


Generated at Thu Feb 08 08:21:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.