Umesh Padashetty created ATLAS-4567:
---------------------------------------
Summary: atlas/api/atlas/admin/tasks API returns partial data
intermittently
Key: ATLAS-4567
URL: https://issues.apache.org/jira/browse/ATLAS-4567
Project: Atlas
Issue Type: Bug
Components: atlas-core
Affects Versions: 2.2.0
Reporter: Umesh Padashetty
Generally, call to atlas/api/atlas/admin/tasks returns something like below
when there are some pending tasks. When there are no pending tasks, it returns
[]
{code:java}
[
{
"type": "CLASSIFICATION_PROPAGATION_ADD",
"guid": "154050a4-f593-4c11-8a94-111d8c6d5947",
"createdBy": "hrt_qa",
"createdTime": 1646830384858,
"updatedTime": 1646830384858,
"parameters": {
"relationshipGuid": null,
"entityGuid": "19b0ef2a-d645-4c29-ac67-37b9697bac96",
"classificationVertexId": "163905752"
},
"attemptCount": 0,
"status": "PENDING"
}
] {code}
But observed that in one of the case, atlas responded with just below
{code:java}
[
{
"attemptCount": 0
}
] {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)