Comment 10 for bug 1674514

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

Reviewed: https://review.opencontrail.org/30031
Committed: http://github.org/Juniper/contrail-controller/commit/8e01e933769118d51c0b256b707c48d42831beb6
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 8e01e933769118d51c0b256b707c48d42831beb6
Author: Sachin Bansal <email address hidden>
Date: Wed Mar 22 16:58:57 2017 -0700

Add support for diff calculation in dependency tracker

It is possible that processing an object can take a long time in schema
transformer. During this time, many updates to the same objects could
be received from rabbitmq. All those changes would be processed with the
one update only. We should have a way to ignore the updates where no
change is detected.

With this change, we are adding support for specifying ref/prop fields
for each object type and on update, we compare these fields from
previously cached values. If no change is detected, we terminate the
dependency tracker process.

Closes-Bug: 1674514

Change-Id: I0b1244e5473ded2f085874f2f6bcdade74a5fe63
(cherry picked from commit 6cc4359925a6f062afb31626a0dd5996698ae626)