This fix ensures all redis DB is flushed before any GetSeq calls are sent by the generators. This is needed because we can have the following sequence in the collector that can lead to a crash viz., generator issues GetSeq, collector to redis connection post process call resulting in Flush of database, DeleteUVE request from the generator due to disconnect session. The above sequence tries to delete a UVE thats not there in Redis. This fix prevents such a case from happening.
Closes-Bug:#1670908
Change-Id: I51dfedacdac75fdf5b271cdcaaafb7d4ddfd9bfc
Reviewed: https:/ /review. opencontrail. org/29562 github. org/Juniper/ contrail- controller/ commit/ 409b4f989c2b59e 7a4162317102eeb d49695b06d
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: master
commit 409b4f989c2b59e 7a4162317102eeb d49695b06d
Author: arvindvis <email address hidden>
Date: Mon Mar 13 11:34:32 2017 -0700
This fix ensures all redis DB is flushed before any GetSeq calls are sent by the generators. This is needed because we can have the following sequence in the collector that can lead to a crash viz., generator issues GetSeq, collector to redis connection post process call resulting in Flush of database, DeleteUVE request from the generator due to disconnect session. The above sequence tries to delete a UVE thats not there in Redis. This fix prevents such a case from happening. df5b271cdcaaafb 7d4ddfd9bfc
Closes-Bug:#1670908
Change-Id: I51dfedacdac75f