Madhan Neethiraj created RANGER-724:
---------------------------------------
Summary: AuditBatchQueue: prevQueueSize not recomputed after
initial assignment - static code analyzer flagged issue
Key: RANGER-724
URL: https://issues.apache.org/jira/browse/RANGER-724
Project: Ranger
Issue Type: Bug
Components: audit
Affects Versions: 0.5.0
Reporter: Madhan Neethiraj
Assignee: Madhan Neethiraj
Priority: Minor
In org.apache.ranger.audit.queue.AuditBatchQueue.waitToComplete(long), the
local variable, prevQueueSize, used in a loop is not recomputed after the
initial assignment. This can result in the audit shutdown to retry for
configured timeout period (30 seconds?), instead of exiting sooner, when the
audit destination is down.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)