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

replSetFreeze done part of RollbackTest.transitionToSyncSourceOperationsDuringRollback Should be resilient of errors.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1, 4.2.2
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.2
    • Sprint:
      Repl 2019-10-07, Repl 2019-10-21
    • Linked BF Score:
      7

      Description

      rollback_fuzzer_[un]clean_shutdowns suites performs restart of nodes between the RollbackTest transition phase. When the nodes are restarted, we only wait until a current primary is elected and available to accept writes in the replica set. As a result, replSetFreeze cmd executed as part of this RollbackTest state transition method transitionToSyncSourceOperationsDuringRollback(), can throw an error if the node restarted is an uninitialized state (not yet loaded the local config or not reached the STARUP2 repl state).

        Attachments

          Activity

            People

            Assignee:
            lingzhi.deng Lingzhi Deng
            Reporter:
            suganthi.mani Suganthi Mani
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: