[SERVER-18265] unify socket timeouts for new election algorithm Created: 29/Apr/15  Updated: 19/Sep/15  Resolved: 04/Sep/15

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 3.1.2
Fix Version/s: 3.1.8

Type: Task Priority: Major - P3
Reporter: Matt Dannenberg Assignee: Eric Milkie
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: RPL 9 (09/18/15)
Participants:

 Description   

For the new election algorithm, the find and getmore commands will need to use the same socket timeout as the heartbeat commands. In addition, the election commands need to use this same timeout.
Finally, we need a new config parameter to supplant "heartbeatTimeoutSecs" – in Milliseconds.



 Comments   
Comment by Githook User [ 03/Sep/15 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-18265 set proper timeout for find/getmore repl commands

This reverts commit cb0630daae67c853a76bb82a25f55c9fef54682d.
Branch: master
https://github.com/mongodb/mongo/commit/2330fcb66e777d9204351d81fff06798025277d5

Comment by Githook User [ 03/Sep/15 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: Revert "SERVER-18265 set proper timeout for find/getmore repl commands"

This reverts commit 97ad083b33caf8be68fdd08e1d95777a8ceca053.
Branch: master
https://github.com/mongodb/mongo/commit/cb0630daae67c853a76bb82a25f55c9fef54682d

Comment by Githook User [ 03/Sep/15 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-18265 set proper timeout for find/getmore repl commands
Branch: master
https://github.com/mongodb/mongo/commit/97ad083b33caf8be68fdd08e1d95777a8ceca053

Comment by Matt Dannenberg [ 26/Aug/15 ]

Should the sockets use the electionTimeoutPeriod or another yet-to-be-added timeout field in the replica set config?

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