Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10668

Docs for SERVER-29140: Return 'invalidate' entries and close the cursor on relevant drop, dropDatabase, and renameCollection oplog entries

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.5.12
    • None
    • None

    Description

      Documentation Request Summary:

      Closing cursor behavior is documented in "Collection drop/rename behavior" section of the design doc.

      Engineering Ticket Description:

      If someone was trying to use changeNotifications to keep a cache in sync with changes to a mongodb collection or database, certain operations would cause that cache to need to be invalidated, namely drop, dropDatabase, and renameCollection operations that affect the collection or database that notifications are being received on. When a change notification feed encounters one of those operations it should return an 'invalidate' entry and close the change notification cursor

      Attachments

        Issue Links

          Activity

            People

              nick.larew@mongodb.com Nicholas Larew
              emily.hall Emily Hall
              Jess Mokrzecki Jess Mokrzecki
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5 years, 42 weeks, 5 days ago