Bug 5689: Unhandled message is causing failure 06/37806/2
authorMilos Fabian <milfabia@cisco.com>
Tue, 19 Apr 2016 11:46:21 +0000 (13:46 +0200)
committerRobert Varga <nite@hq.sk>
Tue, 3 May 2016 08:47:26 +0000 (08:47 +0000)
commit9b6b0df9ccad25843a4b9e970fcf134028fb426e
treee4f0e00287a7462d491ff95509000a78f4a34c4a
parentedc70879b54071179c5d90349260a2e048ff5e57
Bug 5689: Unhandled message is causing failure

A write transaction is created when message is recieved,
however in case the message is not handled
(i.e. PcError Message without SRP), the transaction
is not sumbitted, which casuse a race with the next transaction.

Submitting the empty transaction of the unhandled message is
a safe way to avoid the problem.

Change-Id: Ie191eec2b9517078f39c5f065243c87b04ddc189
Signed-off-by: Milos Fabian <milfabia@cisco.com>
pcep/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/AbstractTopologySessionListener.java