You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Yuval Degani (Jira)" <ji...@apache.org> on 2019/09/17 20:28:00 UTC

[jira] [Created] (HADOOP-16581) ValueQueue does not trigger an async refill when number of values falls below watermark

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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org