Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-724

AuditBatchQueue: prevQueueSize not recomputed after initial assignment - static code analyzer flagged issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.5.0
    • 0.6.0
    • audit
    • None

    Description

      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.

      Attachments

        Activity

          People

            madhan Madhan Neethiraj
            madhan Madhan Neethiraj
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: