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

--repair crash mongod when repair work almost done

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.0.5
    • Component/s: Networking
    • Labels:
      None
    • ALL
    • 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.

      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

            Assignee:
            daniel.hatcher@mongodb.com Danny Hatcher (Inactive)
            Reporter:
            karvn karvn
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: