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

Race in last_vote.js

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • ALL
    • 23

      This test initiates a 2-node RS and restarts the secondary as standalone, then immediately stops the primary. Since the validate_collections_on_shutdown.js override is active, the test tries to validate all the collections on the primary before stopping it. If, during this validation, the primary notices that the secondary is no longer a member, then it steps down and collection validation fails with "InterruptedDueToStepDown".

      Pass skipValidation: true to ReplSetTest.stop() to avoid errors if the primary steps down before stopping.

       

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: