Issue:
------
in a scaled setup when connection flaps in a short
duration, we try to stop the DB table walk in OVSDB
object destructor, but by that time we already would
have released client idl pointer, here it tries to
stop walk using NULL client idl pointer resulting
in this crash
Fix:
----
Stop DB table walk, before removing client idl reference
in EmptyTable.
Added test case to simulate
Closes-Bug: 1453064
Change-Id: I7fd0233acd8d2ce0d5ea094c396850d435149cd1
(cherry picked from commit fce762986222432d979e8d42476948e7b8020cb4)
Reviewed: https:/ /review. opencontrail. org/10217 github. org/Juniper/ contrail- controller/ commit/ 4738e98773a2174 23079f0d036374d 08674e0d2f
Committed: http://
Submitter: Zuul
Branch: R2.20
commit 4738e98773a2174 23079f0d036374d 08674e0d2f
Author: Prabhjot Singh Sethi <email address hidden>
Date: Thu May 14 03:31:47 2015 -0700
Fix TOR Agent Crash
Issue:
------
in a scaled setup when connection flaps in a short
duration, we try to stop the DB table walk in OVSDB
object destructor, but by that time we already would
have released client idl pointer, here it tries to
stop walk using NULL client idl pointer resulting
in this crash
Fix:
----
Stop DB table walk, before removing client idl reference
in EmptyTable.
Added test case to simulate
Closes-Bug: 1453064 e0d5ea094c39685 0d435149cd1 d979e8d42476948 e7b8020cb4)
Change-Id: I7fd0233acd8d2c
(cherry picked from commit fce762986222432