Comment 13 for bug 1484784

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

Reviewed: https://review.opencontrail.org/13710
Committed: http://github.org/Juniper/contrail-controller/commit/6621afcfda3795f429161c0554d870e1ec33b664
Submitter: Zuul
Branch: master

commit 6621afcfda3795f429161c0554d870e1ec33b664
Author: Tapan Karwa <email address hidden>
Date: Wed Sep 9 09:40:35 2015 -0700

Delete state only after processing a DELETE IFMapUpdate.

There can be cases when while processing an UPDATE-IFMapUpdate dequeue event,
we find that the state is ready to be deleted. We want to wait until we have
processed the 'DELETE' IFMapUpdate event to finally delete the state.

EG: A node add, link add with that node, link delete, node delete, exporter
processes node delete before link delete i.e. dependency is still set and
exporter does not enqueue a DELETE-UPDATE-IFMapUpdate. Now, if we dequeue
UPDATE-IFMapUpdate, the state is ready to be deleted. But, we want to wait
until exporter processes the link-delete and triggers a node-change via
MaybeNotifyOnLinkDelete() to delete the state.

Change-Id: I42ebbd5a9cff824c9732c52a773b6bc9ee36dc1a
Closes-Bug: #1484784