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

Corrupt WiredTiger metadata

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.15
    • Component/s: WiredTiger
    • Linux

      Using mongodb-3.2.15 on RH7

      Failing to recover from an unexpected shutdown. Attempting to startup with --repair gives the following. Attaching the metadata files - Let me know if you need any additional files

      2017-10-03T08:26:18.014-0500 W STORAGE  [initandlisten] Recovering data from the last clean checkpoint.
      2017-10-03T08:26:18.014-0500 I STORAGE  [initandlisten] Detected WT journal files.  Running recovery from last checkpoint.
      2017-10-03T08:26:18.014-0500 I STORAGE  [initandlisten] journal to nojournal transition config: create,cache_size=256G,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),
      2017-10-03T08:26:18.042-0500 E STORAGE  [initandlisten] WiredTiger (-31802) [1507037178:42474][150573:0x7f5659cbddc0], file:WiredTiger.wt, connection: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error
      2017-10-03T08:26:18.042-0500 E STORAGE  [initandlisten] WiredTiger (0) [1507037178:42534][150573:0x7f5659cbddc0], file:WiredTiger.wt, connection: WiredTiger has failed to open its metadata
      2017-10-03T08:26:18.042-0500 E STORAGE  [initandlisten] WiredTiger (0) [1507037178:42550][150573:0x7f5659cbddc0], 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-10-03T08:26:18.042-0500 E STORAGE  [initandlisten] WiredTiger (0) [1507037178:42578][150573:0x7f5659cbddc0], file:WiredTiger.wt, connection: You should confirm that you have opened the database with the correct options including all encryption and compression options
      

        1. WiredTiger.turtle
          0.9 kB
        2. WiredTiger.wt
          648 kB
        3. WiredTigerLAS.wt
          4 kB
        4. _mdb_catalog.wt
          52 kB
        5. SERVER-31361-repair.tar.gz
          40 kB

            Assignee:
            mark.agarunov Mark Agarunov
            Reporter:
            kdkavanagh Kyle Kavanagh
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: