Comment 13 for bug 1453064

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/10217
Committed: http://github.org/Juniper/contrail-controller/commit/4738e98773a217423079f0d036374d08674e0d2f
Submitter: Zuul
Branch: R2.20

commit 4738e98773a217423079f0d036374d08674e0d2f
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
Change-Id: I7fd0233acd8d2ce0d5ea094c396850d435149cd1
(cherry picked from commit fce762986222432d979e8d42476948e7b8020cb4)