-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Component/s: Docs Examples
-
None
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
- depends on
-
CDRIVER-2935 Update Transactions Retry Example 3 to include read preference
- Closed
-
CSHARP-2492 Update Transactions Retry Example 3 to include read preference
- Closed
-
CXX-1718 Update Transactions Retry Example 3 to include read preference
- Closed
-
MOTOR-301 Update Transactions Retry Example 3 to include read preference
- Closed
-
NODE-1847 Update Transactions Retry Example 3 to include read preference
- Closed
-
RUST-133 Update Transactions Retry Example 3 to include read preference
- Closed
-
GODRIVER-788 Update Transactions Retry Example 3 to include read preference
- Closed
-
JAVA-3152 Update Transactions Retry Example 3 to include read preference
- Closed
-
PHPLIB-408 Update Transactions Retry Example 3 to include read preference
- Closed
-
PYTHON-1729 Update Transactions Retry Example 3 to include read preference
- Closed
-
RUBY-1688 Update Transactions Retry Example 3 to include read preference
- Closed
- has to be done after
-
DRIVERS-488 Provide Transactions example for Docs
- Closed