[SERVER-19261]  local.oplog.rs Assertion failure a() != -1 src/mongo/db/storage/record.cpp 538 Created: 02/Jul/15  Updated: 02/Jul/15  Resolved: 02/Jul/15

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: 2.6.8
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: xiaoli wang Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Steps To Reproduce:

3 nodes replica set

Participants:

 Description   

2015-06-25T09:14:38.537+0800 [rsSync] replSet initial sync data copy, starting syncup
2015-06-25T09:14:38.537+0800 [rsSync] local.oplog.rs Assertion failure a() != -1 src/mongo/db/storage/record.cpp 538
2015-06-25T09:14:38.544+0800 [rsSync] local.oplog.rs 0xffec79 0xfa7ea5 0xf90bd6 0xdb557d 0xddafc7 0xde045f 0xde04d8 0xde99d2 0xde95be 0x8dfaa4 0x8e037d 0xd3b8d5 0xd6b02f 0xd6b818 0xd82669 0xd827a2 0xd8365e 0x103d50b 0x2b8ae17e0806 0x2b8ae2a6a66d
 mongod(_ZN5mongo15printStackTraceERSo+0x29) [0xffec79]
 mongod(_ZN5mongo10logContextEPKc+0x1f5) [0xfa7ea5]
 mongod(_ZN5mongo12verifyFailedEPKcS1_j+0x136) [0xf90bd6]
 mongod(_ZNK5mongo7DiskLoc3extEv+0x5d) [0xdb557d]
 mongod(_ZN5mongo16NamespaceDetails11cappedAllocEPNS_10CollectionERKNS_10StringDataEi+0x37) [0xddafc7]
 mongod(_ZN5mongo16NamespaceDetails6_allocEPNS_10CollectionERKNS_10StringDataEi+0x1f) [0xde045f]
 mongod(_ZN5mongo16NamespaceDetails5allocEPNS_10CollectionERKNS_10StringDataEi+0x58) [0xde04d8]
 mongod(_ZN5mongo19CappedRecordStoreV111allocRecordEii+0x32) [0xde99d2]
 mongod(_ZN5mongo17RecordStoreV1Base12insertRecordEPKcii+0x5e) [0xde95be]
 mongod(_ZN5mongo10Collection15_insertDocumentERKNS_7BSONObjEbPKNS_16PregeneratedKeysE+0x84) [0x8dfaa4]
 mongod(_ZN5mongo10Collection14insertDocumentERKNS_7BSONObjEbPKNS_16PregeneratedKeysE+0x1ad) [0x8e037d]
 mongod(_ZN5mongo11_logOpObjRSERKNS_7BSONObjE+0x435) [0xd3b8d5]
 mongod(_ZN5mongo11ReplSetImpl12_initialSyncEv+0x6bf) [0xd6b02f]
 mongod(_ZN5mongo11ReplSetImpl17syncDoInitialSyncEv+0x68) [0xd6b818]
 mongod(_ZN5mongo11ReplSetImpl11_syncThreadEv+0xc9) [0xd82669]
 mongod(_ZN5mongo11ReplSetImpl10syncThreadEv+0x92) [0xd827a2]
 mongod(_ZN5mongo15startSyncThreadEv+0x9e) [0xd8365e]
 mongod() [0x103d50b]
 /lib64/libpthread.so.0(+0x7806) [0x2b8ae17e0806]
 /lib64/libc.so.6(clone+0x6d) [0x2b8ae2a6a66d]
2015-06-25T09:14:38.544+0800 [rsSync] replSet initial sync exception: 0 assertion src/mongo/db/storage/record.cpp:538 4 attempts remaining



 Comments   
Comment by Ramon Fernandez Marina [ 02/Jul/15 ]

esala116, all these error messages you're seeing are likely to have the same cause: either the network or the disk is corrupting data, and mongod is complaining about it. You may want to examine the health of both storage and network layers, and if using LVM snapshots please read check documentation to avoid any issues. Note also that unclean OS shutdowns may leave filesystems in an inconsistent state, which may also trigger errors like these.

Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. A question like this involving more discussion would be best posted on the mongodb-user group. See also our Technical Support page for additional support resources.

Regards,
Ramón.

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