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/9794 github. org/Juniper/ contrail- controller/ commit/ 472be591cfa498a 1c6462434caacb0 da90cdeef6
Committed: http://
Submitter: Zuul
Branch: R2.0
commit 472be591cfa498a 1c6462434caacb0 da90cdeef6
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