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

Remove aggregate() and restriction on majority read concern

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 1.2.0
    • Component/s: None
    • None

      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.

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

              Created:
              Updated:
              Resolved: