Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-544

Support 'startAfter' option to the $changeStream stage

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: Change Streams
    • Labels:
      None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      RUST-113 Duplicate
      NODE-1824 Fixed 3.3.0
      SCALA-488 Fixed 2.7.0
      PYTHON-1720 Fixed 3.9
      CSHARP-2483 Fixed 2.9.0
      PERL-1052 Fixed 2.1.1
      RUBY-1668 Fixed 2.9.0.rc0
      JAVA-3139 Fixed 3.11.0
      CXX-1715 Fixed 3.5.0
      PHPLIB-407 Fixed 1.5.0
      MOTOR-297 Fixed 2.1
      GODRIVER-765 Fixed 1.1.0
      CDRIVER-2925 Fixed 1.15.0
      SWIFT-576 Won't Do
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion RUST-113 Duplicate NODE-1824 Fixed 3.3.0 SCALA-488 Fixed 2.7.0 PYTHON-1720 Fixed 3.9 CSHARP-2483 Fixed 2.9.0 PERL-1052 Fixed 2.1.1 RUBY-1668 Fixed 2.9.0.rc0 JAVA-3139 Fixed 3.11.0 CXX-1715 Fixed 3.5.0 PHPLIB-407 Fixed 1.5.0 MOTOR-297 Fixed 2.1 GODRIVER-765 Fixed 1.1.0 CDRIVER-2925 Fixed 1.15.0 SWIFT-576 Won't Do

      Useful Info

      Lead:
      POCs:

      Summary:
      The startAfter option is being added in order to convey intent to users about the creation of a new change stream based on an pre-existing resume token from a collection that has been invalidated. Creating a change stream with the startAfter parameter specified in the $changeStream stage will open a cursor opportunistically, and wait for the collection to be come available. In this sense, startAfter provides a way for users to never miss a single event.

      Final Specification:
      https://github.com/mongodb/specifications/commit/830715cd8a84da9c5582617a3e3a7d40171aa5f8

            Assignee:
            Unassigned Unassigned
            Reporter:
            rathi.gnanasekaran Rathi Gnanasekaran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: