Uploaded image for project: 'Motor'
  1. Motor
  2. MOTOR-878

Change streams support for user-facing PIT pre- and post-images

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.1
    • Affects Version/s: None
    • Component/s: None
    • 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:
            julius.park@mongodb.com Julius Park (Inactive)
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: