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

replsetrestart1.js fails in 32-bit Windows

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.1
    • Affects Version/s: 2.1.0
    • Component/s: Shell
    • Labels:
    • Environment:
      32-bit Windows
    • Windows

      The replsetrestart1.js test fails in 32-bit Windows because a "shutdown" command without force does not shut down the primary within the 30 seconds we wait before forcefully terminating the process. When we terminate the process, this leaves the mongod.lock file in place and in 32-bit we don't have journaling by default, so the restart of the primary fails.

      Adding a force option to the shutdown command sent by the shell makes the shutdown happen, and raising the timeout from 30 seconds to 60 seconds reduces the window for a race. In the logs of the failure, the primary is still trying to talk to the (no longer running) secondaries right up until it gets terminated.

            Assignee:
            tad Tad Marshall
            Reporter:
            tad Tad Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: