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/9712 github. org/Juniper/ contrail- controller/ commit/ 93e1e4ee14fe1b9 058791bcd5c262d b20e536e6d
Committed: http://
Submitter: Zuul
Branch: R2.20
commit 93e1e4ee14fe1b9 058791bcd5c262d b20e536e6d
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