[SERVER-28186] Increase slaveDelay in repl10.js test Created: 03/Mar/17  Updated: 06/Dec/17  Resolved: 04/May/17

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.4.6, 3.5.7

Type: Task Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4
Sprint: Repl 2017-05-08
Participants:
Linked BF Score: 0

 Description   

repl10.js does a write to a master then expects a slaveDelayed slave to not see the write. This is fundamentally racy, and we've had a build failure where the test took too long and the slave did in fact replicate the write before the check that it didn't have it. It's probably sufficient to just increase the slavedelay on the slave from 10 seconds to 30 and call it a day.



 Comments   
Comment by Githook User [ 16/Jun/17 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-28186 Increase slaveDelay in repl10.js test

(cherry picked from commit 4171efb989ba2b7d5d1d1d77a76840a7a155d571)
Branch: v3.4
https://github.com/mongodb/mongo/commit/95d108fe848d3dbea4ca020739430e0672a4dedd

Comment by Githook User [ 04/May/17 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-28186 Increase slaveDelay in repl10.js test
Branch: master
https://github.com/mongodb/mongo/commit/4171efb989ba2b7d5d1d1d77a76840a7a155d571

Generated at Thu Feb 08 04:17:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.