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/9793 github. org/Juniper/ contrail- controller/ commit/ 444010ea3c3183a f00f9726795a446 481949c5c2
Committed: http://
Submitter: Zuul
Branch: R2.1
commit 444010ea3c3183a f00f9726795a446 481949c5c2
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