Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-577

Update Transactions Retry Example 3 to include read preference

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 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

            Assignee:
            Unassigned Unassigned
            Reporter:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: