Unify and manage your data

Check for Relations Duplicates Task

This task checks a tenant for relations that have the same crosswalks and/or same start/end Entity URIs.

The main cause for this inconsistency is that multiple relations with same crosswalks and/or same start/end Entity URIs are loaded simultaneously using two parallel processes. Normally, this inconsistency is fixed by the API automatically after the first request from the entities by the crosswalk that caused duplication. This task finds all relations with the same crosswalks and/or same start/end Entity URIs and merges them.

Stop and Pause are supported.

Requests

Tenant admin role is required:

POST {ApplicationURL}/relationsDuplicatesCheck

Tenant admin role is required:

POST {ApplicationURL}/api/{tenantId}/relationsDuplicatesCheck
Table 1. Parameters
Parameter Required Description
tenantId Yes ID of the tenant to check for duplicated relations.
maxResultsToStore No The task stores relationship URIs for which inconsistency has been found in its status. This parameter is needed to prevent consuming huge volume of memory when a lot of relationships with inconsistencies are found. Default value: 100.
fixInconsistency No If this parameter is set to false, the task will not fix inconsistencies found. Default is true.
fixIndices No If this parameter is set to true, the task will also recreate internal indices to help the platform avoid such duplications in future. Default is true.