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

file:Collection.wt read checksum error, mongodb won't start

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 3.2.8
    • Querying, WiredTiger
    • None
    • ALL

    Description

      Hi,
      I tried to start mongoDB server using services. I wasn't able to start it.
      Then i checked the logs. Its showing the read checksum error with some file named as collection.
      Below is the mongoDB log

      2017-05-23T02:31:07.518-0400 W -        [initandlisten] Detected unclean shutdown - E:\Apps\MongoDB\MongoDB\mongoDB\Data\mongod.lock is not empty.
      2017-05-23T02:31:07.518-0400 W STORAGE  [initandlisten] Recovering data from the last clean checkpoint.
      2017-05-23T02:31:07.518-0400 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=3G,session_max=20000,eviction=(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),direct_io=(data),
      2017-05-23T02:31:08.846-0400 E STORAGE  [initandlisten] WiredTiger (0) [1495521068:845181][2580:8766840902224], file:collection-8--4378964801540422943.wt, WT_SESSION.open_cursor: read checksum error for 4096B block at offset 344616960: block header checksum of 1316359805 doesn't match expected checksum of 3610363250
      2017-05-23T02:31:08.846-0400 E STORAGE  [initandlisten] WiredTiger (0) [1495521068:846228][2580:8766840902224], file:collection-8--4378964801540422943.wt, WT_SESSION.open_cursor: collection-8--4378964801540422943.wt: encountered an illegal file format or internal value
      2017-05-23T02:31:08.846-0400 E STORAGE  [initandlisten] WiredTiger (-31804) [1495521068:846228][2580:8766840902224], file:collection-8--4378964801540422943.wt, WT_SESSION.open_cursor: the process must exit and restart: WT_PANIC: WiredTiger library panic
      2017-05-23T02:31:08.846-0400 I -        [initandlisten] Fatal Assertion 28558
      2017-05-23T02:31:08.846-0400 I -        [initandlisten] 
       
      ***aborting after fassert() failure
      

      After that, I tried to repair the monogo server using --repair command. Its also Failed with error.
      Below is the repair log.

      2017-05-23T06:48:51.314-0400 E STORAGE  [initandlisten] WiredTiger (0) [14955365
      31:314231][3284:8766840902224], file:collection-22--4378964801540422943.wt, WT_C
      URSOR.prev: read checksum error for 8192B block at offset 128155648: block heade
      r checksum of 0 doesn't match expected checksum of 4290245144
      2017-05-23T06:48:51.318-0400 E STORAGE  [initandlisten] WiredTiger (0) [14955365
      31:318313][3284:8766840902224], file:collection-22--4378964801540422943.wt, WT_C
      URSOR.prev: collection-22--4378964801540422943.wt: encountered an illegal file f
      ormat or internal value
      2017-05-23T06:48:51.323-0400 E STORAGE  [initandlisten] WiredTiger (-31804) [149
      5536531:323335][3284:8766840902224], file:collection-22--4378964801540422943.wt,
       WT_CURSOR.prev: the process must exit and restart: WT_PANIC: WiredTiger library
       panic
      2017-05-23T06:48:51.328-0400 I -        [initandlisten] Fatal Assertion 28558
      2017-05-23T06:48:51.330-0400 I -        [initandlisten]
      ***aborting after fassert() failure
      

      Attachments

        1. repair-SERVER-29323.tar.gz
          17 kB
        2. WiredTiger.turtle
          0.9 kB
        3. WiredTiger.wt
          340 kB

        Activity

          People

            mark.agarunov Mark Agarunov
            DHARAN993 DHARANIDHARAN [X]
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: