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

Test command relation invariants for change streams

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution

      Add a new resmoke hook, which opens the change stream at the end of the test and checks general truths. This way, we are relying on the diversity of our tests to provide interesting sequences of commands issued to construct various edge case scenarios. This could potentially prevent bugs like SERVER-61026 from happening.

      An example of an illegal sequence of events such a hook could potentially detect: “create (shard A), shardCollection (shard A), drop (shard A), create (shard A), insert (shard A), drop (shard B)”. Note how create and insert events from shard A happen before the drop event from shard B.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            nikita.lapkov@mongodb.com Nikita Lapkov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: