Merge Tree And Links Consistency Task
Checks that the 'losers'
and 'winner'
columns in
the ENTITIES_MERGE_TREE
column family and the 'TIL'
column
in the ENTITIES
column family are in a consistent state with the real state
of the object.
This task checks that the 'losers'
and 'winner'
columns
in the ENTITIES_MERGE_TREE
column family and the 'TIL'
column in the ENTITIES
column family are in a consistent state with the
real state of the object, based on historical records about merges and unmerges in the
ENTITIES_MERGE_TREE
column family. It fixes the found
inconsistencies if it is running in "fix"
mode.
Requests
Tenant admin role is required:
POST {ApplicationURL}/mergeTreeAndLinksConsistency
Tenant admin role is required:
POST {ApplicationURL}/api/{tenantId}/mergeTreeAndLinksConsistency
Parameter | Required | Description |
---|---|---|
tenantId
|
Yes | ID of the tenant to check. |
distributed |
No |
If set to Default value is |
taskPartsCount |
No |
Number of tasks which are created for distributed reindexing. Each task reindexes its own part of objects, and all of them may be executed on different API nodes in parallel. Recommended value: count of API nodes which can execute the tasks. Default value is Note: This parameter is used only in distributed mode
(
distributed =true ); otherwise,
it is ignored. |
fixData |
No |
The task does not fix a found inconsistency if this parameter is set
to Default value is |
Body (optional)
JSON Array of entity or relation URIs to be checked.