BUG-3664: make sure the transaction is committed 42/22642/1
authorRobert Varga <rovarga@cisco.com>
Mon, 15 Jun 2015 20:54:22 +0000 (22:54 +0200)
committerRobert Varga <rovarga@cisco.com>
Mon, 15 Jun 2015 20:56:25 +0000 (22:56 +0200)
commit410d7ba6265f74c8180bf63ede523c30093e20e9
treed9de03dfcd0dc1b2afceeff9d9248624ecf11984
parent3da94e4afb02af8a708d9d9188a41ee3528ff43b
BUG-3664: make sure the transaction is committed

Even in face of error, do not leave a transaction hanging, but rather
commit it with an error-level message logged beforehand.

Change-Id: I211caa7cae954d76e9a47021afcb466f8e7e6004
Signed-off-by: Robert Varga <rovarga@cisco.com>
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/LocRibWriter.java