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

Investigate the slowest sections of RollbackTest and remove any wasted downtime

    • Fully Compatible
    • v4.4
    • Repl 2020-04-20, Repl 2020-05-04

      We should investigate the slowest parts of the RollbackTest fixture to identify and remove any areas of wasted downtime. Wasted downtime would be any time spent not doing useful, required work. For example, waiting for data to propagate over the network or waiting for an arbitrary timeout to fire in the server e.g. a heartbeat interval or election timeout.

      In many of our tests that use the rollback test fixture, the duration of the rollback itself is often only a few hundred milliseconds. In theory, our test fixtures should be able to run a rollback test sequence in a time not much longer than it takes to complete a rollback, setting aside required setup and teardown time. We should investigate to see if this is feasible with our current testing infrastructure.

        1. after_stats_kSteadyStateOps.png
          121 kB
          William Schultz
        2. after_stats_kSyncSourceOpsBeforeRollback.png
          128 kB
          William Schultz
        3. before_stats_kSteadyStateOps.png
          125 kB
          William Schultz
        4. before_stats_kSyncSourceOpsBeforeRollback.png
          124 kB
          William Schultz
        5. rollbacks_with_rollback_test.txt
          12 kB
          William Schultz
        6. rollbacks.txt
          18 kB
          William Schultz

            Assignee:
            william.schultz@mongodb.com William Schultz (Inactive)
            Reporter:
            william.schultz@mongodb.com William Schultz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: