[SERVER-15866] Investigate behavioural change between 2.6 and 2.8 in stepDown Created: 29/Oct/14  Updated: 09/Jul/16  Resolved: 30/Oct/14

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

Type: Bug Priority: Major - P3
Reporter: Davide Italiano Assignee: Matt Dannenberg
Resolution: Done Votes: 0
Labels: 28qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File repl_logs.tar    
Issue Links:
Related
Operating System: ALL
Participants:

 Description   

Not sure if it's a bug. I'm labeling as that for the time being.
Run stepDown.py from here: https://github.com/dcci/mongo-replication-perf
The test completes on 2.6, but not on 2.8.

$ python stepDown.py --cfg spawn-examples/example-3nodes.json                                                                                                                                                                           
localhost:30003 0.943552017212
command SON([('replSetStepDown', 30)]) failed: No electable secondaries caught up as of 2014-10-29T20:39:39.348+0000
{u'hosts': [u'localhost:30001', u'localhost:30002', u'localhost:30003'],
 u'ismaster': True,
 u'localTime': datetime.datetime(2014, 10, 29, 20, 39, 39, 348000),
 u'maxBsonObjectSize': 16777216,
 u'maxMessageSizeBytes': 48000000,
 u'maxWireVersion': 3,
 u'maxWriteBatchSize': 1000,
 u'me': u'localhost:30003',
 u'minWireVersion': 0,
 u'ok': 1.0,
 u'primary': u'localhost:30003',
 u'rbid': 1124988512,
 u'secondary': False,
 u'setName': u'rs0',
 u'setVersion': 1}

mongod logs attached.



 Comments   
Comment by Matt Dannenberg [ 30/Oct/14 ]

Simply a race between sleeping 30 seconds in the test file and the 30 second vote lease time (with the additional propagation delay of this information from the secondary to the primary via heartbeat)

Comment by Spencer Brody (Inactive) [ 30/Oct/14 ]

I suspect this is due to SERVER-15877

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