[SERVER-11976] ns:local.replset.minvalid and 13312 replSet error : logOp() but not primary Created: 05/Dec/13  Updated: 10/Dec/14  Resolved: 05/Dec/13

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 2.4.1
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Yuriy Nemtsov Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

MongoDB Server: v2.4.1
Driver: node-mongodb-native v1.2.13


Issue Links:
Duplicate
duplicates SERVER-9053 TTL index asserts on 2.4 secondary Closed
Operating System: ALL
Participants:

 Description   

The error below is thrown exactly every minute. No other unusual activity is visible in the logs. The replica-set (as per rs.status()) is in a healthy sate.

Thu Dec  5 12:54:55.429 [rsSync] info DFM::findAll(): extent 2:3b031000 was empty, skipping ahead. ns:local.replset.minvalid
Thu Dec  5 12:54:55.568 [TTLMonitor] Assertion: 13312:replSet error : logOp() but not primary?
0xdc7f71 0xd8963b 0xa63ca3 0xa60f69 0xa72fd4 0xc3d4c1 0xc3e725 0xd8c233 0xd8cce4 0xe10879 0x386e007851 0x386d8e811d
 /usr/bin/mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xdc7f71]
 /usr/bin/mongod(_ZN5mongo11msgassertedEiPKc+0x9b) [0xd8963b]
 /usr/bin/mongod() [0xa63ca3]
 /usr/bin/mongod(_ZN5mongo5logOpEPKcS1_RKNS_7BSONObjEPS2_Pbb+0x49) [0xa60f69]
 /usr/bin/mongod(_ZN5mongo13deleteObjectsEPKcNS_7BSONObjEbbbPNS_11RemoveSaverE+0x10d4) [0xa72fd4]
 /usr/bin/mongod(_ZN5mongo10TTLMonitor10doTTLForDBERKSs+0xfe1) [0xc3d4c1]
 /usr/bin/mongod(_ZN5mongo10TTLMonitor3runEv+0x345) [0xc3e725]
 /usr/bin/mongod(_ZN5mongo13BackgroundJob7jobBodyEN5boost10shared_ptrINS0_9JobStatusEEE+0xc3) [0xd8c233]
 /usr/bin/mongod(_ZN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf1IvN5mongo13BackgroundJobENS_10shared_ptrINS7_9JobStatusEEEEENS2_5list2INS2_5valueIPS7_EENSD_ISA_EEEEEEE3runEv+0x74) [0xd8cce4]
 /usr/bin/mongod() [0xe10879]
 /lib64/libpthread.so.0() [0x386e007851]
 /lib64/libc.so.6(clone+0x6d) [0x386d8e811d]
Thu Dec  5 12:54:55.576 [TTLMonitor] ERROR: error processing ttl for db: cache 13312 replSet error : logOp() but not primary?



 Comments   
Comment by Yuriy Nemtsov [ 05/Dec/13 ]

Thanks.

Comment by Eric Milkie [ 05/Dec/13 ]

This is a duplicate of SERVER-9053; it was fixed in 2.4.2.

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