ExportXMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication, Replication - Oplog and Recovery
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      BF-46612 (deduped to BF-44771) was an issue in which node.adminCommand({replSetStepUp: 1}) can transiently fail. The fix was simple: wrap the command:

      assert.soonNoExcept(() => {
        assert.commandWorked(node.adminCommand({replSetStepUp: 1}));
        return true;
      });
      

      We should consider this type of change more broadly, along with a linter.

            Assignee:
            Unassigned
            Reporter:
            Brad Cater
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: