Accelerate the Value of Data

Relations Start End Objects Consistency Check Task

This task checks if any relations in the tenant are pointing to improper objects or have crosswalks which have incorrect associations with the start/end object contributors.

This task checks (based on some internal data and logic) if any relations in the tenant are pointing to improper objects or have crosswalks which have incorrect associations with the start/end object contributors. If all crosswalks in the relation are pointing to an invalid start/end object, then the relation is re-pointed. If only part of the crosswalks are pointing to invalid objects, then the relation is splitted, and the needed crosswalks are moved to the correct relation (existing or new).

Stop and Pause are supported.

Requests

Admin role is required:

POST {ApplicationURL}/relationsStartEndObjectsConsistencyCheck

Tenant admin role is required:

POST {ApplicationURL}/api/{tenantId}/relationsStartEndObjectsConsistencyCheck
Table 1. Parameters
Parameter Required Description
tenantId Yes ID of the tenant to check.
distributed No

If set to true, the task runs in distributed mode (see details in Distributed Mode).

Default is false.

taskPartsCount No

Number of tasks which are created for distributed mode. Each task processes its own part of objects. All of the objects may be executed on different API nodes in parallel.

Recommended value: count of API nodes which can execute the tasks.

Default: 2.

Note: This parameter is used only in distributed mode (distributed=true); otherwise, it is ignored.
fixInconsistency No

The task does not fix a found inconsistency if this parameter is set to false.

Default is false.

fixStartEndObjectCrosswalks No

Fix inconsistencies in start/end object crosswalks.

Default is false.

maxObjectsToStore No

This parameter stores a limited number of found relation corruptions.

Default is 100.

Body (optional)

JSON Array of entity and/or relation URIs to be checked.