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.
Reviewed: https:/ /review. opencontrail. org/14130 github. org/Juniper/ contrail- controller/ commit/ 471dd174a2f1973 6f81664ffd953e6 8ca37adb09
Committed: http://
Submitter: Zuul
Branch: master
commit 471dd174a2f1973 6f81664ffd953e6 8ca37adb09
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: I0106c62e8bec2c bf06a25efc18564 51273d7df1f
Closes-Bug: #1501425