Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-34251

change_stream_whole_db_invalidation.js should check for invalidated change stream on system collection drop

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.7.4
    • None
    • Aggregation Framework
    • None
    • Fully Compatible
    • ALL
    • Query 2018-04-09
    • 22

    Description

      In particular, this drop will actually invalidate the change stream if the collection exists beforehand. The reason this is passing most of the time is because the collection drop doesn't write anything to the oplog when the collection doesn't exist. The test should assert that the collection exists before dropping, then asserting that the change stream is invalidated.

      Attachments

        Activity

          People

            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: