Skip to content

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

@michael-semikin

Description

@michael-semikin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions