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

Prevent spontaneous elections in rollback_crud_op_sequences.js

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 5.0 Required
    • Fix Version/s: 4.9.0, 4.2.13, 4.4.5
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4, v4.2
    • Sprint:
      Repl 2021-02-08, Repl 2021-02-22
    • Linked BF Score:
      15

      Description

      In the linked BF, we see the primary step down unexpectedly due to a slow heartbeat. Since the purpose of the test is to run operations before/during/after rollback, the RollbackTest fixture seems perfectly suited to be used here. We can probably convert the test to use the fixture, which I believe handles unexpected elections.

        Attachments

          Activity

            People

            Assignee:
            xuerui.fa Xuerui Fa
            Reporter:
            xuerui.fa Xuerui Fa
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: