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

Expose transaction options on session object

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.7.0
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              andreas.braun@mongodb.com Andreas Braun
              andreas.braun@mongodb.com Andreas Braun
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: