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

WiredTiger.wt file corrupted after unclean shutdown, cannot recover

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major - P3 Major - P3
    • None
    • None
    • WiredTiger
    • None
    • ALL

    Description

      [root@linux75 mongo]# mongod --dbpath /var/lib/mongo
      2017-11-05T07:55:25.387+0000 I CONTROL  [initandlisten] MongoDB starting : pid=30422 port=27017 dbpath=/var/lib/mongo 64-bit host=linux75
      2017-11-05T07:55:25.387+0000 I CONTROL  [initandlisten] db version v3.2.1
      2017-11-05T07:55:25.387+0000 I CONTROL  [initandlisten] git version: a14d55980c2cdc565d4704a7e3ad37e4e535c1b2
      2017-11-05T07:55:25.387+0000 I CONTROL  [initandlisten] allocator: tcmalloc
      2017-11-05T07:55:25.387+0000 I CONTROL  [initandlisten] modules: none
      2017-11-05T07:55:25.387+0000 I CONTROL  [initandlisten] build environment:
      2017-11-05T07:55:25.387+0000 I CONTROL  [initandlisten]     distarch: x86_64
      2017-11-05T07:55:25.387+0000 I CONTROL  [initandlisten]     target_arch: x86_64
      2017-11-05T07:55:25.387+0000 I CONTROL  [initandlisten] options: { storage: { dbPath: "/var/lib/mongo" } }
      2017-11-05T07:55:25.478+0000 I -        [initandlisten] Detected data files in /var/lib/mongo created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
      2017-11-05T07:55:25.479+0000 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=1G,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),
      2017-11-05T07:55:25.484+0000 E STORAGE  [initandlisten] WiredTiger (-31802) [1509868525:484423][30422:0x7f248d85fcc0], file:WiredTiger.wt, connection: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error
      2017-11-05T07:55:25.484+0000 E STORAGE  [initandlisten] WiredTiger (0) [1509868525:484445][30422:0x7f248d85fcc0], file:WiredTiger.wt, connection: WiredTiger has failed to open its metadata
      2017-11-05T07:55:25.484+0000 E STORAGE  [initandlisten] WiredTiger (0) [1509868525:484453][30422:0x7f248d85fcc0], file:WiredTiger.wt, connection: This may be due to the database files being encrypted, being from an older version or due to corruption on disk
      2017-11-05T07:55:25.484+0000 E STORAGE  [initandlisten] WiredTiger (0) [1509868525:484466][30422:0x7f248d85fcc0], file:WiredTiger.wt, connection: You should confirm that you have opened the database with the correct options including all encryption and compression options
      2017-11-05T07:55:25.485+0000 I -        [initandlisten] Assertion: 28595:-31802: WT_ERROR: non-specific WiredTiger error
      2017-11-05T07:55:25.485+0000 I STORAGE  [initandlisten] exception in initAndListen: 28595 -31802: WT_ERROR: non-specific WiredTiger error, terminating
      2017-11-05T07:55:25.485+0000 I CONTROL  [initandlisten] dbexit:  rc: 100
      

      Attachments

        1. repair-SERVER-31833.tar.gz
          3 kB
        2. WiredTiger
          0.0 kB
        3. WiredTiger.lock
          0.0 kB
        4. WiredTiger.turtle
          0.9 kB
        5. WiredTiger.wt
          76 kB
        6. WiredTigerLAS.wt
          4 kB

        Activity

          People

            mark.agarunov Mark Agarunov
            sitesholic Shubham Dogra
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: