Comment 9 for bug 1580733

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

Reviewed: https://review.opencontrail.org/20618
Committed: http://github.org/Juniper/contrail-controller/commit/66924c3cb215f834e21fcae1e2d95da4cf0bcd4b
Submitter: Zuul
Branch: master

commit 66924c3cb215f834e21fcae1e2d95da4cf0bcd4b
Author: Naveen N <email address hidden>
Date: Sat May 14 14:44:23 2016 +0530

* Remove flow mgmt tree lookup in DB context

VRF delete notification happens in DB context,
DB and flow mgmt runs in parallel.
When VRF is deleted flow mgmt tree was lookup
to check if there are any pending flows, since
DB and flow mgmt run in parallel entries can be getting
deleted resulting deleted memory access.
Remove flow mgmt tree access, just enqueue a request
to delete VRF, which inturn verifies if all the flows
are deleted or not.
Closes-bug:#1580733

Change-Id: I976185e0a7a77d9713b284abfdebe70c8b1579bd