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

Add multiversion full cluster changestreams hook

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • STM 2021-07-12, STM 2021-07-26, STM 2021-08-23
    • 3

      The change streams sharded cluster suites will run tests in jstests/core with a new change_streams hook in Python that does the following

      • Open a change stream every X tests where X is random from 0 to 10 to cover potential edge cases.
      • run the background stepdown hook with downgrade
      • wait for X tests to run
      • Wait for change streams to complete and ensure there are no crashes and go back to step 1

      Commands that invalidate change streams (i.e. ones that are not compatible with change streams) will need to be excluded in the suite YAML.

      We'll file a followup ticket for Query to implement targeted tests for downgrade of change stream invalidate events. We should also check if there is existing test coverage

            Assignee:
            mikhail.shchatko@mongodb.com Mikhail Shchatko
            Reporter:
            robert.guo@mongodb.com Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: