Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-37466

mongo shell Transaction options missing read preference

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

      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:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: