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

Not able to recover Mongo DB

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

      2017-03-16T15:04:58.520+0530 I CONTROL  [main] ***** SERVER RESTARTED *****
      2017-03-16T15:04:58.853+0530 I CONTROL  [initandlisten] MongoDB starting : pid=6704 port=27018 dbpath=z:\mongodb_win\data 64-bit host=DESKTOP-7E6EI2Q
      2017-03-16T15:04:58.861+0530 I CONTROL  [initandlisten] targetMinOS: Windows 7/Windows Server 2008 R2
      2017-03-16T15:04:58.872+0530 I CONTROL  [initandlisten] db version v3.4.0
      2017-03-16T15:04:58.882+0530 I CONTROL  [initandlisten] git version: f4240c60f005be757399042dc12f6addbc3170c1
      2017-03-16T15:04:58.893+0530 I CONTROL  [initandlisten] OpenSSL version: OpenSSL 1.0.1t-fips  3 May 2016
      2017-03-16T15:04:58.902+0530 I CONTROL  [initandlisten] allocator: tcmalloc
      2017-03-16T15:04:58.910+0530 I CONTROL  [initandlisten] modules: none
      2017-03-16T15:04:58.929+0530 I CONTROL  [initandlisten] build environment:
      2017-03-16T15:04:58.947+0530 I CONTROL  [initandlisten]     distmod: 2008plus-ssl
      2017-03-16T15:04:58.966+0530 I CONTROL  [initandlisten]     distarch: x86_64
      2017-03-16T15:04:58.985+0530 I CONTROL  [initandlisten]     target_arch: x86_64
      2017-03-16T15:04:59.004+0530 I CONTROL  [initandlisten] options: { config: "z:\MongoDB_win\mongod.conf", net: { port: 27018 }, repair: true, storage: { dbPath: "z:\mongodb_win\data", journal: { enabled: false } }, systemLog: { destination: "file", logAppend: true, path: "z:\mongodb_win\mongod.log" } }
      2017-03-16T15:04:59.032+0530 W -        [initandlisten] Detected unclean shutdown - z:\mongodb_win\data\mongod.lock is not empty.
      2017-03-16T15:04:59.059+0530 I -        [initandlisten] Detected data files in z:\mongodb_win\data created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
      2017-03-16T15:04:59.077+0530 W STORAGE  [initandlisten] Recovering data from the last clean checkpoint.
      2017-03-16T15:04:59.098+0530 I STORAGE  [initandlisten] Detected WT journal files.  Running recovery from last checkpoint.
      2017-03-16T15:04:59.116+0530 I STORAGE  [initandlisten] journal to nojournal transition config: create,cache_size=1495M,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-03-16T15:04:59.227+0530 E STORAGE  [initandlisten] WiredTiger error (0) [1489656899:226693][6704:140733334836944], file:WiredTiger.wt, connection: read checksum error for 4096B block at offset 12288: block header checksum of 1735288098 doesn't match expected checksum of 3704693169
      2017-03-16T15:04:59.245+0530 E STORAGE  [initandlisten] WiredTiger error (0) [1489656899:244329][6704:140733334836944], file:WiredTiger.wt, connection: WiredTiger.wt: encountered an illegal file format or internal value
      2017-03-16T15:04:59.263+0530 E STORAGE  [initandlisten] WiredTiger error (-31804) [1489656899:263646][6704:140733334836944], file:WiredTiger.wt, connection: the process must exit and restart: WT_PANIC: WiredTiger library panic
      2017-03-16T15:04:59.282+0530 I -        [initandlisten] Fatal Assertion 28558 at src\mongo\db\storage\wiredtiger\wiredtiger_util.cpp 361
      2017-03-16T15:04:59.301+0530 I -        [initandlisten] 
      
      ***aborting after fassert() failure
      
      
      2017-03-16T15:04:59.449+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\mongo\util\stacktrace_windows.cpp(239)                     mongo::printStackTrace+0x43
      2017-03-16T15:04:59.459+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\mongo\util\signal_handlers_synchronous.cpp(180)            mongo::`anonymous namespace'::printSignalAndBacktrace+0x74
      2017-03-16T15:04:59.468+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\mongo\util\signal_handlers_synchronous.cpp(236)            mongo::`anonymous namespace'::abruptQuit+0x85
      2017-03-16T15:04:59.477+0530 I CONTROL  [initandlisten] ucrtbase.dll                                                                     raise+0x1e7
      2017-03-16T15:04:59.486+0530 I CONTROL  [initandlisten] ucrtbase.dll                                                                     abort+0x31
      2017-03-16T15:04:59.498+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\mongo\util\assert_util.cpp(172)                            mongo::fassertFailedWithLocation+0x181
      2017-03-16T15:04:59.517+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\mongo\db\storage\wiredtiger\wiredtiger_util.cpp(361)       mongo::`anonymous namespace'::mdb_handle_error+0x187
      2017-03-16T15:04:59.535+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\third_party\wiredtiger\src\support\err.c(291)              __wt_eventv+0x3b8
      2017-03-16T15:04:59.553+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\third_party\wiredtiger\src\support\err.c(317)              __wt_err+0x32
      2017-03-16T15:04:59.572+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\third_party\wiredtiger\src\support\err.c(527)              __wt_illegal_value+0x5e
      2017-03-16T15:04:59.591+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\third_party\wiredtiger\src\block\block_read.c(225)         __wt_block_read_off+0x1c2
      2017-03-16T15:04:59.610+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\third_party\wiredtiger\src\block\block_ext.c(1178)         __wt_block_extlist_read+0x85
      2017-03-16T15:04:59.629+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\third_party\wiredtiger\src\block\block_ext.c(1141)         __wt_block_extlist_read_avail+0x24
      2017-03-16T15:04:59.648+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\third_party\wiredtiger\src\block\block_ckpt.c(128)         __wt_block_checkpoint_load+0x1b1
      2017-03-16T15:04:59.665+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\third_party\wiredtiger\src\block\block_mgr.c(97)           __bm_checkpoint_load+0x51
      2017-03-16T15:04:59.685+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\third_party\wiredtiger\src\btree\bt_handle.c(100)          __wt_btree_open+0x1cc
      2017-03-16T15:04:59.705+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\third_party\wiredtiger\src\conn\conn_dhandle.c(343)        __wt_conn_btree_open+0x90
      2017-03-16T15:04:59.724+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\third_party\wiredtiger\src\session\session_dhandle.c(523)  __wt_session_get_btree+0xa2
      2017-03-16T15:04:59.737+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\third_party\wiredtiger\src\session\session_dhandle.c(514)  __wt_session_get_btree+0x267
      2017-03-16T15:04:59.748+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\third_party\wiredtiger\src\session\session_dhandle.c(336)  __wt_session_get_btree_ckpt+0xc4
      2017-03-16T15:04:59.760+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\third_party\wiredtiger\src\cursor\cur_file.c(566)          __wt_curfile_open+0x216
      2017-03-16T15:04:59.773+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\third_party\wiredtiger\src\session\session_api.c(354)      __session_open_cursor_int+0x2f7
      2017-03-16T15:04:59.789+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\third_party\wiredtiger\src\session\session_api.c(409)      __wt_open_cursor+0x1b
      2017-03-16T15:04:59.805+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\third_party\wiredtiger\src\meta\meta_table.c(94)           __wt_metadata_cursor+0x99
      2017-03-16T15:04:59.822+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\third_party\wiredtiger\src\conn\conn_api.c(2446)           wiredtiger_open+0xb49
      2017-03-16T15:04:59.839+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\mongo\db\storage\wiredtiger\wiredtiger_kv_engine.cpp(247)  mongo::WiredTigerKVEngine::WiredTigerKVEngine+0x75e
      2017-03-16T15:04:59.854+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\mongo\db\storage\wiredtiger\wiredtiger_init.cpp(89)        mongo::`anonymous namespace'::WiredTigerFactory::create+0x12a
      2017-03-16T15:04:59.871+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\mongo\db\service_context_d.cpp(202)                        mongo::ServiceContextMongoD::initializeGlobalStorageEngine+0x5cb
      2017-03-16T15:04:59.888+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\mongo\db\db.cpp(587)                                       mongo::`anonymous namespace'::_initAndListen+0x775
      2017-03-16T15:04:59.905+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\mongo\db\db.cpp(823)                                       mongo::`anonymous namespace'::initAndListen+0x27
      2017-03-16T15:04:59.922+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\mongo\db\db.cpp(1173)                                      mongoDbMain+0x25d
      2017-03-16T15:04:59.941+0530 I CONTROL  [initandlisten] mongod.exe    ...\src\mongo\db\db.cpp(861)                                       wmain+0x35
      2017-03-16T15:04:59.960+0530 I CONTROL  [initandlisten] mongod.exe    f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl(255)        __scrt_common_main_seh+0x124
      2017-03-16T15:04:59.979+0530 I CONTROL  [initandlisten] KERNEL32.DLL                                                                     BaseThreadInitThunk+0x14
      2017-03-16T15:04:59.998+0530 F -        [initandlisten] Got signal: 22 (SIGABRT).
      2017-03-16T15:05:00.015+0530 I CONTROL  [initandlisten] *** unhandled exception 0x0000000E at 0x00007FFF053D7788, terminating
      2017-03-16T15:05:00.034+0530 I CONTROL  [initandlisten] *** stack trace for unhandled exception:
      2017-03-16T15:05:00.132+0530 I CONTROL  [initandlisten] KERNELBASE.dll                                                                     RaiseException+0x68
      2017-03-16T15:05:00.147+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\mongo\util\signal_handlers_synchronous.cpp(237)            mongo::`anonymous namespace'::abruptQuit+0x9d
      2017-03-16T15:05:00.163+0530 I CONTROL  [initandlisten] ucrtbase.dll                                                                       raise+0x1e7
      2017-03-16T15:05:00.179+0530 I CONTROL  [initandlisten] ucrtbase.dll                                                                       abort+0x31
      2017-03-16T15:05:00.194+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\mongo\util\assert_util.cpp(172)                            mongo::fassertFailedWithLocation+0x181
      2017-03-16T15:05:00.214+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\mongo\db\storage\wiredtiger\wiredtiger_util.cpp(361)       mongo::`anonymous namespace'::mdb_handle_error+0x187
      2017-03-16T15:05:00.231+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\third_party\wiredtiger\src\support\err.c(291)              __wt_eventv+0x3b8
      2017-03-16T15:05:00.247+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\third_party\wiredtiger\src\support\err.c(317)              __wt_err+0x32
      2017-03-16T15:05:00.266+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\third_party\wiredtiger\src\support\err.c(527)              __wt_illegal_value+0x5e
      2017-03-16T15:05:00.284+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\third_party\wiredtiger\src\block\block_read.c(225)         __wt_block_read_off+0x1c2
      2017-03-16T15:05:00.301+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\third_party\wiredtiger\src\block\block_ext.c(1178)         __wt_block_extlist_read+0x85
      2017-03-16T15:05:00.320+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\third_party\wiredtiger\src\block\block_ext.c(1141)         __wt_block_extlist_read_avail+0x24
      2017-03-16T15:05:00.339+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\third_party\wiredtiger\src\block\block_ckpt.c(128)         __wt_block_checkpoint_load+0x1b1
      2017-03-16T15:05:00.357+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\third_party\wiredtiger\src\block\block_mgr.c(97)           __bm_checkpoint_load+0x51
      2017-03-16T15:05:00.376+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\third_party\wiredtiger\src\btree\bt_handle.c(100)          __wt_btree_open+0x1cc
      2017-03-16T15:05:00.394+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\third_party\wiredtiger\src\conn\conn_dhandle.c(343)        __wt_conn_btree_open+0x90
      2017-03-16T15:05:00.413+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\third_party\wiredtiger\src\session\session_dhandle.c(523)  __wt_session_get_btree+0xa2
      2017-03-16T15:05:00.432+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\third_party\wiredtiger\src\session\session_dhandle.c(514)  __wt_session_get_btree+0x267
      2017-03-16T15:05:00.451+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\third_party\wiredtiger\src\session\session_dhandle.c(336)  __wt_session_get_btree_ckpt+0xc4
      2017-03-16T15:05:00.469+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\third_party\wiredtiger\src\cursor\cur_file.c(566)          __wt_curfile_open+0x216
      2017-03-16T15:05:00.488+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\third_party\wiredtiger\src\session\session_api.c(354)      __session_open_cursor_int+0x2f7
      2017-03-16T15:05:00.506+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\third_party\wiredtiger\src\session\session_api.c(409)      __wt_open_cursor+0x1b
      2017-03-16T15:05:00.525+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\third_party\wiredtiger\src\meta\meta_table.c(94)           __wt_metadata_cursor+0x99
      2017-03-16T15:05:00.543+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\third_party\wiredtiger\src\conn\conn_api.c(2446)           wiredtiger_open+0xb49
      2017-03-16T15:05:00.562+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\mongo\db\storage\wiredtiger\wiredtiger_kv_engine.cpp(247)  mongo::WiredTigerKVEngine::WiredTigerKVEngine+0x75e
      2017-03-16T15:05:00.581+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\mongo\db\storage\wiredtiger\wiredtiger_init.cpp(89)        mongo::`anonymous namespace'::WiredTigerFactory::create+0x12a
      2017-03-16T15:05:00.599+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\mongo\db\service_context_d.cpp(202)                        mongo::ServiceContextMongoD::initializeGlobalStorageEngine+0x5cb
      2017-03-16T15:05:00.615+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\mongo\db\db.cpp(587)                                       mongo::`anonymous namespace'::_initAndListen+0x775
      2017-03-16T15:05:00.633+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\mongo\db\db.cpp(823)                                       mongo::`anonymous namespace'::initAndListen+0x27
      2017-03-16T15:05:00.652+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\mongo\db\db.cpp(1173)                                      mongoDbMain+0x25d
      2017-03-16T15:05:00.670+0530 I CONTROL  [initandlisten] mongod.exe      ...\src\mongo\db\db.cpp(861)                                       wmain+0x35
      2017-03-16T15:05:00.689+0530 I CONTROL  [initandlisten] mongod.exe      f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl(255)        __scrt_common_main_seh+0x124
      2017-03-16T15:05:00.708+0530 I CONTROL  [initandlisten] KERNEL32.DLL                                                                       BaseThreadInitThunk+0x14
      2017-03-16T15:05:00.727+0530 I -        [initandlisten] 
      2017-03-16T15:05:00.746+0530 I CONTROL  [initandlisten] writing minidump diagnostic file C:\Program Files\MongoDB\Server\3.2017-03-16T09-35-00.mdmp
      2017-03-16T15:05:00.834+0530 I CONTROL  [initandlisten] *** immediate exit due to unhandled exception
      

        1. SERVER-28331-repair.tar.gz
          6 kB
          Mark Agarunov
        2. WiredTiger.turtle
          1.0 kB
          hareesh
        3. WiredTiger.wt
          128 kB
          hareesh

            Assignee:
            mark.agarunov Mark Agarunov
            Reporter:
            har33sh hareesh
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: