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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.4
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Query 2018-04-09
    • 22

      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.

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

              Created:
              Updated:
              Resolved: