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

Change stream support for point-in-time pre and post-images

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.13.0-beta1, 1.13.0
    • Affects Version/s: None
    • Component/s: Spec Comp
    • None
    • Hide

      DRIVERS-1915:
      Change stream watch helpers now accept "whenAvailable" and "required" for the fullDocument option. Additionally, a new fullDocumentBeforeChange option is introduced, which accepts "whenAvailable" and "required". Change events may now include a fullDocumentBeforeChange response field.

      The create and collMod commands now support a changeStreamPreAndPostImages option that accepts: {enabled: <boolean>}. The listCollections command will also report changeStreamPreAndPostImages (if set) when returning full collection info.

      Drivers should sync unified change stream tests with 8978899.

      Note: testing may require starting mongod with --setParameter featureFlagChangeStreamPreAndPostImages=true if the "latest" server build does not include SERVER-52282.

      Show
      DRIVERS-1915 : Change stream watch helpers now accept "whenAvailable" and "required" for the fullDocument option. Additionally, a new fullDocumentBeforeChange option is introduced, which accepts "whenAvailable" and "required". Change events may now include a fullDocumentBeforeChange response field. The create and collMod commands now support a changeStreamPreAndPostImages option that accepts: { enabled: <boolean> }. The listCollections command will also report changeStreamPreAndPostImages (if set) when returning full collection info. Drivers should sync unified change stream tests with 8978899 . Note: testing may require starting mongod with --setParameter featureFlagChangeStreamPreAndPostImages=true if the "latest" server build does not include SERVER-52282 .

      This ticket was split from DRIVERS-1915, please see that ticket for a detailed description.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: