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

Invariant failure during insert only workload

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 3.0.0-rc8
    • Fix Version/s: None
    • Component/s: Storage
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      Will work on a repro

      Show
      Will work on a repro

      Description

      GitHub # 79492d9cc1885d74b31b5fe24194dbc227096d6e

      Environment:

      • Single machine replica set with 2 nodes.
      • Each instance uses default 1GB RAM
      • Block compression zlib
      • WT stats on every 5 sec

      Will work on a repro

      Workload:

      • Used hammer.mongo to do insert only workload
      • OS: Windows

      2015-02-20T02:33:43.299-0500 I WRITE    [conn12] insert htest1.htest1 ninserted:1 keyUpdates:0 writeConflicts:0 numYields:0 locks:{} 160ms
      2015-02-20T02:33:45.587-0500 E STORAGE  [WiredTigerRecordStoreThread for local.oplog.rs] WiredTiger (22) [1424417625:587964][5536:140731139822368], session.truncate: the start cursor position is after the stop cursor position: Invalid argument
      2015-02-20T02:33:45.587-0500 I -        [WiredTigerRecordStoreThread for local.oplog.rs] Invariant failure: session->truncate(session, NULL, start, c, NULL) resulted in status BadValue 22: Invalid argument at src\mongo\db\storage\wiredtiger\wiredtiger_record_store.cpp 511
      2015-02-20T02:33:46.622-0500 I CONTROL  [WiredTigerRecordStoreThread for local.oplog.rs] mongod.exe    ...\src\mongo\util\stacktrace_win.cpp(175)                                   mongo::printStackTrace+0x43
      2015-02-20T02:33:46.622-0500 I CONTROL  [WiredTigerRecordStoreThread for local.oplog.rs] mongod.exe    ...\src\mongo\util\log.cpp(135)                                              mongo::logContext+0x8f
      2015-02-20T02:33:46.622-0500 I CONTROL  [WiredTigerRecordStoreThread for local.oplog.rs] mongod.exe    ...\src\mongo\util\assert_util.cpp(157)                                      mongo::invariantOKFailed+0x114
      2015-02-20T02:33:46.622-0500 I CONTROL  [WiredTigerRecordStoreThread for local.oplog.rs] mongod.exe    ...\src\mongo\db\storage\wiredtiger\wiredtiger_record_store.cpp(511)         mongo::WiredTigerRecordStore::cappedDeleteAsNeeded_inlock+0x52a
      2015-02-20T02:33:46.622-0500 I CONTROL  [WiredTigerRecordStoreThread for local.oplog.rs] mongod.exe    ...\src\mongo\db\storage\wiredtiger\wiredtiger_record_store_mongod.cpp(104)  mongo::`anonymous namespace'::WiredTigerRecordStoreThread::_deleteExcessDocuments+0x454
      2015-02-20T02:33:46.622-0500 I CONTROL  [WiredTigerRecordStoreThread for local.oplog.rs] mongod.exe    ...\src\mongo\db\storage\wiredtiger\wiredtiger_record_store_mongod.cpp(121)  mongo::`anonymous namespace'::WiredTigerRecordStoreThread::run+0x5b
      2015-02-20T02:33:46.622-0500 I CONTROL  [WiredTigerRecordStoreThread for local.oplog.rs] mongod.exe    ...\src\mongo\util\background.cpp(163)                                       mongo::BackgroundJob::jobBody+0x140
      2015-02-20T02:33:46.622-0500 I CONTROL  [WiredTigerRecordStoreThread for local.oplog.rs] mongod.exe    ...\src\third_party\boost\libs\thread\src\win32\thread.cpp(185)              boost::`anonymous namespace'::thread_start_function+0x21
      2015-02-20T02:33:46.622-0500 I CONTROL  [WiredTigerRecordStoreThread for local.oplog.rs] mongod.exe    f:\dd\vctools\crt\crtw32\startup\threadex.c(376)                             _callthreadstartex+0x17
      2015-02-20T02:33:46.622-0500 I CONTROL  [WiredTigerRecordStoreThread for local.oplog.rs] mongod.exe    f:\dd\vctools\crt\crtw32\startup\threadex.c(354)                             _threadstartex+0x102
      2015-02-20T02:33:46.622-0500 I CONTROL  [WiredTigerRecordStoreThread for local.oplog.rs] KERNEL32.DLL                                                                               BaseThreadInitThunk+0xd
      2015-02-20T02:33:46.622-0500 I CONTROL  [WiredTigerRecordStoreThread for local.oplog.rs] 
      2015-02-20T02:33:46.622-0500 I -        [WiredTigerRecordStoreThread for local.oplog.rs] 
       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: