[SERVER-16158] make maxSyncSourceLagSecs.js resilient against incorrect primary being elected Created: 06/Oct/14  Updated: 24/Nov/14  Resolved: 14/Nov/14

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 2.8.0-rc1

Type: Task Priority: Critical - P2
Reporter: Ian Whalen (Inactive) Assignee: Matt Dannenberg
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

https://mci.10gen.com/task/mongodb_mongo_master_debian71_17f2ca21417a866e03c405196f03e9e1faceb0fb_14_10_06_13_34_07_replicasets_debian71

DT	
assert.soon failed, msg:sync target not changed back to primary
Error: assert.soon failed, msg:sync target not changed back to primary
    at Error (<anonymous>)
    at doassert (src/mongo/shell/assert.js:11:14)
    at Function.assert.soon (src/mongo/shell/assert.js:181:51)
    at /data/mci/shell/src/jstests/replsets/maxSyncSourceLagSecs.js:27:8



 Comments   
Comment by Githook User [ 14/Nov/14 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-16158 make maxSyncSourceLagSecs.js resilient against incorrect primary being elected
Branch: master
https://github.com/mongodb/mongo/commit/7ad98f86d290ffc00849f701b93e7a0aaa0c5be9

Comment by Matt Dannenberg [ 14/Nov/14 ]

the most recent one (the one that still has logs) is simply the wrong primary being elected
patch forthcoming

Comment by Crystal Horn [ 14/Nov/14 ]

test Failue

assert.soon failed, msg:sync target not changed to other slave
Error: assert.soon failed, msg:sync target not changed to other slave
at Error (<anonymous>)
at doassert (src/mongo/shell/assert.js:11:14)
at Function.assert.soon (src/mongo/shell/assert.js:189:13)
at /data/mci/shell/src/jstests/replsets/maxSyncSourceLagSecs.js:18:8
2014-11-14T15:06:03.934+0000 I QUERY Error: assert.soon failed, msg:sync target not changed to other slave
at Error (<anonymous>)
at doassert (src/mongo/shell/assert.js:11:14)
at Function.assert.soon (src/mongo/shell/assert.js:189:13)
at /data/mci/shell/src/jstests/replsets/maxSyncSourceLagSecs.js:18:8 at src/mongo/shell/assert.js:13
failed to load: /data/mci/shell/src/jstests/replsets/maxSyncSourceLagSecs.js

Comment by Ian Whalen (Inactive) [ 30/Oct/14 ]

just saw a similar failure in the legacyrepl suite:

http://buildlogs.mongodb.org/MCI_linux-64-legacyrepl/builds/231748/test/replicasets_auth_0/maxSyncSourceLagSecs.js

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