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

file:WiredTiger.wt, connection: the process must exit and restart

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.4.14
    • Component/s: None
    • Labels:
      None
    • ALL
    • Hide

      Hello,

      This is  replica set, but the other one is broken, so need to repair :WiredTiger.wt file but I don't know how to fix it, If you can provide repair method very thank.

      Show
      Hello, This is  replica set, but the other one is broken, so need to repair :WiredTiger.wt file but I don't know how to fix it, If you can provide repair method very thank.

      2019-03-06T17:15:41.139+0800 I CONTROL [initandlisten] options: { config: "/home/mongodb/confs/shard2.conf", net:

      { bindIp: "DB-NODE2", port: 22222 }

      , operationProfiling: { mode: "slowOp" }, processManagement: { fork: true, pidFilePath: "/home/mongodb/tmp/shard2.pid" }, replication: { replSetName: "shard2" }, security: { authorization: "enabled", keyFile: "/home/mongodb/confs/mongod.key" }, setParameter: { enableLocalhostAuthBypass: "false" }, sharding: { clusterRole: "shardsvr" }, storage: { dbPath: "/home/mongodb/datas/shard2", engine: "wiredTiger", journal:

      { enabled: true }

      , wiredTiger: { engineConfig:

      { cacheSizeGB: 2.0 }

      } }, systemLog: { destination: "file", logAppend: false, logRotate: "rename", path: "/home/mongodb/logs/shard2.log" } }
      2019-03-06T17:15:41.140+0800 W - [initandlisten] Detected unclean shutdown - /home/mongodb/datas/shard2/mongod.lock is not empty.
      2019-03-06T17:15:41.163+0800 W STORAGE [initandlisten] Recovering data from the last clean checkpoint.
      2019-03-06T17:15:41.163+0800 I STORAGE [initandlisten]
      2019-03-06T17:15:41.163+0800 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
      2019-03-06T17:15:41.163+0800 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem
      2019-03-06T17:15:41.163+0800 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=2048M,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),
      2019-03-06T17:15:41.168+0800 E STORAGE [initandlisten] WiredTiger error (0) [1551863741:168723][5658:0x7fecbe3e1dc0], file:WiredTiger.wt, connection: WiredTiger.turtle: encountered an illegal file format or internal value
      2019-03-06T17:15:41.168+0800 E STORAGE [initandlisten] WiredTiger error (-31804) [1551863741:168749][5658:0x7fecbe3e1dc0], file:WiredTiger.wt, connection: the process must exit and restart: WT_PANIC: WiredTiger library panic
      2019-03-06T17:15:41.168+0800 I - [initandlisten] Fatal Assertion 28558 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 365
      2019-03-06T17:15:41.168+0800 I - [initandlisten]

       

      ***aborting after fassert() failure

      2019-03-06T17:15:41.186+0800 F - [initandlisten] Got signal: 6 (Aborted).

      0x7fecbf97ca51 0x7fecbf97bc69 0x7fecbf97c14d 0x7fecbd0de500 0x7fecbcd6e8a5 0x7fecbcd70085 0x7fecbec208f3 0x7fecbf68b796 0x7fecbec2af9a 0x7fecbec2b1b6 0x7fecbec2b418 0x7fecc032b7bc 0x7fecc0329db8 0x7fecc02de783 0x7fecc03693eb 0x7fecc036992d 0x7fecc0369bec 0x7fecc02ed001 0x7fecc035f6d8 0x7fecc032946e 0x7fecc032954b 0x7fecc02dad3b 0x7fecbf66fd3a 0x7fecbf6685d5 0x7fecbf55a767 0x7fecbec0cb9c 0x7fecbec2c7cb 0x7fecbcd5acdd 0x7fecbec8bd41
      ----- BEGIN BACKTRACE -----

        1. repair-attempt.tar
          280 kB
        2. WiredTiger.turtle
          0.9 kB
        3. WiredTiger.wt
          4.02 MB

            Assignee:
            daniel.hatcher@mongodb.com Danny Hatcher (Inactive)
            Reporter:
            hexiaojie hexiaojie
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: