Unify and manage your data

Cassandra Potential Matches Consistency Task

Information about how to compare entities and potential matches.

This task compares entities and potential matches from their respective storages and resolves inconsistencies (if found).

Note: You can Stop or Pause the task.

Requests:

Tenant admin role is required:

POST {ApplicationURL}/potentialMatchesCassandraConsistencyCheck

Tenant admin role is required:

POST {ApplicationURL}/api/{tenantId}/potentialMatchesCassandraConsistencyCheck
Table 1. Parameters
ParameterRequiredDescription
tenantId Yes ID of the tenant to compare matches and entities.
entityTypeNoThe entity type to be checked (all types will be checked if this parameter is absent).
maxResultsToStoreNoThe task stores URIs of the entities, for which inconsistency was found, in its status. This parameter is required to prevent huge consumption of memory when a large number of entities with inconsistencies are found. The default value is 100.
fixInconsistencyNoIf set to true, the task will fix inconsistencies. The default value is true.
waitForQueueStartingNoIf set to true, the task waits for queues to be empty before starting. The default value is false.
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.
uriListTypeNoDefines the type of URIs specified in the body.
updatedSinceNoIf specified, the task processes objects updated since the specified timestamp.
updatedTillNoIf specified, the task processes objects updated till the specified timestamp.
checkMatchingStrategyNoIf set to true, the task checks if the matching strategy configured for the tenant is applicable to have potential matches. The default value is true.
processPotentialMatchesCFNoIf set to true, the task compares potential matches column family also with entities. This can increase the task execution time but this parameter is not required in most cases. The default value is false.

Body

If the body is specified, the task processes the objects specified in the JSON array.

[
    "entities/Uri1",
    "entities/Uri2",
    ...
    "entities/UriN",
]