[SXP-137] Race condition when retry timer is lower than connection timeout Created: 30/Jan/18  Updated: 20/Jul/18  Resolved: 20/Jul/18

Status: Resolved
Project: sxp
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Martin Dindoffer Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Retry timer works just fine unless it is below the connection timeout which is hardcoded to 15 seconds. The problem here is when the retry timer is below 15 seconds say 5 seconds. During a switch reload, ODL cannot connect and since it takes 15 seconds to give up on a connection, we end up with three or more threads trying to connect to the same switch and when the switch is back online, sometimes more than one connection “succeeds” and we end up in a state where we do not propagate bindings …



 Comments   
Comment by Martin Dindoffer [ 05/Apr/18 ]

Oxygen: https://git.opendaylight.org/gerrit/#/c/70374/

Fluorine: https://git.opendaylight.org/gerrit/#/c/69534/

Generated at Wed Feb 07 20:40:03 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.