Expose transaction options on session object

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      To be fully spec compliant, the MongoDB\Driver\Session object needs to expose transaction options for consumption in downstream libraries. This is needed in PHPLIB to correctly run server selection while in a transaction. For now, falling back to a primary read preference works since that's the only read preference allowed in a transaction, but if this restriction is eventually relaxed, PHPLIB will have to use the transaction's read preference to perform server selection.

            Assignee:
            Andreas Braun
            Reporter:
            Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: