Remove aggregate() and restriction on majority read concern

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: 1.2.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: