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

Repair fails WT_CURSOR.next: read checksum error

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.0.1
    • Component/s: WiredTiger
    • ALL
    • Hide

      Maybe having a mongodb running on a NFS shared folder, kill it, and run two instance trying to repair.

      Show
      Maybe having a mongodb running on a NFS shared folder, kill it, and run two instance trying to repair.

      I have a micro-service cluster with a NFS share, normally only one instance of mongodb (docker's mongo) is running. After a crash of the cluster I cannot bring the DB back up, the repair fails violently:

      E STORAGE [initandlisten] WiredTiger error (0) [1547049030:493990][10:0x7f75f72aea00], file:WiredTiger.wt, WT_CURSOR.next: read checksum error for 28672B block at offset 16384: block header checksum of 806183382 doesn't match expected checksum of 619640434 Raw: [1547049030:493990][10:0x7f75f72aea00], file:WiredTiger.wt, WT_CURSOR.next: read checksum error for 28672B block at offset 16384: block header checksum of 806183382 doesn't match expected checksum of 619640434

       

      and displays multiple chunks of data.

      I'd appreciate any help in restoring the DB, it wasn't backed up and wasn't part of a replicate neither... I attached the faulty WiredTiger.wt, the mongod --repair output and the WiredTiger.turtle (as it seems to be useful for repairing).

        1. WiredTiger.wt
          128 kB
        2. WiredTiger.turtle
          1 kB
        3. repair.log
          190 kB

            Assignee:
            kelsey.schubert@mongodb.com Kelsey Schubert
            Reporter:
            foloex Rémi AUGUSTE
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: