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

Support $merge and $out executing on secondaries

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.10.0
    • Affects Version/s: None
    • Component/s: Spec Comp
    • Labels:
      None
    • Hide

      DRIVERS-823:
      As of MongoDB 5.0, drivers can support read preferences (either explicit/per-operation or inherited) for aggregations including an $out/$merge stage. Previously, such pipelines would always require a primary.

      Drivers should sync unified CRUD tests to mongodb/specifications@5f8f668. If possible, drivers may consider implementing DRIVERS-1958 alongside this ticket and sync to mongodb/specifications@dce2c48, which fixes an issue with the original spec tests for DRIVERS-823.

      The outdated "$out Aggregation Pipeline Operator" specification was also deleted. All relevant information for $out/$merge is now discussed in the CRUD spec (and parts of Server Selection).

      Note: DRIVERS-1969 revises behavior for applying a read preference. Drivers that have yet to implement DRIVERS-823 should consider that ticket when picking up this work. DRIVERS-1969 does not change any spec tests.

      Show
      DRIVERS-823 : As of MongoDB 5.0, drivers can support read preferences (either explicit/per-operation or inherited) for aggregations including an $out/$merge stage. Previously, such pipelines would always require a primary. Drivers should sync unified CRUD tests to mongodb/specifications@5f8f668 . If possible, drivers may consider implementing DRIVERS-1958 alongside this ticket and sync to mongodb/specifications@dce2c48 , which fixes an issue with the original spec tests for DRIVERS-823 . The outdated "$out Aggregation Pipeline Operator" specification was also deleted. All relevant information for $out/$merge is now discussed in the CRUD spec (and parts of Server Selection). Note: DRIVERS-1969 revises behavior for applying a read preference. Drivers that have yet to implement DRIVERS-823 should consider that ticket when picking up this work. DRIVERS-1969 does not change any spec tests.

      Downstream Change Summary

      TBD once scoping is complete.

      Description of Linked Ticket

      Epic Summary

      Summary

      Motivation

      Cast of Characters

      • Product Owner: Katya Kamenieva
      • Project Lead: David Storch
      • Program Manager: Craig Homa

      Documentation

      Server Scope Document
      Server Technical Design Document
      Driver Scope Document
      Slack channel: #drivers-823-out-merge-on-secondaries

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: