Abhay Kulkarni created RANGER-4129:
--------------------------------------
Summary: ArrayIndexOutOfBounds exception may be thrown while
processing events
Key: RANGER-4129
URL: https://issues.apache.org/jira/browse/RANGER-4129
Project: Ranger
Issue Type: Bug
Components: tagsync
Reporter: Abhay Kulkarni
Assignee: Abhay Kulkarni
If AtlasTagSource.buildAndUploadServiceTags() is called with empty
AtlasTagSource.atlasEntityWithTags list, then an ArrayIndexOutOfBounds
exception is thrown when AtlasTagSource.messages list is read. This may happen
when the first notification processed by tagsync process is of type
ENTITY_DELETE.
This Jira also fixes a potential issue if the Kafka queue contains only a large
number of notifications not expected to be handled by tagsync. In such cases,
tagsync will not acknowledge receipt and it may cause back-pressure on Kafka
queue.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)