Comment 7 for bug 1674514

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

Reviewed: https://review.opencontrail.org/29898
Committed: http://github.org/Juniper/contrail-controller/commit/6cc4359925a6f062afb31626a0dd5996698ae626
Submitter: Zuul (<email address hidden>)
Branch: master

commit 6cc4359925a6f062afb31626a0dd5996698ae626
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