Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-290

Remove aggregate() and restriction on majority read concern

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Duplicate
    • 1.2.0
    • None
    • None
    • None

    Description

      Currently, the library restricts inheriting a Collection's read concern if it has the "majority" level and aggregate() will write, due to a server limitation (see: SERVER-20214). Should that limitation be lifted in a later server version, we can relax this library restriction (see: SERVER-20445).

      Note: we do not restrict a user-supplied read concern option. If a user supplies a "majority" read concern to aggregate() and it would write, we rely on the server to report an error.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jmikola@mongodb.com Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: