Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2526

Support $merge and $out executing on secondaries

    XMLWordPrintable

Details

    • Spec Change
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.17.0
    • Spec Comp
    • 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.
    • Fully Compatible

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              dmitry.rybakov@mongodb.com Dmitry Rybakov
              backlog-server-pm Backlog - Core Eng Program Management Team
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: