Merge tree crosswalks consistency task
Learn how to check inconsistencies between crosswalk entities and crosswalks in the crosswalk tree.
If a crosswalk isn’t found in the crosswalk tree, use the Tasks to fix this inconsistency in the ENTITIES_MERGE_TREE column.
POST {ApplicationURL}/api/{{tenantId}}/mergeTreeCrosswalksConsistency?fixData=true
Request
POST {ApplicationURL}/api/{tenantId}/mergeTreeCrosswalksConsistency
The request body, if provided, must contain a JSON array of the entity or relation URIs that must be checked.
POST {ApplicationURL}/api/{{tenantId}}/mergeTreeCrosswalksConsistency?fixData=false
[
"entities/00XGkDo",
"entities/00XGbhI"
]
Parameter | Required | Description |
---|---|---|
tenantId | Yes | ID of the tenant to check. |
distributed | No | If set to true , the task runs in distributed mode. For more information, see topic Distributed Mode. The default value is false . |
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: the count of API nodes for executing the tasks. Default value is Note: This parameter is used only in distributed mode ( distributed =true ); otherwise, it’s ignored. |
fixData | No |
The inconsistencies are fixed when the parameter is set to true .
|
checkPhantoms | No | The mode to check whether phantoms are repeated in losers. By default, this is set to False .For more information, see topic Export Merge Tree. |
produceEvents | No | The option to determine if task must generate events when entity is fixed. If it is set to true , events are generated. By default, this is set to true . |
bufferSize | No | The size of the buffer for the entity list provider. By default, this size is 150. |
maxResultsToStore | No | The maximum buffer size allowed to store founded corrupted entities. |
Response
[
{
"id": "b9455375-6c73-42a8-8a29-b1513a2ff1e4",
"groupId": "4bf8b737-9caa-414e-892c-c7e1e9653218",
"createdTime": 1662461700217,
"createdBy": "john.doe@reltio.com",
"updatedTime": 1662461700217,
"updatedBy": "john.doe@reltio.com",
"type": "com.reltio.businesslogic.tasks.consistency.MergeTreeCrosswalksConsistencyTask",
"status": "SCHEDULED",
"name": "MergeTree And Crosswalks Consistency for tenant companyabc",
"createdOnHost": "DESKTOP-STQO7H1",
"parallelExecution": false,
"nodesGroup": "default",
"parameters": {
"tenantId": "companyabc",
"uriList": "[\r\n \"entities/00XGkDo\",\r\n \"entities/00XGbhI\"\r\n]",
"doNotFix": "true"
},
"currentState": {},
"duration": "0s"
}
]