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

--repair crash mongod when repair work almost done

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 4.0.5
    • Fix Version/s: None
    • Component/s: Networking
    • Labels:
      None
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      1 Prepare a clean standalone mongod server.

      2 Edit mongod.cfg, add "bindIp" to it, just like this:

      net:
        bindIp: 127.0.0.1

      3 run command line:

      mongod.exe --config mongod.cfg --repair

      4 When repair works almost done, mongod crashed. the logs i had attach to attachment. according to the logs, the transport layer cause this problem.

       

      And i find out that, to resolve the problem, should delete "bindIp" from mongod.cfg,just like this:

      net:
      #  bindIp: 127.0.0.1

      Then run command line to repair database "mongod.exe --config mongod.cfg --repair"

      After repair database files, add "bindIp" to mongod.cfg.

      Start mongod normally with command line "mongod.exe --config mongod.cfg"

      It work successfully.

      Show
      1 Prepare a clean standalone mongod server. 2 Edit mongod.cfg, add "bindIp" to it, just like this: net:   bindIp: 127.0.0.1 3 run command line: mongod.exe --config mongod.cfg --repair 4 When repair works almost done, mongod crashed. the logs i had attach to attachment. according to the logs, the transport layer cause this problem.   And i find out that, to resolve the problem, should delete "bindIp" from mongod.cfg,just like this: net: #  bindIp: 127.0.0.1 Then run command line to repair database "mongod.exe --config mongod.cfg --repair" After repair database files, add "bindIp" to mongod.cfg. Start mongod normally with command line "mongod.exe --config mongod.cfg" It work successfully.

      Description

      My database with wiredtiger storage engine occur some error when suddenly power down.

      So, i start mongod with --repair in command line.

      When repair works almost done, mongod crash with some transport layer error.

      This problem occur under windows version mongodb-win32-x86_64-2008plus-ssl-4.0.5

        Attachments

        1. mongod.log
          13 kB
          karvn

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: