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

XMLWordPrintableJSON

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

      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
            Reporter:
            Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: