Comment 28 for bug 1730363

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

Reviewed: https://review.opencontrail.org/37373
Committed: http://github.com/Juniper/contrail-controller/commit/d85db5c2ccb6dd5d83a5fd8ad638659e5dc50a8a
Submitter: Zuul (<email address hidden>)
Branch: master

commit d85db5c2ccb6dd5d83a5fd8ad638659e5dc50a8a
Author: zcui <email address hidden>
Date: Thu Nov 9 15:59:51 2017 -0800

User configured Route target not seen in control-node

Root cause:
When we add a reference(uuid1), delete it and add same FQ name reference(uuid2) again.
We do not remove first reference from cache. In cache, the key is related to UUID. So
the above operation result is two items which has same FQ name exist in cache, because
the first one refreshed is false, in fact, we will send two message to ifmap:
Add “to FQ name, uuid uuid1” reference
Deleted “to FQ name, uuid uuid2” reference
From configure management client to ifmap we only use “to FQ name”, Add/Delete pair
is considered as same one.

Change-Id: I796499ad92b9748d40003a107da078c1aea794f0
Closes-bug: 1730363