Comment 22 for bug 1670908

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

Reviewed: https://review.opencontrail.org/30773
Committed: http://github.com/Juniper/contrail-controller/commit/c9fe6840dbd6eb53cf129ae550dc8bed8b985ce2
Submitter: Zuul (<email address hidden>)
Branch: R3.0

commit c9fe6840dbd6eb53cf129ae550dc8bed8b985ce2
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.
Closes-Bug:#1670908
(cherry picked from commit 409b4f989c2b59e7a4162317102eebd49695b06d)
Change-Id: I51dfedacdac75fdf5b271cdcaaafb7d4ddfd9bfc
(cherry picked from commit 4faef232f90b3230c4b24b3c1d8877896347b91a)
(cherry picked from commit 778d457130c73101842178fbf51022d3faa3b1d6)