Update Transactions Retry Example 3 to include read preference

XMLWordPrintableJSON

    • 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

            Assignee:
            Unassigned
            Reporter:
            Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: