Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 6cc4359)
- Loading branch information
Sachin Bansal
committed
Mar 31, 2017
1 parent
d4d19f1
commit 8e01e93
Showing
6 changed files
with
402 additions
and
338 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.