Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-1439

Expose transaction options on session object

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.0
    • Affects Version/s: None
    • Component/s: 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@mongodb.com Andreas Braun
            Reporter:
            andreas.braun@mongodb.com Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: