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

Exclude system view creation events in ddl_view_events.js multiversion test for older versions

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Change streams
    • None
    • Query Execution
    • ALL
    • 200

      SERVER-94731 introduced additional change stream events for `system.views` in master. Assertions that these events should occur were added to jstests/change_streams/ddl_view_event.js as part of that change.

      These additional change stream events are not present in v8.0, so multiversion-testing that file would have caused issues. However, multiversion tests for jstests/change_streams/ddl_view_events.js were blacklisted in etc/backports_required_for_multiversion_tests.yml by a previous change (SERVER-88142).

      The issue became a problem yesterday when the backport of SERVER-88142 was merged into v8.0, which re-enabled the multiversion tests for jstests/change_streams/ddl_view_event.js.

      To fix the issue, we need to adjust the checks for system view creations in jstests/change_streams/ddl_view_event.js so that they only run when the mongod version is >= 8.1.

            Assignee:
            jan.steemann@mongodb.com Jan Steemann
            Reporter:
            jan.steemann@mongodb.com Jan Steemann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: