Unify and manage your data

Fix Incomplete Merge Task

This task checks (based on some internal data and logic) if any entities appear as losers but are not completely merged.

Such entities are fixed if the merge can be completed; otherwise, the task sends a notice about such cases.

Stop and Pause are supported.

Requests

Tenant admin role is required:

POST {ApplicationURL}/incompleteMergesCheck

Tenant admin role is required:

POST {ApplicationURL}/api/{tenantId}/incompleteMergesCheck
Table 1. Parameters
Parameter Required Description
tenantIdYes ID of the tenant to check.
distributedNo
If set to true, the task runs in distributed mode. Default value is false. For more information, see Distributed mode.
taskPartsCountNo
Specifies the maximum number of sub-tasks for distributed execution. The platform determines the optimal number based on performance limits. Default value is 2.
Note: This parameter is only applicable when distributed=true. Otherwise, it s ignored.
fixInconsistencyNo

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

Default is false.

forceNo

If set to true, all found potential incomplete merges are fixed as well.

Default is false.

Note: If you use this parameter, you must use it carefully, since it may cause unexpected results. Before running the task forcefully, you must run the task with the fixInconsistency parameter disabled, and you must manually verify all found potential incomplete merge operations.
checkSinceNoTimestamp in UNIX format. If this parameter is specified, then only entities merged after the timestamp are checked.
maxResultsToStoreNo

This parameter stores incomplete merge operations found in the format "loserId->winnerId" in its status. This parameter is needed in order to prevent consuming a huge volume of memory in the case when numerous incomplete merge operations are found.

Default value is 1000.

Body (optional)

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