Issue:
------
Stale entry timer triggered delete on a deleted entry
causing invalid state machine event, ideally when an
Add/Change/Delete event happens it should have removed
entry from the stale entry tree. however along with
last change for sync DB request from a workqueue this
removal of entry from the stale entry tree got moved to
workqueue context causing issue.
Fix:
----
Move Stopping of stale entry timer to Add/Change/Delete
request context instead of workqueue context
Change-Id: I820c25d0462e2459aa7f0d6a84aee5626e8da4f2
Closes-Bug: 1518899
(cherry picked from commit cd6bbe51d96d0ca31f48984a20946fb866004527)
(cherry picked from commit bb2c1200ef01ce92bc8e2377b0875ee1d3698b5b)
Reviewed: https:/ /review. opencontrail. org/15359 github. org/Juniper/ contrail- controller/ commit/ cf701031e11fe69 e422af108770733 84ca9e0b22
Committed: http://
Submitter: Zuul
Branch: R2.21.x
commit cf701031e11fe69 e422af108770733 84ca9e0b22
Author: Prabhjot Singh Sethi <email address hidden>
Date: Mon Nov 23 22:18:15 2015 +0530
fix ToR-agent crash for stale timer cb
Issue:
------
Stale entry timer triggered delete on a deleted entry
causing invalid state machine event, ideally when an
Add/Change/Delete event happens it should have removed
entry from the stale entry tree. however along with
last change for sync DB request from a workqueue this
removal of entry from the stale entry tree got moved to
workqueue context causing issue.
Fix:
----
Move Stopping of stale entry timer to Add/Change/Delete
request context instead of workqueue context
Change-Id: I820c25d0462e24 59aa7f0d6a84aee 5626e8da4f2 31f48984a20946f b866004527) 2bc8e2377b0875e e1d3698b5b)
Closes-Bug: 1518899
(cherry picked from commit cd6bbe51d96d0ca
(cherry picked from commit bb2c1200ef01ce9