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).
Requests:
Tenant admin role is required:
POST {ApplicationURL}/potentialMatchesCassandraConsistencyCheck
Tenant admin role is required:
POST {ApplicationURL}/api/{tenantId}/potentialMatchesCassandraConsistencyCheck
Parameter | Required | Description |
---|---|---|
tenantId
| Yes | ID of the tenant to compare matches and entities. |
entityType | No | The entity type to be checked (all types will be checked if this parameter is absent). |
maxResultsToStore | No | The 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 . |
fixInconsistency | No | If set to true , the task will fix inconsistencies. The default value is true . |
waitForQueueStarting | No | If set to true , the task waits for queues to be empty before starting. The default value is false . |
distributed | No |
If set to
true , the task runs in distributed mode. Default value is false . For more information, see Distributed mode. |
taskPartsCount | No |
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. |
uriListType | No | Defines the type of URIs specified in the body. |
updatedSince | No | If specified, the task processes objects updated since the specified timestamp. |
updatedTill | No | If specified, the task processes objects updated till the specified timestamp. |
checkMatchingStrategy | No | If 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 . |
processPotentialMatchesCF | No | If 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",
]