Comment 5 for bug 1501425

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

Reviewed: https://review.opencontrail.org/14130
Committed: http://github.org/Juniper/contrail-controller/commit/471dd174a2f19736f81664ffd953e68ca37adb09
Submitter: Zuul
Branch: master

commit 471dd174a2f19736f81664ffd953e68ca37adb09
Author: Tapan Karwa <email address hidden>
Date: Wed Sep 30 09:54:03 2015 -0700

Fix end of rib logic in channel to handle all message types.

Currently, to determine that we have received all data, we were depending the
message type 'SearchResult'.

But, there can be cases, where the first batch of data is received in an
'UpdateResult' i.e. when the connection to the ifmap-server goes up,
ifmap-server does not have any data to begin with. Then, later when config is
added, the data will come in as an 'UpdateResult'. The code is processing the
EOR logic only for SearchResults which is incorrect. Fixing that.

Change-Id: I0106c62e8bec2cbf06a25efc1856451273d7df1f
Closes-Bug: #1501425