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

Updating one of the hierarchical object's fields results in low performance #287

Open
michael-semikin opened this issue Dec 21, 2023 · 0 comments

Comments

@michael-semikin
Copy link

michael-semikin commented Dec 21, 2023

Updating one of the hierarchical object's fields results in low performance.

When we try to update an hierarchical object The Framework does not check which object's fields are exactly change and attempts to update entire object's hierarchy.

It happens in the SyncDenormolizedValuesService.Sync method which is called from DenormalizeHierarchicalDALListener.Denormalize:

var fromSyncResult = updatedDomainObjects.Select(this.GetSyncResult).ToList();

And in GetSyncResult method the object's children are beeing looked through.

Potential fix: to check if there are no hierarchical changes then there's no need to look through all the structure.

PS Ideally this must be done in v. 18.9.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant