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

WiredTiger has failed to open its metadata

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.17
    • Component/s: WiredTiger
    • Environment:
      docker mongo:3.2
    • Linux

      After an unclean shutdown of a docker container running mongo:3.2 tag, mongod fails to start. I have tried a --repair with :3.2 and :latest tags with no success.

      I've attached my WiredTiger.wt and WiredTiger.turtle files for your review.

      Any ideas? Thanks so much!

      Here is the console log:

      2017-10-19T08:01:24.423+0000 I CONTROL [initandlisten] MongoDB starting : pid=11 port=27017 dbpath=/data/db 64-bit host=87a2c0329e9e
      2017-10-19T08:01:24.423+0000 I CONTROL [initandlisten] db version v3.4.6
      2017-10-19T08:01:24.423+0000 I CONTROL [initandlisten] git version: c55eb86ef46ee7aede3b1e2a5d184a7df4bfb5b5
      2017-10-19T08:01:24.423+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1t 3 May 2016
      2017-10-19T08:01:24.423+0000 I CONTROL [initandlisten] allocator: tcmalloc
      2017-10-19T08:01:24.423+0000 I CONTROL [initandlisten] modules: none
      2017-10-19T08:01:24.423+0000 I CONTROL [initandlisten] build environment:
      2017-10-19T08:01:24.423+0000 I CONTROL [initandlisten] distmod: debian81
      2017-10-19T08:01:24.423+0000 I CONTROL [initandlisten] distarch: x86_64
      2017-10-19T08:01:24.423+0000 I CONTROL [initandlisten] target_arch: x86_64
      2017-10-19T08:01:24.423+0000 I CONTROL [initandlisten] options: { storage:

      { dbPath: "/data/db" }

      }
      2017-10-19T08:01:24.429+0000 I - [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
      2017-10-19T08:01:24.432+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=487M,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-19T08:01:24.445+0000 E STORAGE [initandlisten] WiredTiger error (-31802) [1508400084:445032][11:0x7f21bad9ad00], file:WiredTiger.wt, connection: unable to read root page from file:WiredTiger.wt: WT_ERROR: non-specific WiredTiger error
      2017-10-19T08:01:24.445+0000 E STORAGE [initandlisten] WiredTiger error (0) [1508400084:445083][11:0x7f21bad9ad00], file:WiredTiger.wt, connection: WiredTiger has failed to open its metadata
      2017-10-19T08:01:24.445+0000 E STORAGE [initandlisten] WiredTiger error (0) [1508400084:445111][11:0x7f21bad9ad00], 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-19T08:01:24.445+0000 E STORAGE [initandlisten] WiredTiger error (0) [1508400084:445186][11:0x7f21bad9ad00], file:WiredTiger.wt, connection: You should confirm that you have opened the database with the correct options including all encryption and compression options
      2017-10-19T08:01:24.446+0000 I - [initandlisten] Assertion: 28595:-31802: WT_ERROR: non-specific WiredTiger error src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 269
      2017-10-19T08:01:24.446+0000 I STORAGE [initandlisten] exception in initAndListen: 28595 -31802: WT_ERROR: non-specific WiredTiger error, terminating
      2017-10-19T08:01:24.447+0000 I NETWORK [initandlisten] shutdown: going to close listening sockets...
      2017-10-19T08:01:24.447+0000 I NETWORK [initandlisten] removing socket file: /tmp/mongodb-27017.sock
      2017-10-19T08:01:24.447+0000 I NETWORK [initandlisten] shutdown: going to flush diaglog...
      2017-10-19T08:01:24.447+0000 I CONTROL [initandlisten] now exiting
      2017-10-19T08:01:24.447+0000 I CONTROL [initandlisten] shutting down with code:100

        1. repair-SERVER-31638.tar.gz
          15 kB
        2. WiredTiger.turtle
          1.0 kB
        3. WiredTiger.wt
          328 kB

            Assignee:
            mark.agarunov Mark Agarunov
            Reporter:
            brianrumburg Brian Rumburg
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: