Fix for assert in IFMapExporter::StateUpdateOnDequeue
The following sequences causes the problem. Fixing it:
The sequence is:
1. Exporter gets an add or change. Exporter processes it and adds it to the
queue as an 'update'.
2. The queue 'update' has not been processed yet and exporter gets a delete for
the node.
3. The queue 'update' (not 'delete') is processed leading to the assert being
true.
Reviewed: https:/ /review. opencontrail. org/9711 github. org/Juniper/ contrail- controller/ commit/ 3753c17235dd203 bddcda7077e6bfb c780318e6e
Committed: http://
Submitter: Zuul
Branch: master
commit 3753c17235dd203 bddcda7077e6bfb c780318e6e
Author: Tapan Karwa <email address hidden>
Date: Wed Apr 29 16:13:59 2015 -0700
Fix for assert in IFMapExporter: :StateUpdateOnD equeue
The following sequences causes the problem. Fixing it:
The sequence is:
1. Exporter gets an add or change. Exporter processes it and adds it to the
queue as an 'update'.
2. The queue 'update' has not been processed yet and exporter gets a delete for
the node.
3. The queue 'update' (not 'delete') is processed leading to the assert being
true.
Change-Id: I38b6d1dbedaaaf e8d631276d5c97b 1485e6a2f42
Closes-Bug: 1430091