Xmpp client state machine needs better back off logic
Bug #1488636 reported by
Nischal Sheth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.0 |
Fix Committed
|
Wishlist
|
Nischal Sheth | |||
R2.20 |
Fix Released
|
Wishlist
|
Nischal Sheth | |||
Trunk |
Fix Committed
|
Wishlist
|
Nischal Sheth |
Bug Description
The xmpp client state machine has back off logic to increase the connect
timer if the connection attempt fails. However it doesn't handle the case
where the server closes the connection after establishment very well. The
number of attempts is reset to 0 as soon as the xmpp state machine goes
to established state. As a result, the client keeps connecting to server
very aggressively if the server closes the connection after established
state has been reached.
Fix is to reset the counter after a few keepalives have been received.
description: | updated |
To post a comment you must log in.
Review in progress for https:/ /review. opencontrail. org/13367
Submitter: Nischal Sheth (<email address hidden>)