Update XmppConnection data structure correctly after GR swap
Bug #1731834 reported by
Ananth Suryanarayana
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.2 |
Fix Committed
|
Critical
|
Ananth Suryanarayana | |||
R4.0 |
Fix Committed
|
Critical
|
Ananth Suryanarayana | |||
R4.1 |
Fix Committed
|
Critical
|
Ananth Suryanarayana | |||
Trunk |
Fix Committed
|
Critical
|
Ananth Suryanarayana |
Bug Description
This issue was found by Venu Kolli during system testing for XMPP GR/LLGR.
During XMPP GR, Old and Newly formed XmppConnection objects are swapped in order to retain some critical data structures as is. There are two issues here.
1. During the swap, all related members to the new session must also be swapped, such as endpoints, proto_stats, etc. endpoint is also the key inside XmppServer:
2. In the state machine, after connections are swapped, update connection must be used for further processing, such as to trigger keep-alive timer
tags: | added: blocker |
To post a comment you must log in.
Review in progress for https:/ /review. opencontrail. org/37449
Submitter: Ananth Suryanarayana (<email address hidden>)