[SERVER-17340] Invariant failure during insert only workload Created: 20/Feb/15  Updated: 14/Apr/16  Resolved: 23/Feb/15

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: 3.0.0-rc8
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Eitan Klein Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: 28qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-17345 WiredTiger -> session.truncate: the s... Closed
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

Will work on a repro

Participants:

 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] 
 



 Comments   
Comment by Keith Bostic (Inactive) [ 22/Feb/15 ]

duplicate of SERVER-17345, which has a repro included.

Generated at Thu Feb 08 03:44:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.