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. rollbacks.txt
          18 kB
        2. rollbacks_with_rollback_test.txt
          12 kB
        3. before_stats_kSyncSourceOpsBeforeRollback.png
          before_stats_kSyncSourceOpsBeforeRollback.png
          124 kB
        4. before_stats_kSteadyStateOps.png
          before_stats_kSteadyStateOps.png
          125 kB
        5. after_stats_kSyncSourceOpsBeforeRollback.png
          after_stats_kSyncSourceOpsBeforeRollback.png
          128 kB
        6. after_stats_kSteadyStateOps.png
          after_stats_kSteadyStateOps.png
          121 kB

            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: