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

Cannot start because "WT_CURSOR.insert: read checksum error"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • 3.4.16
    • None
    • None
    • Linux

    Description

      I can't start my mongo instance after restoring a snapshot.

      Journaling is enabled but I guess some file are corrupted.

      2018-07-18T10:22:38.052-0400 W STORAGE  [initandlisten] Recovering data from the last clean checkpoint.
      2018-07-18T10:22:38.052-0400 I STORAGE  [initandlisten]
      2018-07-18T10:22:38.052-0400 I STORAGE  [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
      2018-07-18T10:22:38.052-0400 I STORAGE  [initandlisten] **          See http://dochub.mongodb.org/core/prodnotes-filesystem
      2018-07-18T10:22:38.052-0400 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=11462M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),verbose=(recovery_progress),
      2018-07-18T10:22:38.300-0400 E STORAGE  [initandlisten] WiredTiger error (0) [1531923758:300215][1279:0x7fb34a5b4e40], file:WiredTiger.wt, WT_CURSOR.insert: read checksum error for 12288B block at offset 90112: block header checksum of 3360834145 doesn't match expected checksum of 713189965
      2018-07-18T10:22:38.300-0400 E STORAGE  [initandlisten] WiredTiger error (0) [1531923758:300325][1279:0x7fb34a5b4e40], file:WiredTiger.wt, WT_CURSOR.insert: WiredTiger.wt: encountered an illegal file format or internal value
      2018-07-18T10:22:38.300-0400 E STORAGE  [initandlisten] WiredTiger error (-31804) [1531923758:300354][1279:0x7fb34a5b4e40], file:WiredTiger.wt, WT_CURSOR.insert: the process must exit and restart: WT_PANIC: WiredTiger library panic
      2018-07-18T10:22:38.300-0400 I -        [initandlisten] Fatal Assertion 28558 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 365
      2018-07-18T10:22:38.300-0400 I -        [initandlisten]
      

       

      it looks a lot like SERVER-35104

      Is there any way to repaire WiredTiger.wt and WiredTiger.turtle to discard any pending changes ?

       

      I can not find anything in the documentation.

       

      Thank you

       

      Attachments

        1. repair-attempt.tar.gz
          15 kB
        2. WiredTiger.turtle
          0.9 kB
        3. WiredTiger.wt
          240 kB

        Activity

          People

            nick.brewer Nick Brewer
            simon.georges@cit-direct.com Simon Georges
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: