Ensure that XmppChannel down event is invoked from XmppStateMachine task
Clients such as IFMapXmppChannel relies on serialization of events such
as VR Subscribe, Client delete etc. via XmppStateMachine task.
Currently, XmppConnection::Shutdown() code directly invoked channel down
notification breaking this assumption. Can can explain why possibly the
map was deleted (from another thread when channel itself was deleted) when
VrSubscribe was processed off XmppStateMachine task
Reviewed: https:/ /review. opencontrail. org/33435 github. com/Juniper/ contrail- controller/ commit/ 46d877b1d6e83f8 4364de4b4e72fb9 3471dd78b1
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R4.0
commit 46d877b1d6e83f8 4364de4b4e72fb9 3471dd78b1
Author: Ananth Suryanarayana <email address hidden>
Date: Wed Jul 5 19:43:00 2017 -0700
Ensure that XmppChannel down event is invoked from XmppStateMachine task
Clients such as IFMapXmppChannel relies on serialization of events such
as VR Subscribe, Client delete etc. via XmppStateMachine task.
Currently, XmppConnection: :Shutdown( ) code directly invoked channel down
notification breaking this assumption. Can can explain why possibly the
map was deleted (from another thread when channel itself was deleted) when
VrSubscribe was processed off XmppStateMachine task
Change-Id: If9524c6bf8b946 a48d181a90eebfa a76519d02b8
Closes-Bug: 1646407