Yuval Degani created HADOOP-16581:
-------------------------------------

             Summary: ValueQueue does not trigger an async refill when number 
of values falls below watermark
                 Key: HADOOP-16581
                 URL: https://issues.apache.org/jira/browse/HADOOP-16581
             Project: Hadoop Common
          Issue Type: Bug
          Components: common, kms
    Affects Versions: 3.2.0, 2.7.4
            Reporter: Yuval Degani
            Assignee: Yuval Degani
             Fix For: 3.2.1


The ValueQueue facility was designed to cache EDEKs for KMS KeyProviders so 
that EDEKs could be served quickly, while the cache is replenished in a 
background thread.

The existing code for triggering an asynchronous refill is only triggered when 
a key queue becomes empty, rather than when it falls below the configured 
watermark.

This is a relatively minor fix in the main code, however, most of the tests 
require some changes as they verify the previous unintended behavior.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to