[SERVER-14857] stepdown.js Created: 09/Jul/14  Updated: 03/Mar/15  Resolved: 11/Aug/14

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.7.5

Type: Improvement Priority: Major - P3
Reporter: Randolph Tan Assignee: Matt Dannenberg
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File stepdown.log    
Issue Links:
Related
Backwards Compatibility: Fully Compatible
Participants:
Linked BF Score: 0

 Description   

	
2014-07-09T16:15:58.241-0400 DBClientCursor::init call() failed
2014-07-09T16:15:58.249-0400 Error: error doing query: failed
    at DBQuery._exec (src/mongo/shell/query.js:83:36)
    at DBQuery.hasNext (src/mongo/shell/query.js:114:10)
    at DBCollection.findOne (src/mongo/shell/collection.js:185:19)
    at DB.runCommand (src/mongo/shell/db.js:53:41)
    at /data/mci/shell/src/jstests/replsets/stepdown.js:126:40
    at Function.assert.soon (src/mongo/shell/assert.js:174:17)
    at /data/mci/shell/src/jstests/replsets/stepdown.js:125:8 at src/mongo/shell/collection.js:57
failed to load: /data/mci/shell/src/jstests/replsets/stepdown.js

https://mci.10gen.com/ui/task/mongodb_mongo_master_linux_64_debug_duroff_a61874a2de78a6f3b928b73c16f2b46f60ba2c57_14_07_09_17_49_07_replicasets_linux_64_debug_duroff
http://buildlogs.mongodb.org/mci_0.9_linux-64-debug-duroff/builds/57026/test/replicasets_0/stepdown.js



 Comments   
Comment by Githook User [ 11/Aug/14 ]

Author:

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

Message: SERVER-14857 prevent stepdown.js from failing when grabbing the wrong master during shutdown
Branch: master
https://github.com/mongodb/mongo/commit/2a90d1e20230800f8dc5a01ea066873354fcd938

Comment by Matt Dannenberg [ 11/Aug/14 ]

In the failure cases, the wrong member becomes primary after "reset stepped down time." I'm going to figure out the best way to ensure this either doesn't happen or does not cause problems later in the test.

Comment by Kaloian Manassiev [ 07/Aug/14 ]

Another one: http://buildlogs.mongodb.org/mci_0.9_osx-108-cxx11-debug/builds/69876/test/replicasets_0/stepdown.js

Comment by Spencer Brody (Inactive) [ 29/Jul/14 ]

It's back: https://mci.10gen.com/ui/task/mongodb_mongo_master_osx_108_cxx11_debug_d7637a71f401f2457db3caca8c8a03d9b46d1ed0_14_07_29_18_03_28_replicasets_osx_108_cxx11_debug

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