[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: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 |