Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart change detection logic for compound attribute values #643

Closed
fgalan opened this issue Nov 13, 2014 · 3 comments
Closed

Smart change detection logic for compound attribute values #643

fgalan opened this issue Nov 13, 2014 · 3 comments

Comments

@fgalan
Copy link
Member

fgalan commented Nov 13, 2014

checkAndUpdate() function includes the following comment:

// FIXME P6: in the case of compound value, it's more difficult to know if an attribute
// has really changed its value (many levels have to be traversed). Until we can develop th
// matching logic, we consider actualUpdate always true.

This issue is about solving this (some users has asked about this at SOF: http://stackoverflow.com/questions/26862953/contextbroker-vectors-update-with-unchanged-value-causes-onchange-subscription-n)

Effort: 4 man day

@fgalan
Copy link
Member Author

fgalan commented Jul 21, 2016

Recently (after implementing #1068) is is not a just a matter of attribute compound values, but also metadata compound values. The logic in equalMetadataValue() is also affected.

See this PR comment for details: https://github.com/telefonicaid/fiware-orion/pull/2377/files#r71670648

@fgalan
Copy link
Member Author

fgalan commented Nov 8, 2023

PR #4444

@fgalan
Copy link
Member Author

fgalan commented Jan 25, 2024

Orion 3.11.0 is about to be released. Thus, we are closing this issue.

@fgalan fgalan closed this as completed Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant