mongo shell Transaction options missing read preference

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication, Shell
    • None
    • Replication
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hi – 

      in the drivers spec, read pref is part of the transaction options

      https://github.com/mongodb/specifications/blob/master/source/transactions/transactions.rst#id17

      But in the mongo shell, TransactionOptions seem to be missing readpref:

      https://github.com/mongodb/mongo/blob/23794c14b03bb272daad7a2b25eca0b80c03a31c/src/mongo/shell/session.js#L461-L484

       

      Should they be in sync?

            Assignee:
            [DO NOT USE] Backlog - Replication Team
            Reporter:
            Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: